New: the Top 10 Non-Repainting MT4 Indicator Pack is free to download

98 free indicators for MetaTrader 4 & 5

Heiken Ashi Smoothed Indicator MT4

Free Heiken Ashi Smoothed indicator for MT4. Double-smoothed candles that change color with the trend, not the noise. Settings, strategy and install guide. Free download, link emailed in seconds.

MT4Non-repaintingTrend
Data Windowheiken-ashi-smoothed-indicator-mt4
PlatformMT4 Build 600+
File.mq4 / .ex4 in .zip
Version1.0
Size4.1 KB
RepaintsNo
TypeTrend
UpdatedNov 22, 2026
DownloadsNew listing
Download free (4.1 KB)
  • Enter your email, the download link arrives in seconds
  • Free bonus reports on the next page

Indicators are analysis tools, not trade signals. Forex trading on margin carries a high risk of loss. Test on a demo account first.

EURUSD · H4 · previewHeiken Ashi Smoothed Indicator MT4 v1.0
Heiken Ashi Smoothed Indicator MT4 on EURUSD H4Non-repainting
How it works →
Overview

The Heiken Ashi Smoothed indicator for MT4 draws filtered candles over your price chart that change color only when the underlying trend shifts. It smooths price with a moving average, builds Heiken Ashi candles from the result, then smooths those candles a second time, so short pullbacks and noise rarely flip the color.

Standard Heiken Ashi candles already average price, but they still flicker in choppy markets. The smoothed version adds two moving-average passes to cut that noise further. This free MetaTrader 4 indicator follows that classic recipe and lets you choose the type and period of both averages.

What Is the Heiken Ashi Smoothed Indicator?

Heiken Ashi (also spelled Heikin Ashi) means “average bar” in Japanese. Instead of plotting raw open, high, low and close prices, it plots averaged values, which makes runs of same-colored candles more common in trends. The smoothed version applies a moving average before and after the Heiken Ashi step. The result is a trend filter that reads like candles: blue candles while the smoothed trend points up, red candles while it points down.

The indicator draws on top of your normal chart. Many traders switch the chart to line mode or set the regular candles to the background color so only the smoothed candles show.

How it is calculated

  1. First smoothing. The indicator takes a moving average of Open, High, Low and Close separately, using MaMethod1 and MaPeriod1 (6-period Smoothed MA by default).
  2. Heiken Ashi step. From those averages it calculates:
    • HA close = (MA open + MA high + MA low + MA close) / 4
    • HA open = (previous HA open + previous HA close) / 2
    • HA high = the highest of MA high, HA open and HA close
    • HA low = the lowest of MA low, HA open and HA close
  3. Second smoothing. Each of the four HA values is averaged again with MaMethod2 and MaPeriod2 (2-period Linear Weighted MA by default).
  4. Drawing. When the smoothed close is above the smoothed open, the candle is drawn in BullColor; otherwise it is drawn in BearColor. The wick runs from the smoothed low to the smoothed high, and the body from the smoothed open to the smoothed close.

The candles are drawn with four histogram buffers in the main chart window, the same way MT4’s standard Heiken Ashi indicator draws its candles.

Key Features

  • Two independent smoothing passes with selectable MA type and period.
  • Fewer color changes than regular Heiken Ashi, which helps you stay with a trend.
  • Custom bull and bear colors, wick width and body width.
  • Values available in the Data Window and through iCustom for use in an Expert Advisor.
  • Efficient calculation: after the first load, only the newest bar is recalculated.

How to Trade With the Heiken Ashi Smoothed Indicator

Because it lags by design, the indicator works best as a trend filter and exit tool, with entries timed on the regular chart.

Buy rules

  1. Wait for the smoothed candles to turn from red to blue, and for the color to hold when that candle closes.
  2. Confirm with the higher timeframe. For example, trade H1 color changes only in the direction of the H4 smoothed candles.
  3. Enter on the next bar, or on a small pullback that does not turn the candles red again.
  4. Place the stop below the most recent swing low, or below the low of the smoothed candle.
  5. Stay in while the candles remain blue. A switch to red is the exit signal.

Sell rules

Reverse the rules: a blue-to-red change on a closed candle, agreement from the higher timeframe, a stop above the recent swing high, and an exit when the candles turn blue again.

Reading candle shape

Smoothed candles with long bodies and little or no wick on the trend side show steady momentum. Shrinking bodies and wicks on both sides suggest the trend is slowing, which can be a cue to tighten your stop before the color actually changes. Pairing the indicator with a separate trend-strength tool such as the Advanced ADX indicator helps you skip color changes in flat markets.

Best Settings

  • Default (6 SMMA, then 2 LWMA): a balanced setting for H1 to D1 swing trading.
  • Smoother and slower: MaPeriod1 10 to 14 with the same second pass, for longer trends with fewer flips.
  • Faster: MaMethod1 EMA with MaPeriod1 3 to 4 for quicker color changes on M15 to H1, at the cost of more false flips.
  • Single smoothing: set MaPeriod2 to 1 to turn off the second pass.

To see only the smoothed candles, press F8 to open the chart properties, go to the Colors tab, and set Bar Up, Bar Down, Bull candle, Bear candle and Line graph to the same color as the chart background. Your regular price data stays on the chart; it simply blends into the background so the smoothed candles stand out.

Every extra bar of smoothing adds lag, so color changes come later than on regular candles. That is the trade-off for fewer whipsaws.

Does It Repaint?

No. Heiken Ashi Smoothed is non-repainting. Every value uses the current bar and earlier bars only, and closed candles are never recalculated. The candle that is still forming changes with each tick, so its color can switch back and forth until it closes. That is why the rules above wait for a closed candle. The indicator does lag, which is different from repainting: lag means signals come late, while repainting means past signals change. Our guide on repainting covers this in more detail.

How to Install

Download the free file, then in MetaTrader 4 open File > Open Data Folder > MQL4 > Indicators and copy heiken-ashi-smoothed-indicator-mt4.mq4 into that folder. Restart the terminal or right-click Indicators in the Navigator and choose Refresh, and the indicator compiles and appears under Indicators > Custom. Drag it onto a chart and adjust the inputs in the window that opens. The full walkthrough, with fixes for common problems, is in our guide on how to install indicators in MT4. This is an MT4 file, so it will not load in MetaTrader 5 (the two platforms use different file formats), and the MT4 mobile apps cannot run custom indicators at all, as explained in our MT4 mobile indicators guide.

Related Indicators

Browse every trend trading indicator on the site.

Trading on margin carries a high level of risk, so test any new tool on a demo account before you use it with real money.

Heiken Ashi Smoothed Indicator MT4 on an EURUSD H4 MT4 chart

Heiken Ashi Smoothed Indicator MT4 on a MetaTrader chart. Click to enlarge.

Repaint verdict: does not repaint. We read the source: every value is calculated on closed bars and never rewritten, so what you see in history is what you would have seen live.

Free pack

Get the Top 10 Non-Repainting Indicator Pack

Ten MT4 indicators that draw on closed bars only, in one zip with install notes for each.

Settings

Inputs, defaults and what they change

  • MaMethod1 (default Smoothed (SMMA)) — Moving average type for the first pass, applied separately to Open, High, Low and Close: Simple, Exponential, Smoothed or Linear Weighted.
  • MaPeriod1 (default 6) — Period of the first moving average.
  • MaMethod2 (default Linear Weighted (LWMA)) — Moving average type for the second pass, applied to the Heiken Ashi open, close, high and low.
  • MaPeriod2 (default 2) — Period of the second moving average. 1 turns the second pass off.
  • BullColor (default DodgerBlue) — Color of bullish candles (smoothed close above smoothed open).
  • BearColor (default Red) — Color of bearish candles (smoothed close at or below smoothed open).
  • WickWidth (default 1) — Width of the high-low wick histogram.
  • BodyWidth (default 3) — Width of the open-close body histogram.
Install

How to install it in MetaTrader 4

  1. Step 1Download and unzip

    Enter your email, open the download link we send you and extract the .mq4 / .ex4 file from the zip.

  2. Step 2Open the data folder

    In MetaTrader, go to File → Open Data Folder.

  3. Step 3Copy into Indicators

    Place the file in MQL4 → Indicators, then restart MetaTrader or refresh the Navigator panel.

  4. Step 4Attach it to a chart

    Find it under Navigator → Indicators and drag it onto any chart.

First time installing an indicator? Watch the 75-second video or follow the screenshots in our MT4 install guide: every click in MetaTrader, plus fixes for an indicator that won't show up.

Free forex calculators
FAQ

Heiken Ashi Smoothed Indicator MT4 questions

Regular Heiken Ashi averages raw prices once. Heiken Ashi Smoothed first applies a moving average to the open, high, low and close, builds Heiken Ashi candles from those averages, then smooths the result again. The smoothed version changes color less often but reacts later.

The classic setting is a 6-period Smoothed MA for the first pass and a 2-period Linear Weighted MA for the second, which is the default here. Longer first periods give fewer, later signals; shorter ones react faster with more false flips.

No. Closed candles keep their values. The current candle can change color while it is forming, so act only on closed candles. The indicator does lag because of the double smoothing, but lag is not repainting.

It is better used as a trend filter and exit guide than as a stand-alone entry system. Combine it with a higher-timeframe trend check and a clear stop based on swing points.

They are averages, not actual prices. The open, high, low and close shown by the indicator are smoothed values, so they will not match the broker’s real candle prices. Use the regular chart for exact entry and stop prices.

Most traders use it on H1, H4 and D1 for swing trading, where the smoothing filters intraday noise well. It also works on lower timeframes, but expect more color changes during quiet sessions.

Heiken Ashi Smoothed Indicator MT4
Size
4.1 KB
Version
1.0
Repaints
No
Download free
Free packTop 10 Non-Repainting Indicators

Ten closed-bar MT4 indicators in one zip.

Get the pack

Heiken Ashi Smoothed Indicator MT4Free · 4.1 KB

Download

Where should we email your download link?

Use an email you can check right now: the download link goes straight to this inbox.