MT4 & MT5 Gold XAUUSD · M5 · 12 languages

The gold grid EA with the brakes built in

JinShang ChunYang EA trades gold with a grid basket that closes on a small pullback. What sets it apart is what happens when the market doesn't pull back: an account stop-loss that pauses instead of re-entering, news and trend-day guards, and a one-click hedge lock - all visible on the chart.

  • Risk: a strong one-way move will trigger the stop-loss and realise a loss. Size your deposit with a margin and trade only money you can afford to lose.
  • Non-custodial - runs in your own MT4/MT5 account at your own broker.
  • Installs in about 5 minutes; free 7-day trial on request.
XAUUSD · M5 · v1.2.8
The EA running on a gold M5 chart with the on-chart control panel
Auto trading running
basket closes on a pullback
Account stop-loss
closes all, then pauses
Real screenshot - EA v1.2.8 on a MetaTrader 5 demo account, 2 Dec 2026.
MetaTrader 4 & 5Gold XAUUSDAccount stop-loss with pauseNews & trend-day guardsOne-click update
Backtest

700 USD account, Balanced preset

Tick-by-tick backtest with every default protection on, over the last four weeks - including the large one-way move in early November.

~36USD / day
Backtest, not a promise

Last four weeks · 1 stop-loss along the way

Backtest result over the last four weeks, net of the stop-loss - not a promise. In favourable months the same setup made 50–60 USD / day; in a strong one-way market it stops out and pauses.

50–60 USDper day in favourable months
420 USDstop amount = 60% of a 700 USD balance (max 500)
~40 USDadverse gold move that reaches the stop
See it running

The real EA, running live on a demo account

A 40-second screen recording of the EA on a MetaTrader 5 demo account: orders, floating P/L and the control panel update in real time. Nothing is mocked up.

MetaTrader 5 · XAUUSD M5 · demo · v1.2.8
Demo account, recorded 2 Dec 2026. The recording is only cropped and resized, no sound. Demo results are not live results.
How it works

Three moves, all on the chart

A basket opens, adds on a fixed grid and closes on a small pullback. If the market keeps running, the brakes take over.

01 · GRID

Add on the grid, exit on a pullback

  • Opens a basket and adds an order each time gold moves a fixed step against it.
  • The average entry moves with every add, so a small pullback is enough.
  • The whole basket closes together at its take-profit, then a new cycle starts.

Illustration on a simulated price move, not a live account.

average entry basket take-profit 0.020.020.020.030.030.04 basket closed + gold price
02 · STOP-LOSS

When it doesn't pull back: stop, then pause

  • When the floating loss reaches the stop amount, every order of the EA is closed.
  • Stop amount = the smaller of 500 USD and 60% of balance, so small accounts are protected too. The panel always shows the current figure.
  • The EA then stays Paused - it won't throw the rest of the deposit back into the same move. Press Resume when you're ready.

Illustration on a simulated price move, not a live account.

floating loss = stop amount all closedpaused
03 · HEDGE LOCK

Freeze the position in one click

  • Hedge lock opens an opposite order equal to the net position, so P/L stops moving.
  • Use it before NFP or when gold runs hard; switch on Auto-lock to do it at a loss threshold.
  • Nothing opens, adds or closes until you press Resume. A lock pauses the loss, it does not remove it.

Illustration, not a live account.

hedge-locked: net position 0 floating loss frozen until you press Resume
Protection

Guards that run without you

Each guard can be tuned for your account remotely by your agent; changes reach the EA within a minute.

Trend-day guard

If gold moves too far in one direction today (threshold from the 14-day average range), no new cycle opens until tomorrow.

News guard

No new cycles around NFP, CPI, rate decisions and other 4-star US releases. The next window is shown on the chart.

Auto-lock on loss

Optional: hedge-lock automatically when the floating loss reaches your threshold, with an alert and a push to your phone.

One copy per account

Attach the same account twice and the second copy stands down by itself, so positions can never double.

Offline-safe

Lose the connection and open trades keep their logic. After 24 hours offline the EA simply stops opening new cycles.

Says why it's idle

Not trading? The panel spells out the reason: AutoTrading off, account not activated, news window, order rejected.

Message an agent
Presets

Two presets, one engine

Same code, same protections. The presets differ in how hard they add and how fast they exit.

Balanced

For most accounts
Recommended capital
700 USD
Last four weeks
~36 USD/day, 1 stop
Favourable months
~50–60 USD/day
Adverse move to stop
~40 USD

Aggressive

Heavier adds, faster exits, stops more often
Recommended capital
700 USD
Last four weeks
~53 USD/day, 2 stops
Favourable months
~70 USD/day
Adverse move to stop
30+ USD

Tick-by-tick backtests with default protections. In the last four weeks the Aggressive preset's equity drew down to about half at one point. Past results do not guarantee future ones.

Free 7-day trial
Control panel

Six buttons, plain answers

Everything you need to step in is on the chart. The buttons only touch this EA's orders.

On-chart control panel
Auto-lockHedge-lock automatically at your loss threshold.
ResumeContinue after a lock, a pause or a stop-loss.
Hedge lockFreeze the net position with one opposite order.
Close buysClose this EA's buy orders, then pause.
Close sellsClose this EA's sell orders, then pause.
Close allClose all of this EA's orders, then pause.

Destructive buttons ask for confirmation. State and settings survive a terminal restart and every update.

Getting started

Live in four steps

Open an account

Any MT4 account with gold, or an MT5 Hedging account. 700 USD recommended, or a cent account.

Get activated

Send your account number to an agent (the form below takes a minute) or buy online with USDT. Trial or full licence, activated on the server.

Install

Run the installer, pick your data folder, attach the EA to a gold M5 chart.

Turn on trading

Switch AutoTrading (MT4) or Algo Trading (MT5) on. The panel confirms licence and status.

At a glance

Five facts

What is it?An Expert Advisor for MetaTrader 4 and 5 that trades gold (XAUUSD) on M5 with a grid basket, an account stop-loss with pause, news and trend-day guards, a hedge lock and an on-chart panel.
Who is it for?Traders who want automated gold trading with clear limits, run on a VPS or an always-on PC, and who still check the account every day.
How does it work?It adds orders on a fixed grid as price moves against the basket and closes the whole basket on a pullback. If price keeps going, the account stop-loss closes everything and pauses.
How is it licensed?Per MT4/MT5 account, through authorised agents or online with USDT. Trial, full licence and renewals are managed online; updates are one click.
What are the risks?It is a grid strategy: a strong, continuous move against the basket ends in a stop-loss. It is not investment advice and backtests do not guarantee future results.
FAQ

Questions, answered

Anything else? Leave your contact below and an agent will reply.

Which account do I need?

MT4: any account with gold (XAUUSD). MT5: a Hedging account - the strategy holds buys and sells at the same time, so Netting accounts are not supported. Recommended capital is 700 USD per account, or 70,000 USC on a cent account.

Does it guarantee profit?

No. It is a grid strategy that adds to positions as price moves against it. A strong, continuous one-way move will hit the account stop-loss and realise a loss. Backtest figures describe past periods only. Trade only with money you can afford to lose.

What happens when the stop-loss is hit?

The EA closes all of its orders and stays Paused. It does not reopen on its own, so the rest of the deposit is not thrown back into the same move. You (or your agent, remotely) press Resume when you are ready, and the stop-loss re-arms.

How is the stop amount calculated?

It is the smaller of 500 USD and 60% of the balance. A 700 USD account stops at 420 USD, a 470 USD account at 282 USD; only above 834 USD does the full 500 USD apply. The panel always shows the current figure.

What happens around high-impact news?

Around major US releases (NFP, CPI, rate decisions and other 4-star events) the EA does not open new cycles. Existing baskets keep running to take-profit. The next news window is shown on the chart.

Do I need a VPS?

The EA has to run while the market is open, so a Windows VPS or an always-on PC is recommended. If the connection drops, open trades keep their logic; after 24 hours offline the EA only stops opening new cycles.

Can I run it on two computers?

One copy per account. If the same account is attached again elsewhere, the later copy detects it, does not trade and says so on the chart, so positions can never double up.

Can I intervene manually?

Yes. The on-chart panel has Auto-lock, Resume, Hedge lock, Close buys, Close sells and Close all. The buttons only touch this EA's orders, never your manual trades or other EAs.

How are updates delivered?

When a new version is published, an "Update now" button appears on the chart. One click, about 10 seconds, and the EA reloads itself with positions, state and settings kept.

What languages does it support?

The panel comes in 12 languages, including English, Malay, Arabic, Portuguese, Spanish, French and Chinese. It follows your terminal language automatically; you can also pick one in the inputs (InpLanguage).

How do I get a license?

Licenses are issued per account by authorised agents, or you can buy one online with USDT and it activates automatically after payment. Once activated, the EA starts within a minute. Trial, full licence and renewals are handled on the server - you never reinstall to renew.

Start with a free 7-day trial

Download it yourself: enter your MT4/MT5 account number and the installer is ready in a minute - no payment needed.

Leave a way to reach you. An authorised agent will get back to you, activate a trial on your account and help with the install.

Prefer to buy right away? Pay with USDT online - the licence activates automatically and the installer downloads straight after payment.

Your agent:

Or leave your details below.

Trading gold with leverage carries a high level of risk. A strong one-way move can trigger the stop-loss and lose part of the deposit. Past and simulated results do not guarantee future ones.

Free trialMessage an agent