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. Подробнее читайте в Условиях использования.