Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (VoroneTZ, monk12, Quad), 829 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Train algorithms separatery #476014
01/17/19 23:21
01/17/19 23:21
Joined: Apr 2017
Posts: 106
3
3dgamelight Offline OP
Member
3dgamelight  Offline OP
Member
3

Joined: Apr 2017
Posts: 106
How to train algorithms separately and generate factors to all together? For example, train different algorithms on different train cycles:

Code:
if(TrainCycle == 1)
   algorithms = loop("Algo1", "Algo2");
else if(TrainCycle == 2)
   algorithms = loop("Algo3", "Algo4");
else
   algorithms = loop("Algo1", "Algo2", "Algo3", "Algo4");



The code above seems to not work.

Re: Train algorithms separatery [Re: 3dgamelight] #476017
01/18/19 07:20
01/18/19 07:20
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
This indeed doesn't look right, but if you want a different trading behavior per train cycle for some reason, simply code it inside the algo. If you only want to train 4 algos separately, use a loop over all 4.

Re: Train algorithms separatery [Re: jcl] #476020
01/18/19 09:37
01/18/19 09:37
Joined: Apr 2017
Posts: 106
3
3dgamelight Offline OP
Member
3dgamelight  Offline OP
Member
3

Joined: Apr 2017
Posts: 106
It is for speed up when the algorithms use different bar periods.

NumTotalCycles do not works. What should work is replacing it by a define.

Last edited by 3dgamelight; 01/18/19 10:16.

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1