how to backtest timebased EA - page 2

diostar:
Some fridays are not 23:59 market close. Some earlier by an hour. Also there are holidays.
Yes, if the OP has data for his backtest that is on GMT or CET and live trades with a Broker on USA EST then it could explain the differences he is seeing.
yep - any other day 4, 3, 2 is working ... using history data from dukascopy ...
Dukascopy is GMT, trading ends at 21:00 . . I think

If you only Backtest with Dukascopy data you could do something like this . .

if(IsTesting()) EntryHour=20 else EntryHour=23;
thank you :-)