All indicators

Smoothed Heiken Ashi Candles with Delayed Signals

Jul 9, 2024

Static chart image
SignalsCandlestickMoving Averages

The Smoothed Heiken Ashi Candles with Delayed Signals indicator provides a trend-following visualization tool that applies double Exponential Moving Average (EMA) smoothing to Heiken Ashi values to filter out market noise and generate clear entry or exit signals.

Usage

The Usage section describes how the script can be used to identify trend reversals and maintain positions during sustained market moves. The indicator primary output consists of smoothed candles that change color based on the prevailing trend direction.

  • Trend Identification: Green candles represent a bullish trend, while red candles represent a bearish trend.
  • Entry Signals (Buy): A buy signal is triggered when the smoothed candle color changes from red to green. This indicates a potential start of an uptrend.
  • Exit Signals (Sell): A sell signal is triggered when the smoothed candle color changes from green to red. This is used to signal the end of an uptrend or the beginning of a bearish phase.
  • Delayed Signals: The signals are intentionally delayed to confirm the candle close, helping traders avoid "whipsaws" or false breakouts in volatile markets.

Details

This script utilizes a multi-step smoothing process to refine price action:

  1. Initial Smoothing: The open, high, low, and close prices are first smoothed using an EMA of a user-defined length.
  2. Heiken Ashi Calculation: Traditional Heiken Ashi formulas are applied to these pre-smoothed values.
  3. Secondary Smoothing: A second EMA layer is applied to the resulting Heiken Ashi values. This "double smoothing" technique is designed to eliminate the day-to-day volatility that often makes standard candles difficult to interpret for long-term trend following.

Settings

  • EMA Length: Controls the initial smoothing period applied to the raw price data (Open, High, Low, Close).
  • Smoothing Length: Determines the period for the second EMA layer applied to the Heiken Ashi calculations. Higher values result in smoother candles but increased lag.

FAQ

How do I use the signals for HODL strategies?

The indicator is designed to help traders stay in a position while the trend remains bullish (green) and exit into a stable asset when a sell signal (red) appears, allowing for a potential re-entry at a lower price.

Why are the signals delayed?

Signals are plotted after the close of the trend-changing candle to ensure the reversal is confirmed, which allows for more reliable alerts and automated protocol experimentation.

How can I access Smoothed Heiken Ashi Candles with Delayed Signals?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.