The Folded Relative Strength Index was created by Richard Poster (Stocks and Commodities July 2021 pg 21) and this indicator provides both trend strength but also momentum and of course reversal points using the overbought and oversold markers. If the indicator line is above the mid line then this shows upward momentum and when it falls below the midline then this...
This script contains no trading value. This is no indicator.
It is only showing how to use a powerful editor feature:
To collapse (hide, fold) and expand (unhide, unfold) some blocks of your code.
Don't tell me you never wished it was there ;)
Well - it is!
How to enable it?
Look at line 4 of this script. It starts with //, but then there is this "opening...