Kettering
Experience: Intermediate
Platform: ThinkOrSwim
Posts: 1 since Apr 2019
Thanks Given: 0
Thanks Received: 0
|
I want to get the highest of the last n bars; n is a variable. Unfortunately, thinkscript won't let me do Highest(high[1],n) because n should be a constant. Do you know a workaround or a different way to accomplish the same thing? Essentially, I just want to get the highestAll minus the first bar, so i figured highest(high[1],BarNumber()-1) would do, but it doesn't...
|