VI

Robot Forex ADX

EA that opens trades by ADX and DMI: +DI crossing -DI in a trend (default), ADX breakout, pullback to the EMA in a strong trend, ATR based stop loss and an ADX panel on the chart.

Robot Forex MT4MT5 GD-8809v1.0 Lifetime 7-day trial 23/11/2026
ADX 14 · H1–Trend strengthStrong (ADX 32.4)ADX vs previous candleRising+DI · -DI29.6 · 12.8Dominant sideBuyers (+DI above -DI)EMA 20 (candle 1)2651.380DI crossOn · ADX from 25ADX breakoutOffPullback in a strong trendOffOpen positionBUY 1 · SELL 0Waiting for an ADX signal on H109:00 Opened BUY on H1: +DI crossed above -DI, ADX 27.1
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.
GD-8809 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
01Stop Loss in points (0 = none)
½ATR stop loss: ATR multiplier
01Take Profit (points, 0 = none)
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========================================ADX SETTINGS
01ADX, DMI and ATR period
½ADX trend level
½ADX strong trend level
ab========================================ENTRY SCENARIOS
DI cross: +DI crosses above -DI BUY, below SELL
ADX breakout: crosses the trend level, follow the dominant DI
Strong trend pullback: price pulls back to the EMA and bounces
01Pullback EMA period
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 ADX, +DI, -DI on closed candles of the entry timeframe (default H1, period 14). ADX tells whether the trend is strong or weak, +DI and -DI tell whether buyers or sellers dominate. The default setup is DI cross with ADX from 25.

25ADX 14, +DI, -DISELLBUYSELLBUYSELLBUYEMA 20ADX+DI-DIEntry point
Same price stretch, computed with the exact Wilder ADX, +DI, -DI period 14 and EMA 20 like the EA. Choose a setup to view: the small gold dot is ADX on the signal candle, the large gold dot is where the EA enters at the open of the next candle. The shaded area below 25 is where ADX shows a sideways market: the DI cross setup skips crosses there.

Entry scenarios

  • 1. DI crossDefault: YES
    • BUY+DI crosses above -DI, ADX from 25
    • SELL+DI crosses below -DI, ADX from 25
  • 2. ADX breakoutDefault: NO
    • BUYADX crosses above 25, +DI above -DI
    • SELLADX crosses above 25, -DI above +DI
  • 3. Pullback in a strong trendDefault: NO
    • BUYADX from 30 and rising, +DI dominant, candle touches EMA 20 then closes up above the EMA
    • SELLADX from 30 and rising, -DI dominant, candle touches EMA 20 then closes down below the EMA

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

    ATR stop loss that adapts to volatility.

    • Volume 0.01 lot
    • Stop loss = 2 x ATR 14 of the just closed candle (can switch to points)
    • Take profit 5000 points
  3. 3Order management

    Two automatic functions, off by default, each turned on separately.

    • Breakeven: at 2000 points profit, Stop Loss moves to entry + 100 points
    • Trailing Stop: from 3000 points profit, Stop Loss follows price 1500 points away
    • Stop Loss only moves in the profitable direction
  • The EA computes ADX from price the Wilder way, so the MT4 and MT5 versions give the same signals. The built-in ADX in MetaTrader smooths differently, so its numbers may differ by a few units.
  • ADX shows strength, not direction: a high ADX can be an uptrend or a downtrend, the direction comes from +DI and -DI.
  • If one setup gives BUY and another gives SELL on the same candle, the EA skips that candle. Direction: Both BUY and SELL, BUY only, SELL only.
  • Want to see the signals on the chart without auto trading: ADX indicator CB-8909 (free).
DI cross in a trend

+DI crossing above -DI is BUY, below is SELL, only when ADX is from 25. Default setup, skipping crosses in sideways markets.

ADX breakout

ADX crossing above 25 means a trend is forming, the EA enters on the side of the dominant DI.

Pullback in a strong trend

ADX from 30 and rising, price pulls back to EMA 20 and bounces, the EA adds a trade with the trend.

Sideways market filter

ADX below 25 means sideways, when trend EAs often enter wrongly. The EA stays out during these stretches.

ATR stop loss

Stop distance = 2 x ATR 14, wider when price is volatile, tighter when it is slow. Can switch to a fixed number of points.

ADX panel on the chart

A draggable panel shows trend strength, whether ADX is rising or falling, +DI, -DI, the dominant side, EMA 20 and active setups.

Overview

The ADX Forex Robot (code GD-8809) is an EA for MetaTrader 4 and MetaTrader 5 that opens trades by Wilder's ADX and DMI indicators. DMI has +DI measuring buying pressure and -DI measuring selling pressure; ADX measures trend strength regardless of direction. ADX at 25 or above means a clear trend, below 20 means sideways.

The EA has 3 setups toggled separately: DI cross with ADX from 25 (default), ADX breakout above 25, and pullback to EMA 20 when ADX is from 30 and rising. Thanks to the ADX condition, the EA stays out of sideways stretches, where trend EAs usually keep entering and getting stopped out. The default stop loss is ATR based so it adapts to volatility. Signals always come from closed candles.

Default settings are made for gold XAUUSD. On brokers quoting gold with 3 decimals (for example 2650.125), 1 gold price unit = 1000 points: a 5000-point take profit is 5 price units. With 2 decimals, 1 unit = 100 points, so divide the point inputs by 10.

Example with default inputs on H1: the 08:00 candle closes, +DI rises to 24.8 crossing -DI at 21.3, ADX 27.1 (from 25). At 09:00 the EA opens a 0.01 lot BUY at about 2653.200; ATR 14 is 2.150 so the stop is 4.300 away (4300 points), at 2648.900; take profit 5000 points from the entry.

The chart panel shows trend strength, whether ADX is rising or falling versus the previous candle, +DI, -DI, the dominant side, EMA 20, active setups and open trades. One single file runs the 7-day demo trial and live trading once licensed. Every trade carries the comment "www.HoangTrong.com", default Magic number 8809.

Changelog

Version 1.023/11/2026

First release of the ADX Forex Robot.

  • DI cross in a trend
  • ADX breakout
  • Pullback in a strong trend
  • Sideways market filter
  • ATR stop loss
  • ADX 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 ADX Forex Robot

Other products from HoangTrong.com

View all products
CB-8909IndicatorsMT4MT5

ADX Indicator

Draws BUY, SELL arrows right on the price chart by ADX and DMI: +DI crossing -DI in a trend, ADX breakout, pullback to the EMA in a strong trend, phone notifications.

  • ADX arrows right on the price chart
  • Skips signals in sideways markets
  • 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.