VI

Asian Session Box Breakout Forex Robot

Box breakout EA for gold: takes the Asian session high and low, places a Buy Stop and a Sell Stop on both sides of the box, enters in the direction price breaks out and deletes the other order once one fills.

Robot Forex MT4MT5 GD-3302v1.0 Lifetime 7-day trial 23/11/2026
Asian session box breakout–Box hours (server time)00:00 - 07:00High · low of box2652.000 · 2640.000Box height12000 pointBuy Stop2652.200 · filledSell Stop2639.800 · goneStop loss · take profitOpposite side · 1.0 x boxOpen positionBUY 0.01 lot · +6.80Delete pending · close orders20:00 · 23:00Order open, closes at 23:0009:42 BUY filled, deleted the other pending order
The EA panel on the MetaTrader chart (sample data: box 2640.000 - 2652.000, price broke up and filled the Buy Stop, the Sell Stop was deleted). The panel can be dragged; click the top-right button to collapse it.
GD-3302 1.00 (XAUUSD,H1)
CommonInputs
VariableValue
ab========================================GENERAL SETTINGS
01Magic number (per product code)
01Maximum spread when placing pending orders (points, 0 = no limit)
½Volume (lot)
Trade direction
ab========================================PRICE BOX
abBox starts at (server time)
abBox ends, place pending orders at (server time)
01Skip days with a box smaller than (points, 0 = off)
01Skip days with a box larger than (points, 0 = off)
Draw the box and order prices on the chart
ab========================================PENDING ORDERS
01Pending order distance from box high / low (points)
Delete the other pending order once one fills
abDelete unfilled pending orders at (server time)
ab========================================STOP LOSS AND TAKE PROFIT
Stop loss
01Stop loss in points
Take profit
½Take profit equals box height times
01Take profit in points
ab========================================CLOSE ORDERS WITHIN THE DAY
Close open orders within the day
abClose orders at (server time)
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

Every day the EA uses the sideways range in a quiet period (default 00:00 - 07:00 server time) as the box. Whichever side price breaks out, it enters that way with a pending order.

Buy StopSell Stop (deleted)Take profit = 1 x box heightStop loss: box lowBUY filledBox 00:00 - 07:0000:0007:00 place pending orders
Price moves sideways during the box hours. When the box ends the EA places a Buy Stop above the high and a Sell Stop below the low; price breaks up, fills the Buy Stop and the Sell Stop is deleted.
  1. 1Build the price box

    From 00:00 to 07:00 (server time) the EA records the highest and lowest price of M1 candles.

    • Boxes smaller than 10000 points or larger than 50000 points skip the day
  2. 2Place pending orders

    At 07:00 the EA places two pending orders, once per day.

    • BUYBuy Stop 200 points above the box high
    • SELLSell Stop 200 points below the box low
  3. 3Fill and manage

    When one order fills the other is deleted. Stop loss at the opposite side of the box, take profit at 1 x box height.

    • 20:00 delete unfilled pending orders
    • 23:00 close open orders
    • Break-even and Trailing Stop switched on separately
  • Box, delete and close times use server time (the time shown in MetaTrader), not Vietnam time.
  • If price has passed an order level before 07:00, the EA skips that side and only places the other.
  • On days price does not break the box, the pending orders are deleted at 20:00 at no cost.
  • Restarting the EA during the day does not place pending orders a second time.
Time-based price box

Box start and end times are adjustable (server time). The EA takes the high and low of M1 candles in the box hours, independent of the chart timeframe.

Pending orders on both sides

When the box ends, the EA places a Buy Stop above the high and a Sell Stop below the low, once per day. Whichever side price breaks fills that order and the other is deleted.

Stop loss and take profit by box

Stop loss at the opposite side of the box, take profit at box height times a factor. Or set stop loss and take profit in points.

Skip bad days

Skips days with a box that is too narrow (false breakouts) or too wide (stop loss too far). If price already broke out before the order time, that side is skipped.

Done within the day

At the set times the EA deletes unfilled pending orders and closes open orders, holding nothing overnight (can be turned off).

Box and panel on the chart

The EA draws the box and order prices on the chart. The draggable panel shows the box high, low and height, pending order status and open orders.

Overview

Asian Session Box Breakout Forex Robot (code GD-3302) is an EA for MetaTrader 4 and MetaTrader 5 that trades breakouts of a sideways range. During the Asian session gold often moves sideways in a narrow range. When the European session opens, price often breaks out of that range and runs strongly in one direction. The EA catches this breakout with pending orders.

Every day the EA takes the highest and lowest price in the box hours (default 00:00 - 07:00 server time). When the box ends, it places a Buy Stop above the box high and a Sell Stop below the box low, 200 points away. Price breaking up fills the BUY, breaking down fills the SELL; the other order is deleted. Stop loss sits at the opposite side of the box, take profit equals the box height. At 20:00 the EA deletes unfilled pending orders, at 23:00 it closes open orders.

Default settings are made for gold XAUUSD. On brokers quoting gold with 3 decimals (e.g. 2650.125), 1 gold price unit = 1000 points: a 200-point distance from the box is 0.2, and days with a box smaller than 10 or larger than 50 are skipped. On brokers quoting gold with 2 decimals, 1 unit = 100 points, so divide the point inputs by 10.

Server time. All times in the EA are server time, the time shown in MetaTrader. On a GMT+2 broker, 00:00 - 07:00 server time is 05:00 - 12:00 Vietnam time. Adjust the box hours to your broker.

Example: the box runs from 2640.000 to 2652.000 (12000 points high). The EA places a Buy Stop at 2652.200 and a Sell Stop at 2639.800. Price breaks up and fills the BUY, the Sell Stop is deleted. The BUY has a stop loss at 2640.000 (box low) and take profit at 2664.200 (entry plus box height).

The EA draws the box and two order price lines on the chart. The panel on the chart shows the box high, low and height, the status of both pending orders and open orders. One single file runs a 7-day trial on a demo account and runs live with a license. Every order carries the comment "www.HoangTrong.com" and the product's own magic number.

Changelog

Version 1.023/11/2026

First release of Asian Session Box Breakout Forex Robot.

  • Time-based price box
  • Pending orders on both sides
  • Stop loss and take profit by box
  • Skip bad days
  • Done within the day
  • Box 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 Asian Session Box Breakout Forex Robot

Other products from HoangTrong.com

View all products
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
GD-8802Indicator-basedMT4MT5

MA Crossover Forex Robot

The EA opens BUY and SELL orders when the fast MA crosses the slow MA, with built-in stop loss, take profit, break-even and Trailing Stop.

  • BUY when the fast MA crosses up, SELL when it crosses down
  • Separate period and MA type for each line
  • Stop loss, take profit, break-even and Trailing Stop
Retail price500,000 VND
Details

Need a different feature?

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