Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,709 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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 | 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