Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by jcl. 04/20/24 08:32
Zorro FIX plugin - Experimental
by jcl. 04/20/24 08:30
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, Aku_Aku, 1 invisible), 579 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
CCY strength optimization / basket #479743
04/22/20 00:35
04/22/20 00:35
Joined: Mar 2019
Posts: 357
D
danatrader Offline OP
Senior Member
danatrader  Offline OP
Senior Member
D

Joined: Mar 2019
Posts: 357
I try to implement a currency strength logic, based on the manual example.
I'd like to optimize per combination (individual).

so making the call from the run function would look like that.

// portfolio loop
assetList(ASSETLIST);
while(asset(loop(Assets)))
{
Prices = series(priceClose());
Atr = ATR(ATRPERIOD);
while(algo(loop("SAME")))
{
NumComponents = NumLoops1*NumLoops2;
algoSetup();
equityCurve();
switch(Algo) {
case "SAME":tradeSAME("EUR/USD", "GBP/USD", "EUR/GBP") ; break;



Just I have no idea, is it possible to optimize that?
Since no specific asset is loaded at that time and the parameter to optimize would be the threshold value used for the specific combination.



Similar question accordingly, synthetic assets, didn't try yet, but is optimization there specific to the synthetic asset / basket possible?

Last edited by danatrader; 04/22/20 06:51.
Re: CCY strength optimization / basket [Re: danatrader] #479751
04/22/20 17:48
04/22/20 17:48
Joined: Mar 2019
Posts: 357
D
danatrader Offline OP
Senior Member
danatrader  Offline OP
Senior Member
D

Joined: Mar 2019
Posts: 357
Learned that I had a complete missconception about how the ccystrength function internally works.

I will give some ideas when the system is more advanced.

Maybe some more experienced coder can help me to make it nice.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1