![Dokumentation zu MQL5: Arbeit mit Ereignissen / EventChartCustom Dokumentation zu MQL5: Arbeit mit Ereignissen / EventChartCustom](https://c.mql5.com/36/69/dokumentation-zu-mql5-arbeit-mit.png)
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.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hello
how can i get chart mouse click x,y (inside a class method) using OnEvent() ?
thanks