OPEN-SOURCE SCRIPT

Consecutive Closes Above/Below 3 SMA with Z-Score Bands

521
A simple indicator that measures consecutive closes above & below the 3-period simple moving average. An upper and lower Z-score has been calculated to indicate where the 4 standard deviations of the last 60 bars sits.

Useful for identifying directional runs in price.

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.