OPEN-SOURCE SCRIPT

LinearReg macd

13 701
A hybrid of linear regression and MACD
crossing up or down of macd and signal shown by + either blue=up , down=orange
macd >0 bullish =green
macd<0 bearish =red
setting can be change to optimise it

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.