MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Checkup  IsTesting

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
bool IsTesting( )
Returns TRUE if expert runs in the testing mode, otherwise returns FALSE.
Sample:
  if(IsTesting()) Print("I am testing now");