Hello friends
I designed an indicator for MetaTrader 5 that when you click on a button it randomly selects a price on the chart
Now I want this candle to be displayed in the middle of the chart after this point is found and I don't know what function I should use to identify the middle of the chart so that when I find a point I can pass it to it so that the user can see the point that was found in the middle of the chart
Without having to scroll the chart left and right
- Dynamic zone indicators ...
- Expert Advisor properties by clicking on a button
- Questions: to start with MetaTrader and forex
naserazimi:
I'm not 100% sure exactly what you mean, but ChartNavigate() might help.
Hello friends
I designed an indicator for MetaTrader 5 that when you click on a button it randomly selects a price on the chart
Now I want this candle to be displayed in the middle of the chart after this point is found and I don't know what function I should use to identify the middle of the chart so that when I find a point I can pass it to it so that the user can see the point that was found in the middle of the chart
Without having to scroll the chart left and right
Documentation on MQL5: Chart Operations / ChartNavigate
- www.mql5.com
Performs shift of the specified chart by the specified number of bars relative to the specified position in the chart. Parameters chart_id [in]...
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