Market closed
-
Hi all
I'm struggling with my EA at this moment.
I tried everything in my knowledge but I can't find the solution. Maybe someone here can help?I am currently backtesting with a Demo account at Blueberry Markets.
For some reason, when I test a pair, I sometimes get the message <Error Market closed> (Code 10018)
When I check the pair I am backtesting AUDCHF, it show this (00:04 - 23:58)

I am testing with the <1 minute OHLC> Modeling.
The <Open prices only> modeling gives me 0 results... .I can't understand the logic behind this problem.
Can someone give me any ideas?
Thanks ahead!
-
try using different symbols
-
@Sigidil ..............I sometimes get the message <Error Market closed> (Code 10018)

When I check the pair I am backtesting AUDCHF, it show this (00:04 - 23:58)

It means that you are sending orders to the broker outside business hours (the market is closed). You need to put a day filter (Monday to Friday) and a time filter (from 00:04 to 23:58) just above the buy/sell blocks.
-
@ambrogio
Thank you for your reply and help.
I managed to put in the time filter as you said and it works succesfully.Still I don't understand 1 thing.
Now that my timefilter is in, I can only backtest with the <Every tick> method.
I still can't backtest with <Open Proces Only> because of the time filters I think?Any have an idea to make this work?
Thanks!
-
How is it possible to use <Open Prices Only> when all Demo accounts from different brokers not allowing you to trade when a candle opens.
Even with the time filter it won't work.
Here is my link, if anyone know the solution
https://fxdreema.com/shared/t7OwUFX0bThanks alot for replying guys!
-
You can remove that 'once per tick' block. It is completely unnecessary as your blocks are in the 'on tick' tab.