OPEN-SOURCE SCRIPT

Function Linear Decay V2

Updated
EXPERIMENTAL:
improved range detection (it now locks range when its last formed on the appropriate side improving readability as it doesnt auto adjust when opposite extreme moves)
Release Notes
Update to V5.
Release Notes
Update to V6. Added lines to expand forward beyond current bar.
decayexponentialfunctionGrowthlinear

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer