Eg
Code: Select all
If date > date[1] then var1 = 0;
Found it doesn’t work when I use tick data, the var1 reset to 0 for all tick within the same bar (on my case 1 min per bar), for my logic, I only want to reset var1 to 0 at first tick only. The var1 has already declared as InsistBarExist.