Plot a barindex() in reverse order

Would like to plot a barindex(), 1,2,3,4,5 ... etc., but in reverse order, i.e., 1000, 999, 998, 997 ... Is there an easy way to do this, thanks.

You can reverse any array:

So you can either do
Reverse(BarIndex())

Or just do subtraction
BarCount - 1 - BarIndex()

1 Like

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.