trade opened 30.3.2018, 16:15, closed 1.4.2018 21:00 duration 2d 4h
you are using EURUSD UTC0 data, so the last candle of day, or friday will be at 20:59, so your settings to close friday 22:00 is nonsense, in UTC0 data, there is no candle after 20:59, so the close will appear on the first othe candle, which will be sunday candle at 21:00...because of that the duration is longer :)
ALWAYS GENERATE ON DATA CLONED TO A BROKER TIME
Status changed from New to Fixed
Hankeys is right. If you set up some time to close and there is a gap at the end of a day, the strategy closes at the next bar. The trade can't be closed inside a gap, because it would behave differently than in a real trading. Our goal is 100% matching behaviour between backtest and real trading.
We will think about adding some warning into UI when setting EOD time outside daily range of the selected data.
Best regards,
Tomas
Hello,
I think that's a problem with your data quality.
If your backtest is missing a candle because the data quality is bad, your strategy can't stop the trade until the next candle appears.
You use Dukascopy data, right?
This is unfortunately a typical problem with the data quality of Dukascopy...