Bail from init() yes. It then goes directly to start()Originally Posted by ;
you are able to use the IsConnected() function to discover if your own mt4 is connected to the broker's server.
If you would like to know whether the EA is running on backtester, then you can use the IsTesting() function.
A good illuion of what you will put at the first couple of lines of the start() function is.
Inserted Code int start() if(IsTesting()) return(0); // ... additional codes ...
ideally this will effectively disable backtesting of the EA. Not sure you'll need that though.






Reply With Quote