Price precission problem

Posted By: julio73e

Price precission problem - 07/12/18 09:16

Hello, I develop a strategy for USD / JPY to operate on mt4 bridge.

I download price data from the TradeStation account and import this data to Zorro with the CsvToHistory script.

I checked these t6 files with Zhistory viewer and checked them correctly.

Prices are imported with 3 decimals but zorro print this prices with 6 decimals.

Image:
https://ibb.co/jJzwRo

I dont understan this problem, I try in 1.83 and 1.85 Beta versions. I dont locate the 1.66 installer.

Thanks.
Posted By: jcl

Re: Price precission problem - 07/13/18 09:44

If the prices have 3 decimals, print them with 3 decimals only. If you print more decimals than needed, you encounter the finite accuracy of computer variable representations.
© 2024 lite-C Forums