I've a question that have been asked since yr2008.
HighestBar(High, 20)[1]
My desire: get the Highest Bar 1 period before this period from the last 20 periods.
I knew that add [1] after the HighestBar is not workable. Any other substitute method can be done with the same result?
If I just code HighestBar(High, 20) and if the current bar is the Highest, the result will be "0". But I want to get the highest bar exclude current bar.
Thanks!!
Comment