Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Akow, MaliceTheMaker), 14,199 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 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: 53
Q
qin Offline OP
Junior Member
qin  Offline OP
Junior Member
Q

Joined: Jan 2023
Posts: 53
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,145
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,145
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