|
GTrade.ChartEvent()
Contains the functions for triggering ChartEvents in relation to Glib functions.
It is recommended to integrate this function in every expert, in every Glib class.
void GTrade.ChartEvent( |
Parameters
id
[in] id to pass to the Glib ChartEvent. Here simply enter the variables from OnChartEvent.
lparam
[in] long Parameter for passing to the Glib ChartEvent. Here simply enter the variables from OnChartEvent.
dparam
[in] double Parameter to pass on to the Glib ChartEvent. Just enter the variables from OnChartEvent here.
sparam
[in] string Parameter to pass on to the Glib ChartEvent. Just enter the variables from OnChartEvent here.
Note
This function should be used always when using the class, as it provides the trade functions of the class among other things.
Example:
//--- Include the Glib classes |
See also