Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 831 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 6 of 7 1 2 3 4 5 6 7
Re: New Zorro version 1.96 [Re: jcl] #475212
11/27/18 18:19
11/27/18 18:19
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks for this message, jcl! laugh

Is the 1.96.4 now on the Download page identical to the 1.96.4 beta I downloaded a while ago? Or do I need to download again and reinstall? Or is it actually 1.96.6 - the last 1.96 update that was posted?

Thanks.

Re: New Zorro version 1.96 [Re: DdlV] #475221
11/28/18 12:09
11/28/18 12:09
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
For being on the safe side, download it from http://opserver.de/down/Zorro_setup.exe. The Zorro version is identical, but some other files might have changed.

Re: New Zorro version 1.96 [Re: jcl] #475224
11/28/18 12:57
11/28/18 12:57
Joined: May 2018
Posts: 8
A
Adey Offline
Newbie
Adey  Offline
Newbie
A

Joined: May 2018
Posts: 8
Hi,

I have searched the forums but have not noticed this bug / error reported.

The COT_CommercialPos in the contract.c file references the wrong columns.
Currently Dealer Longs(2) - Dealer Shorts(3) + Dealer Spreads(4) - Assets Managers Longs(5)

Should be Asset Managers Longs(5) + Dealer Longs(2) - Asset Managers(6) Short + Dealer Shorts(3)

When referencing column 6 it pulls column 7 information.
And the same with calling 7 it pulls column 8 data.

Also I think the columns reference in the User Manual are also wrong.

Also seem unable to access column 8 and above they just return 0.00, so cannot access non commercial at column 8 and 9.

Adey

Last edited by Adey; 11/28/18 13:32.
Re: New Zorro version 1.96 [Re: Adey] #475237
11/29/18 09:33
11/29/18 09:33
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
There are no columns. The numbers that you probably mean are dataset fields. If you think something's wrong, check it by printing out the fields and identifying their values in the original data.


Re: New Zorro version 1.96 [Re: jcl] #475243
11/29/18 10:31
11/29/18 10:31
Joined: May 2018
Posts: 8
A
Adey Offline
Newbie
Adey  Offline
Newbie
A

Joined: May 2018
Posts: 8
Hi

Sorry, I called it columns instead of fields.

I have printed out the fields and identified the values in the original data, that is why I posted because they do not match the fields they are meant to and match the wrong fields.

If you replace the word column with field my original post still stands.

Re: New Zorro version 1.96 [Re: Adey] #475266
11/29/18 17:43
11/29/18 17:43
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
There are also no "Currently Dealer Longs" or "Assets Managers Long" fields. You can see the names of all COT columns in the comment in the first line of the COT() function.

If you have a different COT file with a different structure, then you can copy the COT function in your script and adapt the format string so that it matches the structure.

Re: New Zorro version 1.96 [Re: jcl] #475298
12/01/18 08:15
12/01/18 08:15
Joined: Aug 2018
Posts: 98
O
OptimusPrime Offline
Junior Member
OptimusPrime  Offline
Junior Member
O

Joined: Aug 2018
Posts: 98
Hi JCL:

Would it be possible to add a crosshair to the interactive chart (the usual cross sign that spans all the charts). This will help with matching up events to the indicator behaviour visually with the mouse.

Thanks!


Thanks so much,

OptimusPrime

Re: New Zorro version 1.96 [Re: OptimusPrime] #475300
12/01/18 09:04
12/01/18 09:04
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Noted. This is the first version of the interactive chart, so just suggest improvements or features.

Re: New Zorro version 1.96 [Re: jcl] #475301
12/01/18 12:36
12/01/18 12:36
Joined: May 2018
Posts: 8
A
Adey Offline
Newbie
Adey  Offline
Newbie
A

Joined: May 2018
Posts: 8
Hi

It looks like I am not explaining myself proper or I am getting the wrong end of the stick.

First

I have attached a screenshot of 4 products.

Euro FX 099741
2 year Treasure Notes 042601
Gold 088691
British Pound 096742

https://www.screencast.com/t/XALElOqCB3L

All the products apart from Gold use the same columns.
The current formula is field 2-3 + 4-5.
COT_CommercialPos and COT_CommercialIndex will return the wrong value if used on these products apart from Gold.

Of course I can rewrite the code to just grab these fields. But these 2 functions might only work on gold, I have not tested beyond these 4 products.

Second

When requesting field 6 it returns field 7.
See screenshot https://www.screencast.com/t/xRCYUUIOF
The fields are numbered in green in the first screenshot for this.

When requesting field 8 returns blank.
See screenshot https://www.screencast.com/t/Smag0oVgsqg
The fields are number in yellow in the first screenshot for this.

Here is a blown up screenshot to make it easier to see.
https://www.screencast.com/t/LYqddzv6



As at the moment these functions only work for gold and not others without editing. Again I only tested these four products.

Obviously I can change the format in the function so that it correct but then it would be good to point this out in the manual.

Thanks for taking the time to look at this.

Have a great weekend.

Last edited by Adey; 12/01/18 12:45.
Re: New Zorro version 1.96 [Re: Adey] #475303
12/01/18 13:41
12/01/18 13:41
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
No, your explanation was ok, but mine apparently not. You're still confusing dataset fields and CSV fields. If you got COT reports in nonstandard formats, their CSV fields have different contents. First find the matching field numbers of the standard format that you can see in the COT comment in contract.c. Then copy the COT() function into your script and modify the format string dependent on the asset, so that the resulting dataset is equivalent to the dataset from the standard format. The formula 2-3 + 4-5 should be always correct for consistency reasons.

You're also certainly right that attempts to request field 8 will return blank. There is no field 8.

Page 6 of 7 1 2 3 4 5 6 7

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