How come my MarketInfo() is returning a price only to the ten thousandth decimal place?
blooflux:
When you don't understand what is happening . . . read the documentation Print() "Data of double type are printed with 4 decimal digits after point. To output more precisely, use the DoubleToStr() function."
ex. Print(MarketInfo(“EURUSD”,MODE_ASK))
output is '1.3044'
It seems to be rounding of the pipettes. Is there a way to fix this? My boker(Oanda) displays 5 digits after the decimal.
Fixed it thanks!
ex. Print(MarketInfo(“EURUSD”,MODE_ASK))
output is '1.3044'
It seems to be rounding of the pipettes. Is there a way to fix this? My boker(Oanda) displays 5 digits after the decimal.
Thanks for the help! if any.....