Download MetaTrader 5

Point in 5 decimal enviroment

To add comments, please log in or register
Forex Trader
114287
Forex Trader  

Hello


Could somebody advice why "Point" return 0 in case of 5 decimals for example EUR/USD 1.42900, Point suppose return 0.00001, but it returns 0

Please advise


Regards

Gosha

Forex Trader
114287
Forex Trader  

The reason you see this is that the Print, Alert and Comment functions return 4 decimal places of precision by default.

Try the following:

Print(NormalizeDouble(Point,5));


CB

To add comments, please log in or register