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 (OptimusPrime, AndrewAMD), 14,580 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: Portfolio Trading [Re: Zheka] #470497
01/17/18 15:41
01/17/18 15:41
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
For a per-trade SMA, sum up the last 20 results from the Results array, and divide by 20.

Re: Portfolio Trading [Re: jcl] #470500
01/17/18 15:50
01/17/18 15:50
Joined: Jul 2017
Posts: 787
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 787
Results array is unfortunately available only as ResultsLong/Short separately.

Or is there another way to access it for all trades of asset/algo component?

Last edited by Zheka; 01/17/18 15:51.
Re: Portfolio Trading [Re: Zheka] #470501
01/17/18 15:57
01/17/18 15:57
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Sum up ResultLong/Short and divide by 40?

Re: Portfolio Trading [Re: jcl] #470503
01/17/18 16:03
01/17/18 16:03
Joined: Jul 2017
Posts: 787
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 787
The sequence of trades must be known to sum the correct e.g. 30 trades from ResultsLong/Short.

Re: Portfolio Trading [Re: Zheka] #470507
01/17/18 16:31
01/17/18 16:31
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Then store the result of any trade in a series.

Re: Portfolio Trading [Re: jcl] #470528
01/18/18 16:34
01/18/18 16:34
Joined: Aug 2017
Posts: 102
Spain
B
Brax Offline
Member
Brax  Offline
Member
B

Joined: Aug 2017
Posts: 102
Spain
Hi Zheka.

I'd like to suggest you to try out rolling expectancy ratio rather than averages for equity curve trading:

https://www.financemagnates.com/forex/bloggers/equity-curve-trading-part-2-rolling-expectancy-ratio/

Another thing i am currently using is setting a maximum percent drawdown instead of averages. I just run a test and determine maximum possible drawdown according to Montecarlo analysis to set this.

For example, if i don't want any strategy to lose more than 10%, i set this cap and adjust lot sizes so Montecarlo drawdowns kind of adjust to this limit.

This way i get a disaster proof mechanism without interfering too much in the dynamics of the strategy, because sometimes when we go phantom trading is just when the comeback starts and we lose that opportunity to recover.

Just my two cents.

Last edited by brax; 01/18/18 16:36.
Re: Portfolio Trading [Re: Brax] #470529
01/18/18 16:51
01/18/18 16:51
Joined: Jul 2017
Posts: 787
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 787
Thanks, brax!

I am actually using both the expectancy and eq.curve trading, and take care of drawdowns through position sizing and diversification.

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