Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 968
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
Good afternoon!
I need to measure and compare the distance between two MA lines. The unit of time and the unit of price are not suitable for measuring the distance. How do I measure distances in an MT4 chart?
Good afternoon.
How can I get the maximum and minimum MACD value for a certain number of bars (e.g. 1000)? These values should then be used in the code to calculate formulas.
Good afternoon.
How can I get the maximum and minimum MACD value for a certain number of bars (e.g. 1000)? These values should then be used in the code to calculate formulas.
See Documentation, Help in MetaEditor or search: Highest() and Lowest(), which define the bar number, and paste in High() and Low(), you will find the values you need!
Good afternoon!
I need to measure and compare the distance between two MA lines. The unit of time and the unit of price are not suitable for measuring the distance. How do you measure distances in an MT4 chart?
https://docs.mql4.com/ru/chart_operations/charttimepricetoxy
Input the value of MA, get the coordinates of a pixel in relation to the chart window, and then write an algorithm for calculating the distance between the two points.
But I need to get the high low of the indicator! MACD, not prices.
Function: ChartTimePriceToXY
https://docs.mql4.com/ru/chart_operations/charttimepricetoxy
Pass the MA values into it, get the pixel coordinates relative to the chart window, and then write an algorithm for calculating the distance between the two points.
How can you pixel if the graph is vertical? Only by pips!
How can you pixel if the graph is vertical? Only by pips!