Strategy-Tester: Get Use-Date from EA Code

Back to topics list To post a new topic, please log in or register
avatar
47
Simha 2016.06.13 16:33
 

Hello,

 

Is there a way to retrieve the date-period over which EA is back-tested, from EA's code, at runtime? 

I'm referring to Strategy-Tester's Use-Date fields (From, To).

  

Thanks .

avatar
2017
gooly 2016.06.13 18:37 #
 

like (not tested):

datetime beg=0,end=0;
...
if (beg==0) beg = TimeCurrent(); else end = TimeCurrent();
...
Back to topics list  

To add comments, please log in or register