Try this:
#include <stdlib.mqh> .... //+------------------------------------------------------------------+ //| Check for close order conditions | //+------------------------------------------------------------------+ void ErrorMessage(string text) { /* MessageBox(text + "(" + GetLastError() + ")", "My Trader", MB_ICONEXCLAMATION | MB_OK); */ int err=GetLastError(); Print("***********************************************************"); Print("* ", text); Print("* ", ErrorDescription(err), " (", err, ")"); Print("***********************************************************"); }
"unknown error"
Thanks Shimodax
Thanks Shimodax
147 is formerly 146. 146 is "expiration time is not allowed by broker" now
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
Thanks.