Strategy testing error
-
Why am I getting this error?
2024.04.15 08:11:24.267 Core 1 2022.09.26 00:00:00 failed market buy 0.1 USDJPY, close #120 sell 0.1 USDJPY 140.780 [Market closed]
2024.04.15 08:11:24.267 Core 1 2022.09.26 00:00:00 Closing position/trade error: Market is closed (10018)
What can I do?
The error also occurs if I use the history from Dukascopy -
add a time filter just above your buy\sell block and set it to your broker session time. also place that time filter above any close position blocks. see if that helps.