Why does the difference between WindowPriceMax() and WindowPriceMin on the chart change as you scroll?
Doesn't that create an illusion of how the price is changing seeing as the window dimensions are the same?
- Questions: to start with MetaTrader and forex
- how to calculate the price values of the vartical scale of the chart in mql4 plaform
- How to add evenly spaced horizontal lines to a chart?
Lema_Carl:
Doesn't that create an illusion of how the price is changing seeing as the window dimensions are the same?
The Window dimensions ( pixels ) are the same but the Max and Min PRICE change . . . if you had a lot of small bars followed by a lot of big bars the range of prices on the chart changes dramatically . . . the Y axis scales automatically.
Doesn't that create an illusion of how the price is changing seeing as the window dimensions are the same?
The Window dimensions ( pixels ) are the same but the Max and Min PRICE change . . . if you had a lot of small bars followed by a lot of big bars the range of prices on the chart changes dramatically . . . the Y axis scales automatically.
That explains that..If you check out the code I posted in my previous thread, I recalculate the price difference on the y-axis and the number of bars at that moment when I'm looking at the chart which then I use to calculate the pixels per bar and pixels per bar so any changes in the scale or the number of bars would be accounted for. So in essence the angle is the one I get at that moment when Im looking at the chart all factors constant.
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