Check the third option in the inputs: "MaxBarsMulti" or "Max Bars ..."Akul82 wrote: Mon May 05, 2025 7:28 pm Can you add an external parameter for the indicator to visualize only the number of bars that user chooses (saving CPU) or all the history as it works right now.
P.S. I modified settings and i did external the parameter of standard devation - 2 is default value
Introduced it as an multiplier of Trend Length to make it easier wrt consistency checks. A "0"-value will ignore this feature and for me at a value of 4 one quickly sees the impact of limiting bars, hence defaulted to 10 for the time being. Also changed Indicator Prefix to "222" so one can drag and drop both version 1 and 2 onto a chart and compare them.
And some additional price options and Jurik smoothening of RTI (set Length to 1 to have original):
Top sub-window no smoothening (v2) and bottom sub-window has Jurik smoothening (v4):