OPEN-SOURCE SCRIPT

Linear Regression + Moving Average

1. Linear Regression including 2 x Standard Deviation + High / Low. Middle line colour depends on colour change of Symmetrically Weighted Moving Average [2]. Green zones indicate good long positions. Red zones indicate good short positions. (Custom)

2. Symmetrically Weighted Moving Average. Colour change depending on cross of offset -1. (Fixed)

3. Exponentially Weighted Moving Average. Colour change depending on cross with Symmetrically Weighted Moving Average. (Custom)

Exponential Moving Average (EMA)Linear RegressionStandard Deviation

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