Posted By: Grat
simple crash code - 06/22/19 12:12
Hi,
which is a wrong in this code?
afer click on the test, zorro crash without any warning
which is a wrong in this code?
Code
void run(){ StartDate = 20190210; EndDate = 2019; BarPeriod = 15; LookBack = 200; Capital = 10000; Stop = 10*ATRS(100); TakeProfit =4*ATRS(76) ; assetList("History\\AssetsGP.csv"); asset("EUR/USD"); NumYears = 1; Hedge = 2; // allow long + short LifeTime = 20; // = prediction horizon OrderDelay = 60; set(TICKS); set(STEPWISE); enterLong(1); }
afer click on the test, zorro crash without any warning