OPEN-SOURCE SCRIPT

Built-in rising function and a custom one

5 983
Function rising2 is a pine analog of built-in function rising.
Also look at function rising3, it does slightly different thing...

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.