Download MetaTrader 5

do we still need NormalizeDouble()

To add comments, please log in or register
Carl Schreiber
6691
Carl Schreiber  

Hi again,

I know that 'old' EA do always NormalizeDouble() their prices (entry, stops, targets) they send to the server.

Is this still necessary or have newer versions of the server sided mt4 learnt how to deal with more decimals than Digits?

Thanks in advance,

gooly

whroeder1
14779
whroeder1  
Never necessary - never was It was cheap way for normalizing price when ALL markets had ticksize=point. It was a cheap way of avoiding The floating == issue It's use is always wrong.
To add comments, please log in or register