OPEN-SOURCE SCRIPT
Rishii's EMA Trend Engine

This indicator is a dual-EMA trend framework designed to improve intraday decision-making by filtering out sideways market noise and highlighting only meaningful trend participation.
It uses a fast and slow EMA to define trend direction, while applying an HLC3-based color logic to show whether price is respecting each EMA. Candles turn green or red only when both the trend alignment and price participation conditions are satisfied. Neutral candles can be shown in white to visually remove noise and make valid candles stand out.
Additional filters such as EMA slope detection and optional higher-timeframe bias help avoid false signals during ranging conditions. A background trend zone and first-candle markers after EMA crossover further improve clarity without cluttering the chart.
How it helps
Caution
It uses a fast and slow EMA to define trend direction, while applying an HLC3-based color logic to show whether price is respecting each EMA. Candles turn green or red only when both the trend alignment and price participation conditions are satisfied. Neutral candles can be shown in white to visually remove noise and make valid candles stand out.
Additional filters such as EMA slope detection and optional higher-timeframe bias help avoid false signals during ranging conditions. A background trend zone and first-candle markers after EMA crossover further improve clarity without cluttering the chart.
How it helps
- Clearly shows when the market is trending vs sideways
- Highlights only those candles where price is truly participating in the trend
- Filters out most whipsaws caused by flat EMAs
BTCUSD
- Combines trend bias, momentum, and participation in one clean view
Caution
- This is a trend-following tool, not a reversal indicator.
- When EMAs are flat and candles turn white, avoid trading
- Do not treat every green/red candle as an entry; wait for proper structure.
- Always use proper stop-loss and position sizing.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.