OPEN-SOURCE SCRIPT

Consecutive Closes Above or Below a SMA

2 952
This is a very simple indicator to that marks a candle after a specified number of consecutive closes above or below a Simple Moving Average. The purpose of the indicator is to provide a quick visual cue that there is a strong trend in play.

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.