Gamestudio Links
Zorro Links
Newest Posts
Why Zorro supports up to 72 cores?
by 11honza11. 04/26/24 08:55
M1 Oversampling
by 11honza11. 04/26/24 08:32
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, VoroneTZ, Quad, 1 invisible), 837 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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