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

Automated Trading Language Documentation

Subscribe to signal
FOREX NAVIGATOR
126.83%, 16 652.06 USD
Center of Gravity IndicatorCenter of Gravity Indicator Try product
Center of Gravity Indicator
Author: cameuh
MQL5 Wizard - Trade Signals Based on Dark Cloud Cover/Piercing Line + CCI Expert Advisor
MQL5 Wizard - Trade Signals Based on Dark Cloud Cover/Piercing Line + CCI
Author: MetaQuotes
Screenshot
EURUSD, M15
Real
Interview with Ge Senlin (ATC 2011) Interview with Ge Senlin (ATC 2011)

ResetLastError

Sets the value of the predefined variable _LastError into zero.

void  ResetLastError();

Return Value

No return value.

Note

It should be noted that the GetLastError() function doesn't zero the _LastError variable. Usually the ResetLastError() function is called before calling a function, after which an error appearance is checked.


Updated: 2013.01.22