DislikedSkyline,
Please explain the CheckTrend functionality in case of
SundayCandleExists = true (default).
For example todays cable open order must be sell, but in fact
EA opens buy order...
Seems if SundayCandleExists = false it will work according to TK strategy.
Thanks alot for your efforts to share with us your EA
VitalykkIgnored
So setting that variable to true , we tell to EA that our broker get the Sunday candle so in order to determine the Monday's trend we tell EA to go back 2 days to check Friday instead to consider the Sunday one.
If set to false the EA will check backward only to the previous day that is still Friday (since Sunday isn't there).
In both case the trend for Monday will be establish looking at Friday candle.
Hope this make sense