oncharteven after pressing a button
Dokumentation zu MQL5: Arbeit mit Ereignissen / EventChartCustom
- www.mql5.com
EventChartCustom - Arbeit mit Ereignissen - Nachschlagewerk MQL5 - Nachschlagewerk über die Sprache des algothitmischen/automatischen Handels für MetaTrader 5
Ahmed_Fouda: how can i get chart mouse click x,y (inside a class method) using OnEvent() ?
You call your class method from OnChartEvent.
The problem is that i am checking for many Events . i will have to call many class methods fron OnChartEvent.
By clicking the right button before will make me chose the method i need directly without having to loop through all of them .
Ahmed_Fouda i will have to call many class methods fron OnChartEvent.
That makes no sense. You know what type of event, on what object or mouse coordinate. Given the information there is only one method to call.
hello
how can i get chart mouse click x,y (inside a class method) using OnEvent() ?
thanks