Hi: Any way for MQL5 to capture mouse clicks for price and time (similar to an Andrew's Pitchfork capture)? Thanks for the input.
- Capturing Mouse events
- How to capture mouse clicks?
- Indicator line values - how to compare
YYZ:
Hi: Any way for MQL5 to capture mouse clicks for price and time (similar to an Andrew's Pitchfork capture)? Thanks for the input.
Have a look at CHART_EVENT_MOUSE_MOVE
Hi: Any way for MQL5 to capture mouse clicks for price and time (similar to an Andrew's Pitchfork capture)? Thanks for the input.
YYZ:
Hi: Any way for MQL5 to capture mouse clicks for price and time (similar to an Andrew's Pitchfork capture)? Thanks for the input.
Use OnChartEvent's CHARTEVENT_CLICK and then convert the X, Y pixels coordinates into time price coordinates using ChartXYToTimePrice function.
Hi: Any way for MQL5 to capture mouse clicks for price and time (similar to an Andrew's Pitchfork capture)? Thanks for the input.
Thanks to both of you for that information!
![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