Posted By: Grat
is(INITRUN) not in TRAINMODE? - 06/06/19 21:22
Hi,
I have this test code:
with output:
test compiling...........
8497 Bars 2019-01-30..2019-06-06 generated
Train: test 2019
my question is, in the Train I cannot use INITRUN?
thanks Milan
edit: is(FIRSTRUN) is the same
I have this test code:
Code:
function run(){ Verbose = 7; StartDate = 20190210; EndDate = 2019; LookBack = 100; NumYears = 1; BarPeriod = 15; asset("EUR/USD"); if (is(INITRUN)){ if (is(TRAINMODE)) printf("n--- Train MODE----"); if (is(TESTMODE)) printf("n--- Test MODE1----"); printf("nAfter init------------------"); } }
with output:
test compiling...........
8497 Bars 2019-01-30..2019-06-06 generated
Train: test 2019
my question is, in the Train I cannot use INITRUN?
thanks Milan
edit: is(FIRSTRUN) is the same