Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by 7th_zorro. 04/20/24 07:29
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, henrybane, flink, Edgar_Herrera), 758 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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