In the documentation it says that for time frames below 1 min, the data needs to be in tick format ".t1".
I now have FB_2018.t1, FB_2019.t1, FB_2020.t1 in my History folder (again checked with viewer that data has valid format).
And changed the script to:
function run()
{
set(TICKS,PRELOAD);
History = ".t1";
BarPeriod = 5./60; // 5 second bars
TimeFrame = 1;
LookBack = 12000; // 200*5*12
StartDate = 2019;
EndDate = 2020;
assetList("History\\Assets5s.csv"); // load asset list
asset(Assets[0]);
vars pr = series(price());
//Plot results:
plot("Price",pr,NEW,BLUE);
set(LOGFILE,PLOTNOW);
}
Zorro S still complains with error 55 and error 47.
What am I doing wrong?