OPEN-SOURCE SCRIPT
Full Candle 9 EMA Highlight

This indicator highlights momentum candles based on their complete position relative to the 9 EMA.
A candle is highlighted yellow only when it closes entirely above or entirely below the 9 EMA:
Fully above: the candle’s low is above the EMA
Fully below: the candle’s high is below the EMA
Candles that touch or cross the EMA are ignored, helping filter out chop and indecision.
Purpose
The goal is to reduce decision-making and visually isolate clean momentum conditions using a single indicator.
How to use
Yellow candle above the EMA → bullish momentum
Yellow candle below the EMA → bearish momentum
No highlight → stay out
Designed for:
5-minute charts
SPY / liquid index ETFs
Simple, rule-based trading
Minimal indicators and minimal discretion
This indicator is meant to be used as a visual guide, not a prediction tool. It works best during strong intraday trends and should be avoided during sideways market conditions.
A candle is highlighted yellow only when it closes entirely above or entirely below the 9 EMA:
Fully above: the candle’s low is above the EMA
Fully below: the candle’s high is below the EMA
Candles that touch or cross the EMA are ignored, helping filter out chop and indecision.
Purpose
The goal is to reduce decision-making and visually isolate clean momentum conditions using a single indicator.
How to use
Yellow candle above the EMA → bullish momentum
Yellow candle below the EMA → bearish momentum
No highlight → stay out
Designed for:
5-minute charts
SPY / liquid index ETFs
Simple, rule-based trading
Minimal indicators and minimal discretion
This indicator is meant to be used as a visual guide, not a prediction tool. It works best during strong intraday trends and should be avoided during sideways market conditions.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。