Download MetaTrader 5

Pumping new chart

To add comments, please log in or register
DiNhan
14
DiNhan  

I want get event create new chart.

I try use OnChartEvent. But i can't get event create new chart, Please help me some suggestion.

void OnChartEvent(const int id,     const long &lparam,  const double &dparam,    const string &sparam)

 ENUM_CHART_EVENT

ID

Description

CHARTEVENT_KEYDOWN

Keystrokes

CHARTEVENT_MOUSE_MOVE

Mouse move, mouse clicks (if CHART_EVENT_MOUSE_MOVE=true is set for the chart)

CHARTEVENT_OBJECT_CREATE

Graphical object created (if CHART_EVENT_OBJECT_CREATE=true is set for the chart)

CHARTEVENT_OBJECT_CHANGE

Graphical object property changed via the properties dialog

CHARTEVENT_OBJECT_DELETE

Graphical object deleted (if CHART_EVENT_OBJECT_DELETE=true is set for the chart)

CHARTEVENT_CLICK

Clicking on a chart

CHARTEVENT_OBJECT_CLICK

Clicking on a graphical object

CHARTEVENT_OBJECT_DRAG

Drag and drop of a graphical object

CHARTEVENT_OBJECT_ENDEDIT

End of text editing in the graphical object Edit

CHARTEVENT_CHART_CHANGE

Change of the chart size or modification of chart properties through the Properties dialog

CHARTEVENT_CUSTOM

Initial number of an event from a range of custom events

CHARTEVENT_CUSTOM_LAST

The final number of an event from a range of custom events

To add comments, please log in or register