Download MetaTrader 5

OnTester Forward Test

To add comments, please log in or register
Henrique Vilela
1481
Henrique Vilela  

Hi, 

There's a way to identify if the OnTester call is for a regular or a forward test?

It's called twice per test when the forward test is used, one of each time period. I just would like to identify which one it is. 

Thank you in advice. 

Stanislav Korotky
21504
Stanislav Korotky  
I did this by storing first operation datetime in every run - this is balance deposit. All backtest runs have the same A datetime, and all forward runs have the same B datetime. B > A.
To add comments, please log in or register