My backtest EA stops due to "Market closed" message in the Journal tab
-
Hello everyone,
I have two questions for you to consider.
FIRST ONE:
I did my first EA using Fxdreema to use in the ICMarkets demo account MT5 (demo) and it's not the first time that the same message appear in the Journal tab. Please see pic below:

I am trying to do a two years backtest, It starts out really well and suddenly stops just few days later:

The EA has these two filters:


I'm not a programmer but I think the EA needs to work "asynchro" mode to avoid that message but I don't know how to do it with Fxdreema.
Any suggestion on that problem?
SECOND ONE:
As you can see in the following pic I have the StartHour and EndHour box ticked to change later if needed to backtest but It's impossible to do any optimization into the parameters "Start", "Step" and "Stop".


Have I done something wrong?
Thank you very much for your help.
Saludos! y Felices fiestas!
Alejandro -
@Airdreema The way around this is to do a time filter for trading days and trading hours. On the ICMarkets website they have the trading times for the different markets. You might have the trade times right or within the right times but you still have to add the days filter as well.
-
@airdreema Saludos Alejandro. Y felices fiestas para ti también. No soy programador, pero hasta donde yo sé, no es posible optimizar las horas de inicio y final de un período. Las horas y los minitus no son valores contabilizables, sino que son ciclos de 24 horas. Creo que eso no es posible.
En cuanto al primer problema, diría que los datos que usas para el backtest son de mala calidad y por eso obtienes ese mensaje de error. ¿Qué calidad de backtest obtienes? Si no es de como mínimo el 99%, ya te garantizo que el problema debe estar ahí.
Espero haber sido de ayuda.
-
@johann-0 Thank you very much for your comment. I will find out the ICMarkets hours in their website to see if they are different.
-
@l-andorrà Gracias por contestar. Has sido muy amable. Es una pena que no se puedan optimizar el horario de operación. Con otro software que tengo "Forex EA Generator" sí te permite hacer optimización de horarios y es una gran ventaja para ciertos pares. Qué raro que este FxDreema no lo tenga porque es muy superior en calidad de software al Forex EA Generator. También es verdad que las optimizaciones las he hecho solo en la MT4 y los datos son los de Dukascopy con el Tickstory. Probaré bajarme los datos de Tickstory a la MT5 de ICMarkets pero no es tan evidente y sencillo como lo ha sido con la MT4. Lo averiguaré. Ya sé que el tema de la calidad del backtest tiene que ser del 100% y es verdad que cuando lo lancé en la MT5 tenía la barra roja, lo cual indica que eran de mala calidad. El tema de bajar los datos a la MT5 desde el Tickstory debo resolverlo y así podré tener el 100% de calidad y volveré a hacer el backtest a ver si sale lo mismo. Como voy como loco sin tiempo por el trabajo, he de encontrar un rato... en fin. Muchas gracias, has sido muy amable.
Cuídate!!
Alejandro -
@airdreema Ha sido un placer, Alejandro. Vuelve al foro cuando lo necesites.
