mtapi
mtapi copied to clipboard
MT4 OnChartEvent
https://docs.mql4.com/basis/function/events OnChartEvent OnChartEvent() is the handler of a group of ChartEvent events: CHARTEVENT_KEYDOWN event of a keystroke, when the chart window is focused; CHARTEVENT_MOUSE_MOVE mouse move events and mouse click events (if CHART_EVENT_MOUSE_MOVE=true is set for the chart); CHARTEVENT_OBJECT_CREATE event of graphical object creation (if CHART_EVENT_OBJECT_CREATE=true is set for the chart); CHARTEVENT_OBJECT_CHANGE event of change of an object property via the properties dialog; CHARTEVENT_OBJECT_DELETE event of graphical object deletion (if CHART_EVENT_OBJECT_DELETE=true is set for the chart); CHARTEVENT_CLICK event of a mouse click on the chart; CHARTEVENT_OBJECT_CLICK event of a mouse click in a graphical object belonging to the chart; CHARTEVENT_OBJECT_DRAG event of a graphical object move using the mouse; CHARTEVENT_OBJECT_ENDEDIT event of the finished text editing in the entry box of the LabelEdit graphical object; CHARTEVENT_CHART_CHANGE event of chart changes; CHARTEVENT_CUSTOM+n ID of the user event, where n is in the range from 0 to 65535. CHARTEVENT_CUSTOM_LAST the last acceptable ID of a custom event (CHARTEVENT_CUSTOM +65535).
Thanks Vdemydiuk, Could you please create a code example Thanks in advance KG
Will do.
Thank you :-)
On Mon, May 27, 2019 at 11:41 AM Vyacheslav Demidyuk < [email protected]> wrote:
Will do.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vdemydiuk/mtapi/issues/59?email_source=notifications&email_token=AL5CCLHR4NP4E6ZNPBREP4LPXOUFFA5CNFSM4DZUOXI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWJKT6I#issuecomment-496151033, or mute the thread https://github.com/notifications/unsubscribe-auth/AL5CCLBWSJVO23EJXXRLZ43PXOUFFANCNFSM4DZUOXIQ .
Which one is the code example?
I mean, a code example on VB.net or C# using the ChartEvents f.eks, how to display a chart. then catch mouse click event something as simple. Thanks Kimo