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

Automated Trading Language Documentation

Screenshot
EURJPYmicro, H1
Real
Parallel Calculations in MetaTrader 5 Parallel Calculations in MetaTrader 5 Exp_XRVI Expert Advisor
Exp_XRVI
Author: GODZILLA
Subscribe to signal
RealCent
867.56%, 45 520.17 USD
Custom Chart DemoCustom Chart Demo Try product
Custom Chart Demo
Author: Lizar

OnEvent

Chart event handler.

virtual bool  OnEvent(
   const int      id,         // ID
   const long&    lparam,     // event parameter of long type
   const double&  dparam,     // event parameter of double type
   const string&  sparam      // event parameter of string type
   )

Parameters

id

[in]  Event ID.

lparam

[in]  Event parameter of long type, passed by reference.

dparam

[in]  Event parameter of double type, passed by reference.

sparam

[in]  Event parameter of string type, passed by reference.

Returned value

true - if the event has been processed, otherwise false.


Updated: 2012.04.06