Categories

4 Time Frame Heiken Ashi Indicator MT4
Checking trend across four different timeframes usually means flipping between charts. This indicator puts all four in one subwindow at once, and adds a chart arrow when they all agree. Download the 4 Time Frame Heiken Ashi indicator for MT4 free below and see exactly how each timeframe's trend read is calculated. What Is the…
Download the 4 Time Frame Heiken Ashi Indicator MT4Checking trend across four different timeframes usually means flipping between charts. This indicator puts all four in one subwindow at once, and adds a chart arrow when they all agree. Download the 4 Time Frame Heiken Ashi indicator for MT4 free below and see exactly how each timeframe’s trend read is calculated.
What Is the 4 Time Frame Heiken Ashi Indicator?
This is a multi-timeframe indicator that computes a Heiken Ashi trend direction independently for four timeframes and displays all of them in a single subwindow. By default those four timeframes are your current chart’s timeframe plus the next three timeframes up the standard ladder (so on an M15 chart, that’s M15, M30, H1, and H4) — though each can be set manually via the TimeFrame1 through TimeFrame4 inputs.
Each timeframe gets its own row of small up/down arrows in the subwindow, colored green for an up read and reddish-pink for a down read. On top of that, when all four timeframes agree in the same direction, the indicator draws a larger triangle arrow directly on your price chart, above or below the current bar — a genuine four-timeframe confluence signal you don’t have to build yourself by checking each chart individually.
Trend direction per timeframe is judged one of two ways, controlled by the UseHAHighLow input: by default, it compares a smoothed Heiken Ashi high against a smoothed Heiken Ashi low; if you turn that off, it instead compares smoothed Heiken Ashi open against close. Both the source price and the resulting Heiken Ashi values can be passed through moving-average smoothing before that comparison, via the MaMethod1/MaPeriod1 and MaMethod2/MaPeriod2 inputs — both default to a 1-period simple moving average, which is effectively no smoothing until you change them. That two-stage smoothing setup means you can tune this indicator anywhere from a raw, twitchy Heiken Ashi read to a slower, filtered one without touching the core trend-detection logic.
Key Features
- Displays independent Heiken Ashi trend reads for four timeframes simultaneously in one subwindow.
- Draws a composite triangle arrow on the main price chart when all four timeframes align in the same direction.
- Default timeframe selection cascades automatically from your current chart (current plus the next 3 higher timeframes), or you can set each one manually.
- Optional two-stage moving-average smoothing of the underlying price and the resulting Heiken Ashi values.
- Built-in alert system that can notify you (on-chart message, sound, and/or email) once a configurable number of the four timeframes align.
- A History input caps how many bars back the indicator processes, useful for keeping it responsive on slower machines.
How to Use It
Copy the .mq4 file to your MQL4/Indicators folder, refresh MT4’s Navigator, and drag it onto a chart — it opens its own subwindow below the price chart and, if enabled, adds arrows to the main window as well.
Read the subwindow left to right: each of the four rows corresponds to one of your selected timeframes, and its arrow tells you that timeframe’s current Heiken Ashi read. When you see the composite arrow appear on the price chart itself, all four timeframes have lined up in the same direction at that moment. If you want an alert instead of watching the chart, turn alertsOn to true and set alertsLevel to how many of the four timeframes need to agree before you’re notified — the default requires three of the four. Alerts are deduplicated internally, so you won’t be spammed repeatedly while the same alignment holds — a new alert only fires when the aligned direction changes or a new bar forms.
Be aware this indicator recalculates the current, still-forming bar on every tick rather than waiting for that bar (or the relevant higher-timeframe bars) to close — so a trend read or a composite arrow on the most recent bar can shift as price continues to move within that bar. Confirmed, closed-bar reads are more reliable than what’s showing on the live edge of the chart, so if you’re using the composite arrow as a trigger, it’s worth waiting for the current bar to close before acting on it.
Best Timeframes / Best Use Cases
Because it’s built around cascading timeframe confluence, it suits traders who want to confirm that a lower-timeframe setup is aligned with the broader trend before entering. Since the default ladder always includes your current chart plus three timeframes above it, it adapts automatically whether you’re working on a fast intraday chart or a slower swing chart, without you needing to reconfigure it every time you change charts.
Final Thoughts
This is a genuinely useful confluence tool for traders who check multiple timeframes before every entry — it automates that check and puts the result in one place instead of four separate charts. Just remember the current bar’s read isn’t final until that bar closes. Download it free below and set your own timeframe ladder to match how you trade.
- TimeFrame1 (default Current time frame) — First timeframe in the comparison; defaults to whatever chart the indicator is attached to.
- TimeFrame2 (default next1) — Second timeframe; defaults to the next timeframe up the standard ladder from TimeFrame1.
- TimeFrame3 (default next2) — Third timeframe; defaults to two steps up the ladder from TimeFrame1.
- TimeFrame4 (default next3) — Fourth timeframe; defaults to three steps up the ladder from TimeFrame1.
- UseHAHighLow (default true) — Chooses whether trend direction is judged by smoothed Heiken Ashi high vs low (true) or smoothed Heiken Ashi open vs close (false).
- MaMethod1 (default MODE_SMA) — Moving average method applied to source price before the Heiken Ashi calculation.
- MaPeriod1 (default 1) — Period for the first-stage moving average; 1 means effectively no smoothing.
- MaMethod2 (default MODE_SMA) — Moving average method applied to the resulting Heiken Ashi values.
- MaPeriod2 (default 1) — Period for the second-stage moving average; 1 means effectively no smoothing.
- History (default 1000) — Maximum number of historical bars processed by the indicator.
- alertsOn (default false) — Enables alerts when enough timeframes align in the same direction.
- alertsLevel (default 3) — Minimum number of the four timeframes (out of 4) that must align before an alert fires.
- All_Sig_Arrows (default true) — Controls whether per-timeframe alignment state requires full 4-way agreement to be treated as confirmed.
FAQs About the MT4 4 Time Frame Heiken Ashi Indicator MT4
Does this indicator repaint?
Yes, on the current bar. It recalculates the Heiken Ashi trend for the still-forming bar on every tick with no close-confirmation gate, so the most recent trend read and the composite chart arrow can change before that bar closes.
What do the four rows in the subwindow represent?
Each row is the Heiken Ashi trend direction for one of your four selected timeframes, shown as a green (up) or reddish-pink (down) arrow.
What is the large arrow that sometimes appears on my price chart?
It’s a composite confluence signal — the indicator draws it directly on the main chart only when all four timeframes’ Heiken Ashi trend agree in the same direction at once.
Can I change which four timeframes it compares?
Yes, via TimeFrame1 through TimeFrame4. By default it cascades automatically from your current chart’s timeframe plus the next three timeframes up the standard ladder.
What does the UseHAHighLow setting control?
It chooses how each timeframe’s trend is judged: true compares a smoothed Heiken Ashi high against a smoothed Heiken Ashi low, false compares smoothed Heiken Ashi open against close instead.
Can it send me alerts?
Yes. Turn alertsOn to true and set alertsLevel to how many of the four timeframes need to align before you’re notified by message, sound, and/or email — the default requires 3 of 4.
