OPEN-SOURCE SCRIPT
9 EMA Full Candle Highlight (Bars Only)

This indicator highlights individual candles that close completely above or completely below the 9 EMA.
A candle turns yellow only when the entire candle (body and wicks) is fully on one side of the 9 EMA:
• Fully above EMA → low is above the 9 EMA
• Fully below EMA → high is below the 9 EMA
Candles that touch or cross the EMA are ignored.
Only the specific candle bar is colored — no background shading, no columns, and no extra signals — keeping the chart clean and distraction-free.
Purpose
Designed for simple, rule-based trading with minimal decisions. It visually marks strong momentum candles while filtering out chop around the EMA.
How to use
• Yellow candle above → bullish momentum
• Yellow candle below → bearish momentum
• No highlight → no clear edge
Best used on:
• 5-minute charts
• SPY / highly liquid ETFs
• Trend-following strategies
A candle turns yellow only when the entire candle (body and wicks) is fully on one side of the 9 EMA:
• Fully above EMA → low is above the 9 EMA
• Fully below EMA → high is below the 9 EMA
Candles that touch or cross the EMA are ignored.
Only the specific candle bar is colored — no background shading, no columns, and no extra signals — keeping the chart clean and distraction-free.
Purpose
Designed for simple, rule-based trading with minimal decisions. It visually marks strong momentum candles while filtering out chop around the EMA.
How to use
• Yellow candle above → bullish momentum
• Yellow candle below → bearish momentum
• No highlight → no clear edge
Best used on:
• 5-minute charts
• SPY / highly liquid ETFs
• Trend-following strategies
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.