Zoom chart with mouse wheel?

 

Is it possible to assign the mouse wheel to zoom - +?

It would be much easier, rather than pressing buttons on the keyboard.

 
Do you see anything in OnChartEvent?
 
William Roeder #:
Do you see anything in OnChartEvent?

Thank you.


I found CHARTEVENT_CLICK — (event of a mouse click on the chart)

I'm guessing this is it?


I have no idea how to program it, I have to research.



EDIT: Now that I think of it. It should be mouse scroll, not click.

 
It is already assigned. Combine CTRL and your mouse wheel.....

No need to program it.
 
Dominik Christian Egert #:
It is already assigned. Combine CTRL and your mouse wheel.....

No need to program it.

Are you talking about MT4? Because it doesn't work for me.


Build 1353

 
Nope, I am talking about MT5
 
Dominik Christian Egert #:
Nope, I am talking about MT5

Gotchu.


I forgot to specify in the beginning. Apologies.

 
8977737 #:

I forgot to specify in the beginning. Apologies.

Topics concerning MT4 and MQL4 have their own section.

In future please post in the correct section.

I have moved your topic to the MQL4 and Metatrader 4 section.

 
Keith Watford #:

Topics concerning MT4 and MQL4 have their own section.

In future please post in the correct section.

I have moved your topic to the MQL4 and Metatrader 4 section.

Thank you.