Scroll the chart via MQL4 ?
To my knowledge, No.
Why not: when price touches SR, put an ObjectLabel at chart corner alerting that SR price level X is touched.
You can do it via simulated key strokes (via WinAPI). It will be ugly and potentially unreliable though.
Why not just press the autoscroll button
You can navigate programmatically using the MQL4 Chart Operation, Navigate
ChartNavigate - Chart Operations - MQL4 Reference
- docs.mql4.com
ChartNavigate - Chart Operations - MQL4 Reference
Hi,
is there any way to scroll the chart via MQL4 ? I'd like to scroll it to data, when the price touches my Support and Resistance Lines, so I don't have to do it by hand.
Thanks!