Smoothed Heiken Ashi Candles v1
Feb 18, 2016

The Smoothed Heiken Ashi Candles v1 indicator provides a filtered perspective on price action by applying double exponential moving average smoothing to Heikin Ashi calculations, helping traders identify trend direction while minimizing market noise.
Usage
The Usage section describes how the script can be used to interpret market trends and identify potential entry or exit points.
- Trend Identification: The primary application of this tool is to determine the prevailing market trend. When the candles are green (Bullish), it indicates an upward trend. Conversely, when the candles are red (Bearish), it suggests a downward trend.
- Trend Reversals: Traders often look for color changes as early signals of a potential trend shift. A change from red to green suggests a bullish reversal, while a change from green to red suggests a bearish reversal.
- Noise Reduction: Because the candles are smoothed using two layers of Exponential Moving Averages (EMAs), they eliminate the "whipsaw" effect often found in standard Japanese candlestick charts or traditional Heikin Ashi candles, making it easier to stay in a trade during minor retracements.
Details
The Smoothed Heiken Ashi Candles v1 is a refactored version of the original concept by @jackvmk. The indicator follows a multi-step calculation process:
- Initial Smoothing: The raw Open, High, Low, and Close prices are first smoothed using an EMA of a user-defined length (default is 10).
- Heikin Ashi Calculation: The standard Heikin Ashi formulas are applied to the smoothed OHLC values derived in the first step.
- Secondary Smoothing: The resulting Heikin Ashi Open, High, Low, and Close values are smoothed a second time using another EMA (default is 10) to produce the final output displayed on the chart.
- Crossover Alerts: The script includes built-in alert conditions that trigger when the smoothed Heikin Ashi Close crosses above or below the smoothed Heikin Ashi Open, signifying a change in momentum.
Settings
- First EMA Length: Determines the period used for the initial smoothing of the raw price data. Higher values result in more lag but smoother candles.
- Second EMA Length: Determines the period used for the final smoothing of the Heikin Ashi values. This setting further refines the trend visualization.
FAQ
What is the difference between this and regular Heikin Ashi?
Regular Heikin Ashi uses raw price data to calculate average price bars, whereas this version smooths the price data with EMAs both before and after the Heikin Ashi calculation to significantly reduce false signals.
Can I use this indicator for scalping or swing trading?
Yes, the indicator is versatile. For scalping, users typically lower the EMA lengths for higher sensitivity, while swing traders may increase the lengths to capture broader market moves.
How do I get access to Smoothed Heiken Ashi Candles v1?
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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.