Night Fishing is a fully automated multicurrency EA designed for trading through asian session. The EA provides daily autooptimization in preset range before start to trade. It trades by a single order inside price channel. Left trades are closed in the morning at predefined time independent from profit value and price location inside the channel.
StartHour - start hour of trading by terminal's time
EndHour - end hour of trading by terminal's time
AnywayClosingHour - hour of compulsory closing of trades by terminal's time
GMT - the offset of terminal's time in relation to Greenwich
DaylightSaving - to take daylight saving into account
Settings of auto-optimization
AutoOptimizationPeriod - length of history for optimization, in bars
Optimization_StartHour - start hour of optimization by terminal's time
OptimizationSpread - value of spread used for optimization
Len_Start - minimal length of price channel
Len_Step - step used to change length of price channel
Len_End - maximal length of price channel
Deviation_Start - minimal width of price channel
Deviation_Step - step used to change width of price channel
Deviation_End - maximal width of price channel
Settings of filtering by S&P500
SP500_Name - the name of S&P500 symbol in your terminal
Use_SP500_Filter - to use filtering by S&P500
AnalyzedHours - the number of hours to measure the drawdown
Max_SP500_DD - maximal admissible drawdown of the index within the time mentioned above
Max_SP500_Fall - maximal admissible fall of the index taking recovery into account
Please keep S&P500 H1 chart opened to update its history and to use the filter correctly.Important notes Please don't forget to set GMT and DaylightSaving in accord with your terminal's time and your broker's policy about daylight saving.
Don't use DaylightSaving when testing using tick data from Dukascopy.
Turn on DaylightSaving when testing using data from MetaQuotes.
It is preferable to provide autooptimization shortly before start to trade. Remember that wide range of channel's parameters in company with small step could significantly decelerate the optimization.
You can use the same magic number for all pairs.