So far I have managed to load my data from my own csv into the series:
function run()
{
set(LOGFILE);
set(PRELOAD);
while(asset(loop("6A_M", "6B_M", "6C_M")))
{
string AssetName = (string)Asset;
string FilePath = strf("C:\\Users\\chu_h\\Desktop\\output\\%s_Meod.csv", AssetName);
string setup = file_content(FilePath);
if (!setup) {
printf("#Error: File not found or empty for %s\n", AssetName);
return;
}
vars CloseSeries = series(0, 1000);
var ClosePriceList[1000];
......
However, Zorro try to find the 6A_M historical file when running the script:
Error 047: 6A_M no 2020 history (History\6A_M_2020.t6)
Error 047: 6A_M 2020..2025 no data
Error 047: No bars generated
Is there a way suppress this error, and instead let Zorro follow through my code to use my csv data? I tried with PRELOAD but it still have the error.