Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (blaurock), 750 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Training towards DD or SR instead of PF [Re: Mithrandir77] #459165
04/25/16 14:15
04/25/16 14:15
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I had just recently that case. Zorro does not call your function in that case, but still the default function since it was declared first and not overridden by the other one. For this reason I've changed also the description in the manual.

For accessing PERFORMANCE elements directly in the g struct, it's g->w.numWin, not g->w->numWin. w is the content, not a pointer.

Re: Training towards DD or SR instead of PF [Re: jcl] #459170
04/25/16 16:34
04/25/16 16:34
Joined: Nov 2013
Posts: 123
Mithrandir77 Offline
Member
Mithrandir77  Offline
Member

Joined: Nov 2013
Posts: 123
Many thanks Jcl for the clarification, and what does numwin represent? The number of open + closed winning trades or just the closed ones? In the comment in trading.h it says just 'number of winning trades'

Re: Training towards DD or SR instead of PF [Re: Mithrandir77] #459171
04/25/16 16:54
04/25/16 16:54
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The closed ones. You can find the description of most parameters in the manual under "Trade statistics".

Re: Training towards DD or SR instead of PF [Re: jcl] #459172
04/25/16 17:31
04/25/16 17:31
Joined: Nov 2013
Posts: 123
Mithrandir77 Offline
Member
Mithrandir77  Offline
Member

Joined: Nov 2013
Posts: 123
Originally Posted By: jcl
The closed ones. You can find the description of most parameters in the manual under "Trade statistics".


Thank you again! I wasn't sure that variables in the PERFORMANCE struct mapped directly to the one described in the manual in Trade statistics.

Page 2 of 2 1 2

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