// Just an example — not compiled, nor tested, just typed out. // This assumes that the prices are from the current chart's symbol int nPriceRangePoints = (int) round( ( dbPrice1 - dbPrice2 ) / _Point );
Also, please read up on the following ...
Size of the current symbol point in the quote currency
Returns the point size of the current symbol in the quote currency
Returns the double value of the symbol for the corresponding property
Symbol point value
double

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
Hello, i want to caculator point between 2 prices.
Example: i want to caculator point between 2 price: 0.66980 and 0.67100 in AUDUSD, or 27114.32 and 27042.34 in BTCUSD.
Can you give me the code to solve this problem? Thank you. (Function is better).