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

Automated Trading Language Documentation

WPR_Hist Indicator
WPR_Hist
Author: maloyz
Subscribe to signal
ALPARI
274.50%, 3 468.61 USD
Screenshot
کروی, D1
Demo
A BATTERY OUT ENVELOPESA BATTERY OUT ENVELOPES Try product
A BATTERY OUT ENVELOPES
Author: tol64
Speed Up Calculations with the MQL5 Cloud Network Speed Up Calculations with the MQL5 Cloud Network

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