Points or Pips? They are different! In your example, you are using 4 digits for the prices, instead of 5, so it would seem you are wanting to "Pips" and not points.
However, if you really mean points and not pips, that is quite easily done as follows:
dblPriceDeltaPoints = ( dblPrice1 - dblPrice2 ) / _Point;
yes points, it's just an example what i posted. thanks!!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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, I'm looking to measure difference in two prices in points, in other words as example if I have price of 1.1112 and 1.1102, hot to measure 10 points difference? I can subtract one from another but I get 0.0001 instead of 10.
Thanks!