Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (VoroneTZ), 721 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Price precission problem #473476
07/12/18 09:16
07/12/18 09:16
Joined: Jul 2018
Posts: 1
Cartagena
J
julio73e Offline OP
Guest
julio73e  Offline OP
Guest
J

Joined: Jul 2018
Posts: 1
Cartagena
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.

Last edited by julio73e; 07/12/18 11:25.
Re: Price precission problem [Re: julio73e] #473485
07/13/18 09:44
07/13/18 09:44
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
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.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1