OPEN-SOURCE SCRIPT

LinReg Slope + Acceleration Filter

122
linear regression, with acceleration, long when slope is positive and exists when acceleration is 0, shorts are slope is negative, acceleration is negative and exits when slope returns to 0. use 100 length

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.