"DrawText("hiTick"+CurrentBar, "T", 0, High[0] + (5*TickSize), Color.Red);"
I am getting the following error:
"Error on calling 'OnBarUpdate' method for indicator 'A1TrendPeriodColors' on bar 103: A1TrendPeriodColors.DrawText: startBarsAgo out of valid range 0 through -1, was 0."
I am drawing on bar index 0, at bar number 103, yet the error says valid bar index range is 1- to 0 ???? What is going on?

Comment