Please help - "Market closed" in Strategy Tester - page 2

 
Thanks for your advice, Fernando. I will do so.
 
Fernando Carreiro #:

Just, create a Custom Symbol based on the underlying original symbol and remove the session time gaps and run the strategy tester against the custom symbol. Then you will not have any problem with the "Market Closed" situation!

Hello,


did that and still get the error!

Files:
 


the easiest way to test

bool sesion()

              {
              if(Hour>23 && Minute>=15 && Hour>23 &&  Minute<=30 )
              return false;
              return true;
              }
 

Ran today into this issue.

Sorry, but this is insane! How can someone design a backtesting framework, which uses historical data but enables traidng outside of the data samples??

****Why should I mess around with the symbol and the session settings in my terminal? If I give away my EA to other people, it wont work for them because the have to click 200x time in the deep of MT.


And even worse: I already execute orders ONLY onTick. Thus the backtest must not give ticks outside of trading sessions, where no data is available.

Sorry, I use MT alot but there are soo many crazy quality problems. :(

Reason: