OPEN-SOURCE SCRIPT

Linear Regression Curve - Average

Idea is that the average of price has something to do with sudden changes in trend. Finding trend shifts in mundane.
Least Squares Moving Average (LSMA)Moving Averagesneobutane

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?


My published indicators: tradingview.com/u/NeoButane/

Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Also on:

Disclaimer