Download MetaTrader 5
To add comments, please log in or register
Post web links to other trader's signals and make profit
Carl Schreiber
6129
Carl Schreiber 2014.03.17 10:36 

I just stumbled over these two entries in the MQL4 Reference:

IsOptimization():

Returns true if Expert Advisor runs in the Strategy Tester optimization mode, otherwise returns false.

and IS_PROFILE_MODE:

Flag that a mql4-program operates in profiling mode

non zero in profiling mode, otherwise zero


So is there a difference and if so what is PROFILE_MODE?

Alain Verleyen
Moderator
29545
Alain Verleyen 2014.03.17 11:30  

Of course, Profile mode as nothing to do with backtesting or optimization. It's a tool available in MetaEditor to profile your code, in other words to check the performance of your code.

There is no online information for MT4, but you can press F1 in MetaEditor (User Guide) and search for Profiler.

/
To add comments, please log in or register