VI

Heikin Ashi Forex Robot

EA that opens trades by Heikin Ashi candles: color change (default), strong candles without wicks, runs of same color candles; closes trades when the candle color flips back, Heikin Ashi stop loss, EMA filter.

Robot Forex MT4MT5 GD-8812v1.0 Lifetime 7-day trial 24/11/2026
Heikin Ashi · H1–Last closed Heikin Ashi candleXanhCandles of the same color2 green candlesWicksNo lower wick · strongClose when color flipsYesEMA 50 filterNo filterColor changeOnStrong candleOffCandle runOffOpen positionBUY 1 · SELL 0Waiting for a Heikin Ashi signal on H114:00 Opened BUY: Heikin Ashi candle turned green
The EA panel on the MetaTrader chart (sample data, default inputs). Values come from the candle that just closed. The panel can be dragged; click the top-right button to collapse it.
Companion indicator, free
GD-8812 1.00 (XAUUSD,H1)
CommonInputs
VariableValue
ab========================================GENERAL SETTINGS
01Magic number (per product code)
01Max spread to open orders (points, 0 = no limit)
abTrading hours (server time), separate ranges with commas
Timeframe
ab========================================ORDER SETTINGS
½Volume (lot)
Stop loss
01Heikin Ashi stop loss: number of latest candles
01Heikin Ashi stop loss: extra distance (point)
01Stop Loss in points (0 = none)
½ATR stop loss: ATR 14 multiplier
01Take Profit (points, 0 = none)
Close trades when the Heikin Ashi candle flips color
01Min distance between 2 same-direction orders (points, 0 = no limit)
Close opposite orders on a new signal
ab========================================ORDER LIMITS
01Max total BUY + SELL orders (0 = no limit)
01Max BUY orders (0 = no limit)
01Max SELL orders (0 = no limit)
At most 1 order per candle (of the timeframe)
ab========================================HEIKIN ASHI SETTINGS
EMA filter: BUY when price is above the EMA, SELL when below
01EMA period
ab========================================ENTRY SCENARIOS
Color change: Heikin Ashi red to green BUY, green to red SELL
Strong candle: green without lower wick BUY, red without upper wick SELL
Candle run: enough same color candles in a row
01Candle run: number of same color candles
Trade direction
ab========================================BREAKEVEN AND TRAILING STOP
Move Stop Loss to breakeven
01When the order is in profit by (points)
01Stop Loss beyond entry price (points, to cover costs)
Trailing Stop: Stop Loss follows price
01Start when the order is in profit by (points)
01Keep Stop Loss away from price (points)
01Minimum step (points)
ab========================================OTHER SETTINGS
Phone notification when orders open / close
LoadSave

How the EA works

The EA computes Heikin Ashi candles from prices of the entry timeframe (H1 by default). Heikin Ashi filters noise: an uptrend shows as a run of green candles, a downtrend as red. The EA enters by candle color and closes when the color flips back.

BUYSELLBUYSELLBUYSELLBUYBUYSELLSELLBUYSELLSELLBUYBUYBUYBUYSELLBUYSELLBUYEntry point
The candles in the chart are Heikin Ashi candles computed exactly like the EA (HA close = average of 4 prices, HA open = middle of the previous HA body). Choose a setup to view: the yellow dot is where the EA opens a trade, at the real open price of the candle after the signal candle. Color change: the first candle with a different color; Strong candle: green without lower wick, red without upper wick; Run: the 3rd same color candle in a row.

Entry scenarios

  • 1. Color changeDefault: YES
    • BUYThe Heikin Ashi candle changes from red to green
    • SELLThe Heikin Ashi candle changes from green to red
  • 2. Strong candleDefault: NO
    • BUYThe first green candle without a lower wick
    • SELLThe first red candle without an upper wick
  • 3. Candle runDefault: NO
    • BUYJust reached 3 green candles in a row
    • SELLJust reached 3 red candles in a row

When there is a signal

  1. 1Check conditions

    A new order opens only when all of these hold.

    • Within 00:00 - 23:59 (server time), spread no more than 250 points
    • Fewer than 10 orders, at most 5 BUY and 5 SELL
    • At most 1 order per H1 candle
  2. 2Open the order

    Heikin Ashi stop loss, no take profit.

    • Volume 0.01 lot
    • Stop loss: BUY below the low of the last 3 Heikin Ashi candles, SELL above the high, plus 100 points
    • No take profit by default
  3. 3Close trades

    Hold the trade until the Heikin Ashi candle flips color.

    • Heikin Ashi candle closes red: close all BUY trades
    • Heikin Ashi candle closes green: close all SELL trades
    • Break even and Trailing Stop can be added if you want
  • The EA computes Heikin Ashi candles itself, no indicator needed. Signals come from closed candles and never repaint.
  • Heikin Ashi candles are average prices, not real prices: the EA enters at the market price at the start of the next candle, so the entry may differ from the HA body on the chart.
  • Ranging markets make the candles flip color often. Turn on the EMA filter or use the Candle run setup to reduce noise trades.
  • To see Heikin Ashi candles and signals on the chart without automatic trading: Heikin Ashi indicator CB-8912 (free).
Heikin Ashi color change

A Heikin Ashi candle turning from red to green is a BUY, from green to red a SELL. A simple style that is easy to follow.

Strong candles without wicks

Turn on to enter on a green candle without a lower wick or a red candle without an upper wick, a sign of strong buying or selling.

Runs of same color candles

Turn on to wait for enough same color candles in a row before entering, reducing noise.

Close when color flips

Holds the trade through the run of same color candles and closes when the color flips back, letting winners ride the trend.

Heikin Ashi stop loss

Stop loss below the low, above the high of the latest Heikin Ashi candles, switchable to ATR or points. Optional EMA filter.

Self computed, panel on the chart

The EA computes Heikin Ashi itself, no indicator needed. A draggable panel shows candle color, number of same color candles, wicks and enabled setups.

Overview

Heikin Ashi Forex Robot (code GD-8812) is an EA for MetaTrader 4 and MetaTrader 5 that trades Heikin Ashi candles. Heikin Ashi candles come from average prices: the HA close is the average of open, high, low and close; the HA open sits at the middle of the previous HA body. So the candles are smoother than normal ones, an uptrend shows as a run of green candles and a downtrend as a run of red ones.

The EA has 3 setups switched on or off separately: color change (default), strong candles without wicks, and runs of same color candles. The default stop loss is below the low, above the high of the last 3 Heikin Ashi candles, with no take profit; the EA closes trades when the Heikin Ashi candle flips color, so winners ride the whole run. Turn on the EMA filter to trade only with the trend. Signals always come from closed candles.

Default settings are made for gold XAUUSD. With brokers quoting gold with 3 decimals (for example 2650.125), 1 dollar of gold = 1000 points. With brokers quoting 2 decimals, 1 dollar = 100 points, so divide the point settings by 10.

Example with default settings on H1: after a run of red Heikin Ashi candles, the 13:00 candle closes green. At 14:00 the EA opens a BUY 0.01 lot at about 2652.400, stop loss 100 points below the lowest low of the last 3 Heikin Ashi candles. The trade is held through the green run; when a Heikin Ashi candle closes red, the EA closes it.

The panel on the chart shows the color of the last closed Heikin Ashi candle, the number of same color candles, wicks, EMA filter status, enabled setups and open trades. One single file for a 7 day demo trial and live trading with a license. Every trade has the comment "www.HoangTrong.com", default Magic number 8812.

Changelog

Version 1.024/11/2026

First release of Heikin Ashi Forex Robot.

  • Heikin Ashi color change
  • Strong candles without wicks
  • Runs of same color candles
  • Close when color flips
  • Heikin Ashi stop loss
  • Self computed, panel on the chart

FAQ

Is the trial version different from the full version?

No. Each product has a single file. Without a license it runs for 7 days on a demo account. Buy a license for your account ID and it runs on your live account, no new download needed.

What is WebRequest and why does the EA need it?

WebRequest is the permission that lets an EA connect to an address on the internet. HoangTrong.com EAs use it to activate the license, then check themselves offline. See how to enable WebRequest.

How do I activate the license?

Buy a license for the correct MetaTrader account ID, then click Activation in the EA. You don't need to enter or store any key. After reinstalling, just activate again.

What if I want to use the EA on another account ID?

A license is permanently tied to the account ID it was bought for. To use the EA on another ID, buy an extra ID right on the product page: if you already own the license, each extra ID costs only 100,000 VND.

Multi-account licenses

Extra IDs only 100,000 VND/ID

Each license includes 1 account ID. Each extra ID is only 100,000 VND, for both retail and COMBO prices, valid forever.

  1. What is an account ID?It's your MT4/MT5 login number, shown in MetaTrader and in the email the broker sends when you open the account.
  2. Buy several IDs at onceEnter IDs separated by commas, for example 12345678, 87654321. Up to 20 IDs per order.
  3. Add IDs laterOnce you have a license, come back to this page, enter the new ID and click Buy a license. You're only charged 100,000 VND per ID, not the license price again.
Buying extra IDs: sign in firstSign in with the website account you bought the license with to get the 100,000 VND per ID price. With a different website account, the system cannot see your license and charges the full license price.
Example1 ID3 ID
Retail price500,000 VND700,000 VND
COMBO price5,000,000 VND5,200,000 VND
Add IDs later100,000 VND per ID (signed in)

Besides Heikin Ashi Forex Robot

Other products from HoangTrong.com

View all products
CB-8912IndicatorsMT4MT5

Heikin Ashi Indicator

Draws Heikin Ashi candles, draws BUY, SELL arrows on a color change, a strong candle without wicks or a run of same color candles, EMA filter and phone notifications.

  • Heikin Ashi candles on the chart
  • Arrows on color change, strong candles, runs
  • Alert popup, sound and phone notifications
LicensingFree with any EA
Details
GD-8801Indicator-basedMT4MT5

RSI Overbought Oversold Forex Robot

The EA opens BUY and SELL orders on RSI signals in the overbought and oversold zones, with built-in stop loss, take profit, break-even and Trailing Stop.

  • 3 RSI entry scenarios, each can be switched on or off
  • Stop loss, take profit, break-even and Trailing Stop
  • Limits on order count, trading hours, spread, 1 order per candle
Retail price500,000 VND
Details
GD-8805Indicator-basedMT4MT5

Multi-Timeframe RSI Forex Robot

EA opens orders on RSI overbought and oversold signals, filters signals with the RSI of 5 timeframes switched on or off separately, multi-timeframe RSI table right on the chart.

  • 3 RSI entry scenarios, same as GD-8801
  • 5 RSI filter timeframes, each with its own inputs and on/off
  • Multi-timeframe RSI table on the chart, unused filters clearly marked
Retail price500,000 VND
Details

Need a different feature?

Order a custom EA built on your strategy, priced per feature.