MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

Safe Monster G2Safe Monster G2 Try product
Safe Monster G2
Author: figurelli
Cam_H2_H5_Historical Indicator
Cam_H2_H5_Historical
Author: GODZILLA
Screenshot
GBPUSDt, H1
Real
The Principles of Economic Calculation of Indicators The Principles of Economic Calculation of Indicators Subscribe to signal
Emanuel Forex Brain
237.77%, 32 527.66 GBP
MQL5 ReferenceCheckupGetLastError 

GetLastError

Returns the contents of the system variable _LastError.

int  GetLastError();

Return Value

Returns the value of the last error that occurred during the execution of an mql5 program.

Note

After the function call, the contents of _LastError are not reset. To reset this variable, you need to call ResetLastError().


Updated: 2009.11.20