Skip to content

IsTesting

IsTesting

Checks if the Expert Advisor runs in the testing mode.

bool  IsTesting();

Returned value

Returns true if the Expert Advisor runs in the testing mode, otherwise returns false.

Example:

if(IsTesting()) Print("I am testing now");
Last updated on