OPEN-SOURCE SCRIPT
Close Below MA

Close Below MA (SMA or EMA)
This indicator helps traders quickly identify when a candle closes below a moving average — a classic signal of potential bearish momentum or a shift in trend.
You can choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA) from a convenient dropdown menu, and customize the MA length to fit your strategy.
When a candle closes below the selected MA, a small black arrow appears above the bar, and an alert can be triggered for instant notifications.
Features:
Usage Ideas:
This indicator helps traders quickly identify when a candle closes below a moving average — a classic signal of potential bearish momentum or a shift in trend.
You can choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA) from a convenient dropdown menu, and customize the MA length to fit your strategy.
When a candle closes below the selected MA, a small black arrow appears above the bar, and an alert can be triggered for instant notifications.
Features:
- Choose between SMA or EMA.
- Adjustable MA length.
- Visual signal (arrow) when the close is below the selected MA.
- Built-in alert support
Usage Ideas:
- Spot early signs of a bearish reversal.
- Use alerts for automated trade monitoring.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.