The GetLastError() function returns the last error code. The Error code constants are defined in the stderror.mqh file. To print text messages use the ErrorDescription() function defined in the ... Read more..
Forex trading involves substantial risk of loss and is not suitable for all investors. Read full disclosure.