OPEN-SOURCE SCRIPT

LinReg-MACD Alerts

This is the LinReg-MACD indicator. It issues Buy and Sell signals based on linear regression candles along with a SMA slope filter. It also uses the MACD as confluence for these signals. It also has a LSMA filter. All values are adjustable and there are check boxes for use on different candles. I find it works better for me when swinging higher timeframes like the 1 hour.
buyandsellsignallinearreggressionmacdcrossmoving_averageMoving AveragesregressionsTrend Analysis

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