IsStopped(__FUNCTION__) Normal after comment.
That IsStopped is a call to another overloaded function within the class CTrade, not the one you think.
//+------------------------------------------------------------------+ //| Checks forced shutdown of MQL5-program | //+------------------------------------------------------------------+ bool CTrade::IsStopped(const string function) { if(!::IsStopped()) return(false); //--- MQL5 program is stopped PrintFormat("%s: MQL5 program is stopped. Trading is disabled", function); m_result.retcode = TRADE_RETCODE_CLIENT_DISABLES_AT; return(true); }
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register