Print(Highs[1].GetValueAt(CurrentBars[1] - HighestBar(Highs[1],6))); Print(Highs[1][HighestBar(Highs[1],6)]);
It's not related to HighestBar. The same error happens when I try:
Print(APZ(BarsArray[1],1,20).Upper[1]);
Barebones example script attached.
Thanks.
Comment