VI

Robot Forex Fair Value Gap, Order Block (SMC)

EA trades Smart Money (SMC): enters when price pulls back to a Fair Value Gap (default), an Order Block or breaks structure (BOS), EMA 200 trend filter; stop loss beyond the zone, take profit by R:R.

Robot Forex MT4MT5 GD-8825v1.0 Lifetime 7-day trial 24/11/2026
SMC: FVG, Order Block · H1–EMA 200 trendUp · BUY onlyUntouched FVGsUp 0 · Down 0Untouched Order BlocksUp 0 · Down 0Structure high · low2660.919 · 2655.898Take profitR:R 2.0FVG pullbackOnOrder Block pullbackOffBreak of structure (BOS)OffOpen positionBUY 1 · SELL 0Waiting for SMC signal on H116:00 Opened BUY: pullback to bullish FVG
EA panel on the MetaTrader chart (illustrative figures, default settings). The panel is draggable; click the top-right button to collapse it.
Companion indicator, free
GD-8825 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
01Extra distance beyond the zone, low, high (points)
01Stop Loss in points (0 = none)
½ATR stop loss: ATR 14 multiplier
Take profit
½R:R ratio (take profit = ratio x stop distance)
01Take Profit in 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========================================FVG, ORDER BLOCK, STRUCTURE SETTINGS
01Candles searched for FVGs, Order Blocks
½Minimum FVG: ATR 14 multiplier
01Order Block: candles in the impulse after the OB candle
½Order Block: minimum impulse, ATR 14 multiplier
01Candles on each side to define structure highs, lows
Trend filter: BUY only above the EMA, SELL only below
01Trend filter EMA period
Draw untouched FVGs, Order Blocks on the chart
ab========================================ENTRY SCENARIOS
FVG pullback: price touches a bullish FVG and closes up BUY (bearish FVG SELL)
Order Block pullback: price touches a bullish OB and closes up BUY (bearish OB SELL)
Break of structure (BOS): close above the nearest high BUY, below the nearest low SELL
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 finds Fair Value Gaps (FVG), Order Blocks and structure highs, lows itself on closed candles of the entry timeframe (default H1), in the Smart Money (SMC) way: price tends to return to fill gaps and large-order zones before continuing with the trend.

BUYBUYBUYBUYBUYBUYBUYEMA 200Bullish FVG, Order BlockEntry point
The same H1 price segment, zones and signals calculated exactly as the EA does; price is above EMA 200 so the EA only looks for BUY. Choose a scenario to see where the EA enters: the green box is the FVG or Order Block, shaded from its formation to the candle that touches it; in the BOS scenario the dashed gold line is the broken structure high. The gold dot is the entry at the open of the candle after the signal candle.

Entry scenarios

  • 1. FVG pullbackDefault: YES
    • BUYFirst touch of a bullish FVG, candle closes up
    • SELLFirst touch of a bearish FVG, candle closes down
  • 2. Order Block pullbackDefault: NO
    • BUYFirst touch of a bullish OB, candle closes up
    • SELLFirst touch of a bearish OB, candle closes down
  • 3. Break of structure (BOS)Default: NO
    • BUYClose above the nearest structure high
    • SELLClose below the nearest structure low

When there is a signal

  1. 1Check conditions

    A new order opens only when all of these hold.

    • In the EMA 200 trend direction (on by default)
    • Within 00:00 - 23:59 (server time), spread no more than 250 points
    • No more than 10 orders, max 5 BUY and 5 SELL, max 1 order per H1 candle
  2. 2Open the order

    Stop loss beyond the zone, take profit by R:R.

    • Volume 0.01 lot
    • BUY stop loss below the zone bottom (or the signal candle's wick if lower), SELL above the zone top, plus 100 points
    • Take profit at 2 times the stop distance
  3. 3Close trades

    Trades close at the stop loss or take profit set.

    • Break even and Trailing Stop can be added if you want
    • Close opposite trades on a new signal: turn on if wanted
  • The EA finds and draws untouched FVGs, Order Blocks on the chart; touched zones are dropped. Signals are taken on closed candles.
  • Each zone only gives a signal on its first touch.
  • To see FVGs, Order Blocks and signals on the chart without automatic trading: FVG, Order Block indicator CB-8925 (free).
Finds FVGs itself

The EA finds price gaps (Fair Value Gaps) across 3 candles itself, skipping gaps smaller than 0.3 ATR.

Finds Order Blocks itself

The last opposite candle before an impulse of at least 1.5 ATR is marked as an Order Block.

Enters on the first touch

Each zone gives a signal only when price first returns to touch it and the candle closes in the zone's direction.

Break of structure (BOS)

Turn on to enter when price closes beyond the nearest structure high or low.

EMA 200 trend filter

BUY only above EMA 200, SELL only below; can be turned off to trade both directions.

Zones and panel on the chart

The EA draws untouched FVGs, Order Blocks; a draggable panel shows the trend, zone counts, structure high, low and open orders.

Overview

Fair Value Gap, Order Block Forex Robot (code GD-8825) is an EA for MetaTrader 4 and MetaTrader 5 that trades the Smart Money (SMC) way. The EA finds Fair Value Gaps (FVG), Order Blocks and structure highs, lows itself, then enters when price returns to these zones in the EMA 200 trend direction.

There are 3 scenarios, each switched on or off separately: FVG pullback (default), Order Block pullback and break of structure (BOS). Each zone only gives a signal on its first touch. Stop loss is placed beyond the zone, take profit at 2 times the stop distance.

Default settings are made for gold XAUUSD. On brokers quoting gold with 3 decimals (e.g. 2650.125), 1 gold price unit = 1000 points: an extra 100 points beyond the zone is 0.1. On brokers with 2 decimals, 1 unit = 100 points, so divide point settings by 10.

Example with default settings on H1: price is above EMA 200 (2652.521). There is an untouched bullish FVG 2658.791 - 2659.512. The 15:00 candle dips into the zone (low 2659.283) and closes up at 2660.925. At 16:00 the EA opens a BUY 0.01 lot at about 2660.925, stop loss 2658.691 (100 points below the zone, 2.234 price away), take profit twice that distance at 2665.392.

The chart panel shows the EMA 200 trend, counts of untouched FVGs and Order Blocks, the nearest structure high and low, take profit method, active scenarios and open orders. A single file runs as a 7-day trial on demo accounts and live with a license. Every order carries the comment "www.HoangTrong.com", default Magic number 8825.

Changelog

Version 1.024/11/2026

First release of Fair Value Gap, Order Block (SMC) Forex Robot.

  • Finds FVGs itself
  • Finds Order Blocks itself
  • Enters on the first touch
  • Break of structure (BOS)
  • EMA 200 trend filter
  • Zones and 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 Fair Value Gap, Order Block (SMC) Forex Robot

Other products from HoangTrong.com

View all products
CB-8925IndicatorsMT4MT5

FVG, Order Block (SMC) Indicator

Draws untouched Fair Value Gaps and Order Blocks, BUY, SELL arrows when price first returns to a zone or breaks structure (BOS), sends phone alerts.

  • Draws FVGs, Order Blocks
  • FVG, OB, BOS arrows
  • 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.