Download MetaTrader 5

What could be the problom while backtesting?

To add comments, please log in or register
Thousands of developers have already published their products in the Market. Join them!
Sherif Hasan
7289
Sherif Hasan 2015.01.11 06:29 
I tried backtesting from jan,02 2015 to jan,05 2015 using tick chart.

ea place order on 2nd jan.

but when i backtest from dec,31 2014 to jan,05 2015 ea does not place order on 2nd jan 2015.

Note: Jan 31st Market closed at 20:00 and 02nd market started at 09:00, its server time.

Please note the problom, what could be the issue?

Here is the screenshot:


Backtest from 2nd jan 2015 to 5th jan 2015

Backtest from 31st dec 2014 to 5th jan 2015:


whroeder1
14470
whroeder1 2015.01.11 13:54  
sheriffonline: Please note the problom, what could be the issue?
Your code is broken
Sherif Hasan
7289
Sherif Hasan 2015.01.11 14:12  
WHRoeder:
sheriffonline: Please note the problom, what could be the issue?
Your code is broken

Broken code?

when i compile i don't get get compile errors/warnings.

actually which was run all time while i was use model as "control points", once i downloaded minute chart and used tick chart which is not placing order on 2nd jan. as i said above.

And next order on 6th placing order as usual.

whroeder1
14470
whroeder1 2015.01.12 13:57  
sheriffonline: Broken code?

when i compile i don't get get compile errors/warnings.

actually which was run all time while i was use model as "control points", once i downloaded minute chart and used tick chart which is not placing order on 2nd jan. as i said above.

  1. The following code doesn't trade but "when i compile i don't get get compile errors/warnings." Can you see what is wrong?
    void OnStart(){
       return;
       int ticket = OrderSend(...);
    }
  2. Do you really expect an answer when you don't post the broken code? There are no mind readers here.
To add comments, please log in or register