TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
bool EventChartCustom ( long  chart_id,
ushort  custom_event_id,
long  lparam,
double  dparam,
string  sparam 
)

Generates a custom event for the specified chart

Parameters
chart_idChart identifier. 0 means the current chart
custom_event_idID of the user events. This identifier is automatically added to the value CHARTEVENT_CUSTOM
lparamEvent parameter of the long type passed to the OnChartEvent function
dparamEvent parameter of the double type passed to the OnChartEvent function
sparamEvent parameter of the string type passed to the OnChartEvent function
Returns
Returns true if a custom event has been successfully placed in the events queue of the chart that receives the events. In case of failure, it returns false. Use GetLastError() to get an error code