Perhaps you should read the manual. Chart Price Max/Min - MQL4 programming forum (2017)
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
In the image below the actual price range is 15 points...
I see 12 pips, from 0.97985 thru 0.98105, or what price range are you trying to capture?
Perhaps you should read the manual. Chart Price Max/Min - MQL4 programming forum (2017)
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
I need to capture the range between 0.98105 and 0.98090 which is 0.00015 or 15 points
But what is the rationale for that? Why do you need to capture that range? Depending on the scale you're using and the price range within that scale, the price between those two points next to each other is gonna change. What are you exactly trying to do? Maybe there's another way.
Just use the equivalent of a Donchian Channel which is simply the Highest high and Lowest low for a certain period. Use the functions iHighest and iLowest.
Returns High price value for the bar of specified symbol with timeframe and shift
Returns the shift of the maximum value over a specific number of bars
Returns Low price value for the bar of indicated symbol with timeframe and shift
Returns the shift of the lowest value over a specific number of bars
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Is there any function in mql4 that allows me to read current price range from metatrader 4 vertical scale?
In the image below the actual price range is 15 points, I need a function that returns the current value of this range.