Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,787 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
if it's really necessary to set TESTNOW in the INITRUN? #489069
01/05/26 14:03
01/05/26 14:03
Joined: Jan 2023
Posts: 48
Q
qin Offline OP
Newbie
qin  Offline OP
Newbie
Q

Joined: Jan 2023
Posts: 48
The manual says TESTNOW flag must be set in the INITRUN and before calling asset().
But the example in the manual doesn't put it in if(is(INITRUN)){set(PARAMETERS,TESTNOW);}.
An example from the manual is as follows. I am confused if it's really necessary to set TESTNOW in the INITRUN?
// anchored WFO, 10 cycles
function run()
{
NumWFOCycles = -10;
DataSplit = 80; // 20% test cycle
DataSlope = 2; // more weight to more recent data
set(PARAMETERS,TESTNOW); // run a test immediately after WFO
...
}

Re: if it's really necessary to set TESTNOW in the INITRUN? [Re: qin] #489070
01/05/26 16:47
01/05/26 16:47
Joined: Jul 2000
Posts: 28,072
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,072
Frankfurt
No, it needs not be set in the INITRUN, at least I know no reason for that. This sentence in the manual was probably a leftover from copy/paste, you can ignore it.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1