Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

ExMachina Heikin Ashi - indicator for MetaTrader 5

Emmanuel Nana Nana
Published by:
William Jefferson Mukam Tatsinke
Views:
180
Rating:
(1)
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

ExMachina Heikin Ashi Enhanced v3.0 — part of the ExMachina Trading Systems free Code Base collection. The most feature-complete free Heikin Ashi indicator on the MQL5 Code Base.


ExMachina_HeikinAshi_Screenshot

Features

  • Two draw modes: color-coded HA candles (OHLC with proper High/Low) or smoothed color line overlay
  • Five smoothing methods: SMA, EMA, Double-Smoothed EMA (Vervoort-style DEMA), SMMA, and LWMA — all with configurable period
  • Step filter: noise reduction in pips — ignores HA changes smaller than a configurable threshold (like mladen’s, but on top of 5 smoothing methods)
  • Signal arrows: Wingdings arrows (▲/▼) plotted on chart at every color change — configurable arrow codes and offset
  • Multi-Timeframe (MTF): display higher-timeframe HA data mapped onto current chart
  • Full HA calculation: proper recursive HA Open, High, Low, Close
  • Consecutive bar counter: tracks streak of same-color bars in real time
  • Strength meter: body-to-range ratio with visual bar (████░░░░░░) and percentage
  • HA Delta: shows Close − Open difference with signed color
  • Dashboard panel: 9 data rows — Trend, Smoothing, Step Filter, HA Close, HA Open, HA Delta, Consecutive, Strength %, Strength Bar
  • 4-channel alerts: popup, sound (custom file), push notification, and email on color change
  • Fully customizable: 8 input groups, 30+ inputs — colors, dashboard position/fonts, arrow codes, everything configurable
  • Clean chart management: all objects use the EXHA_ prefix for safe removal

Architecture

  • 14 buffers (3 plots + 5 calculation buffers)
  • DEMA uses dedicated dual-buffer approach (no fragile static variables)
  • Modular: CalcStandard / CalcMTF / ApplySmoothing / ApplyStepFilter / AssignBar
  • 829 lines, zero external dependencies

Input Groups

  • General: draw mode, MTF timeframe
  • Smoothing: method (None/SMA/EMA/DEMA/SMMA/LWMA), period
  • Step Filter: threshold in pips
  • Signal Arrows: on/off, bull/bear arrow codes, offset
  • Colors: bull, bear, neutral
  • Alerts: popup, sound, push, email, custom sound file
  • Dashboard: position, font size, 4 color inputs

Works on all symbols and all timeframes. No repaint on closed bars.

Developed by ExMachina Trading SystemsPrecision before profit.

For professional trading tools, visit: https://www.mql5.com/en/users/williammukam

Tags (comma-separated)

heikin ashi,HA,smoothing,EMA,DEMA,SMMA,LWMA,Vervoort,step filter,MTF,multi-timeframe,signal arrows,trend,candles,overlay,color line,dashboard,strength,alerts,push,email,no repaint,free,forex,gold,XAUUSD

Category

Technical Indicators

Subcategory

Trend Indicators


ExMachina Smart Money Concepts ExMachina Smart Money Concepts

Complete SMC toolkit: BOS/CHoCH detection, Order Blocks (internal + swing), Fair Value Gaps, Equal Highs/Lows, Premium/Discount zones, Strong/Weak H/L, trend candles, dashboard, 4-channel alerts. Free.

NeuroPro Converter NeuroPro Converter

NeuroPro Verbalisation Converter for MQL5

BGC Grid EA BGC Grid EA

Regime-adaptive grid EA with three operating modes (BGT/TGT/MGT), ATR-dynamic spacing, CUSUM change-point detection, equity-based cycle management, and a full CSV diagnostics pipeline. Based on the Bi-Directional Grid Constrained (BGC) stochastic process research by Taranto & Khan (2020–2022).

MACD Tradingview version MACD Tradingview version

The standard MACD on MT5 platform seem to be not enough so I code this version by copying from the pinescript.