It's perfectly normal. Most of the time 1 pixel at X,Y will match with a range of prices, because there is not enough pixels on your screen for each price (point or even pips precision).
2020.05.12 23:33:00.079 340429 EURGBP,H1: Chart height in pixels = 645,
prices from min 0.86520 to max 0.94230, 7710 points
hello Alain, do you think you could also help me to understand the following problem?
this is my code and it produces negative number in my pixels reference variable..
int timeXY; int priceXY; ChartTimePriceToXY(chart_ID,0,D'2019.02.26 12:30:00',1.14582, timeXY, priceXY);
If debugging this code i get a negative -198 value in my priceXY variable... Can you please help explaining?
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
Hi friends,
I come across these function in MQl4.
Can anyone pls help me with this ?
Thks v much