Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, vicknick), 692 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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