How to detect if currently backtesting or not? New comment cyberglassed 2014.05.06 23:39 Hello, some days ago, I saw a function in mql5 that let me know if the scriptis running under the Strategy Tester but now I can't find it.could you remember it to me?Thanks, Cyberglassed. Running under Strategy Tester, how to detect the range of dates used? run strategy tester from code? How to get by code the name of the current running script? Rodrigo Malacarne 2014.05.07 03:48 #1 cyberglassed: Hello, some days ago, I saw a function in mql5 that let me know if the scriptis running under the Strategy Tester but now I can't find it.could you remember it to me?Thanks, Cyberglassed.if(MQLInfoInteger(MQL_TESTER)) { //--- do something ... } cyberglassed 2014.05.07 07:13 #2 Malacarne: Thank you! :) New comment
Hello, some days ago, I saw a function in mql5 that let me know if the script
is running under the Strategy Tester but now I can't find it.
could you remember it to me?
Thanks, Cyberglassed.