BESTMT4EA

Free Forex EA

Gold Scalping Expert Advisor: 7 Rules That Keep You Alive

Seven survival rules for a gold scalping expert advisor on MT4 and MT5: spread budget, session choice, stop placement, ATR position sizing and a daily loss cap.

BESTMT4EA Trading Desk
Updated 28 August 202618 min read

Quick answer

A gold scalping expert advisor survives on seven habits, not seven secrets: a spread budget you refuse to trade outside, one session you actually trade, stops placed beyond gold's normal noise, position size derived from ATR, one position at a time, a hard daily loss limit, and a written re-test date. Ignore any one of them and the account, not the robot, pays first.

Key takeaways

  • Spread is the first number in gold scalping, not the entry signal — XAUUSD spreads can double between sessions, and that cost is paid on every trade.
  • Trade one session window (the London–New York overlap) and leave the thin hours alone, because that is where both spread and slippage spike.
  • A stop belongs beyond the recent swing or 1.5–2x ATR, not at a round number or a fixed 15-point count.
  • Position size comes from stop distance and account risk, not from how confident the signal looks.
  • One open gold position at a time prevents three 'different' scalps from becoming one large, correlated bet.
  • Set a hard daily loss limit in money and enforce it in the EA, then re-test on a fixed written schedule because gold's volatility regime keeps shifting.
Free companion resourcev1.0Free to use, print and share with credit to bestmt4ea.com

XAUUSD (Gold) EA Session & Settings Checklist

A free companion resource for this article, built in-house: a practical worksheet or checklist to use alongside what you have just read. It is not the product, EA or indicator this article discusses, and nothing in it installs on your terminal.

Version
1.0
Licence
Free to use, print and share with credit to bestmt4ea.com

Licence:Free to use, print and share with credit to bestmt4ea.com

How to install it

  1. 1

    Download the source file

    Open the Grid Master Pro MT5 EA repository and download GridMaster Pro.mq5 — a single readable MQL5 file.

  2. 2

    Open the MetaTrader 5 data folder

    In MetaTrader 5, go to File then Open Data Folder. This is the folder the platform actually reads from, not your normal Documents folder.

  3. 3

    Copy into MQL5/Experts

    Place GridMaster Pro.mq5 inside MQL5/Experts.

  4. 4

    Compile in MetaEditor

    Open the source file in MetaEditor and press Compile. Because the source is provided, you control the binary and any compile errors are visible.

  5. 5

    Attach to a gold chart

    Drag the expert onto an XAUUSD chart, allow the Algo Trading button to turn green, and set GridMode, MaxOrders, the ATR multiplier and your drawdown threshold in the inputs.

BESTMT4EA Trading Desk

MQL4/MQL5 developers and traders. We publish the live track record for everything we review.

Ask us on Telegram

Type “gold scalping expert advisor MT4 free download” into any search box and you get a wall of files. Most are free. A few even work. Almost none of them explain the part that actually decides whether you keep trading next month.

Here is the uncomfortable truth about scalping gold (XAUUSD). The entry signal is the least important part of the system. A good entry fired through a 45-point spread, with a stop sitting inside the noise and three positions open at once, loses money with total consistency. A mediocre entry fired through a tight spread, with a wide stop and ATR-sized lots, survives long enough to improve.

That gap — between what a download promises and what your account actually needs — is where most people lose. And it is where this guide lives.

Notice what the marketing leaves out. It sells a strategy and hides the operating conditions. It rarely mentions the spread you will actually pay at 14:30 on a news day, or that a 15-point stop is close to a coin flip against gold’s ordinary five-minute range. Those details are not secrets either. They are simply unglamorous, and unglamorous does not sell a download.

The seven factors below are those operating conditions. Enforce them and a free EA can behave like a serious tool. Ignore them and even a well-built one will slowly bleed an account while you blame the logic.

The problem is not the robot, it is the seven things around it

You have probably done this already. You downloaded a free gold scalper, attached it to an XAUUSD chart, watched it take a few trades, and felt that small flicker of certainty. Then a week passed. The equity curve went sideways and down. You wondered whether the EA was broken, or whether you picked a bad one.

It was probably neither. It was probably the environment you ran it in.

Gold is not EURUSD with a different label. Its spreads move. Its volatility arrives in bursts. It reacts to US data, to the dollar, to real yields, and to headlines that have nothing to do with technical analysis. A scalping robot designed on a stable pair gets handed a market that changes character three times a day. If the rules around it are loose, the results look random — and random results get blamed on the tool.

This is the part nobody selling you an EA wants to say out loud. The download is the easy bit. What decides the outcome is a short list of boring decisions: what spread you accept, which hours you trade, where your stop goes, how big the position is, how many positions run at once, when you stop for the day, and when you re-check the whole thing.

Advertisement

The story of a two-thousand-dollar account, in nine days

This is an illustrative composite, not a real trader’s account. It shows a pattern that appears often.

Tomas, a composite trader, started in March. He had a 2,000 USD account, an MT4 gold scalper he downloaded for free, and a plan he described as “small stops, quick exits”.

His stop was 15 points. That is 0.15 USD on gold. The London session was calm that first week, and he finished it up 180 USD. He felt good. He increased his lot size, because the account was clearly working.

Then the second Tuesday arrived. An inflation print landed at 13:30 UTC. Gold jumped, then reversed, then jumped again. His 15-point stop was inside the first candle. Tomas got stopped, re-entered, got stopped again, and re-entered a third time, now with a bigger lot because he wanted the money back. He also had a second and third position open by then, all long, all gold, all effectively the same bet.

By Friday his account showed 610 USD. Nine trading days, 1,390 USD gone, and not one of those losses came from a bad signal. Every one of them came from a rule he had never written down.

The cost of doing nothing is not abstract. It is the difference between a trader who is still in the market in six months with a funded method, and a trader who has decided that “gold scalping does not work” and moved on to a new download that will treat him the same way.

None of these are secrets, and all of them are ignored

The seven factors below are not hidden knowledge. Every experienced gold trader knows them. Almost none of the people running a free EA enforce them, because enforcing them takes discipline, and a robot cannot supply discipline you have not programmed into it or surrounded it with.

Read them as a survival checklist. A gold scalping expert advisor does not survive on clever logic. It survives because the person running it built a box the robot cannot escape — and the seven walls of that box are spread, session, stop, size, position count, daily loss limit, and a re-test date.

1. Your spread budget decides more than your entry does

Your first number in gold scalping is not the entry price — it is the maximum spread you will pay. Write it down in points and refuse to trade above it, because on XAUUSD the spread can double in the same minute a signal fires.

On gold, one point is 0.01 USD, and one full lot is 100 ounces. That makes the arithmetic unusually easy: 1 point on a 1.00 lot costs about 1 USD. So 20 points of spread costs roughly 20 USD every round trip on a full lot, before the market has moved at all. Spread is not a rounding error here; it is a standing tax.

Do the monthly maths once and you will never treat it as noise again. Trade twice a day, twenty days a month, and pay 20 points per trade on a 0.05 lot: that is about 40 USD a month in pure friction. Ran on a full lot, it is 800 USD a month. Your strategy has to beat that number before it earns anything.

Spread also does not sit still. It widens into every high-impact release, and it explodes through the rollover window, when the broker’s liquidity providers step away and the quote thins out. The same 0.05 lot that costs around 15 USD to open at 14:00 can cost 90 USD at 22:00 for no reason other than the hour. That is why the session rule in the next section is not a lifestyle preference — it is a cost-control decision.

Commissions and swap sit on top of that. A raw-spread account with a per-lot commission is often cheaper overall than a wider-spread account, but only if your volume makes the fee worth it, and only if the raw spread really is raw. Swap is a smaller factor on positions held for minutes, but it is not zero once you start leaving trades open through the evening.

Keep a spread column in your log. If your average paid spread creeps up, your edge is shrinking even when your win rate looks the same. Compare venues properly rather than on a single screenshot — our best forex brokers page breaks down the spread and execution differences that matter for exactly this. And remember that no ceiling removes the risk of loss; it only removes one avoidable one.

Advertisement

2. Which session should a gold scalper actually trade?

Trade one window — the London–New York overlap — and leave the thin hours alone. That is where XAUUSD spreads are usually tightest and volume is deepest, which is the environment a scalper was designed for.

The table below shows indicative spread behaviour by session. These are unverified rough ranges, not broker data. Treat them as a shape, not a promise: your own broker’s numbers are the ones that count, so check them on a demo account first.

Session (UTC)Typical XAUUSD spreadCharacter
Asian, 00:00–07:0030–60 pointsThin, range-bound, widest spreads
London, 07:00–13:0015–30 pointsStrong directional moves, news spikes
London–New York overlap, 13:00–17:0010–20 pointsTightest spread, deepest volume
New York late, 17:00–21:0020–35 pointsLiquidity fading, choppier
Rollover window, ~21:00–23:0050–200+ pointsAvoid entirely

The Asian session is where most automated gold scalpers quietly lose. Volume is thin, so the same order size moves price further, and a small pullback looks like a trend because there is no depth to absorb it. Combined with a wider spread, every trade starts further behind. A robot with no time filter will happily take those trades all night and report a flat, slowly decaying equity curve.

There is also a daylight-saving trap. London and New York shift by an hour twice a year, so a hard-coded session window drifts out of alignment if you set it once and forget it. Re-check the window after every clock change, or use a filter that reads the server time rather than a fixed number of hours.

A scalper that runs around the clock is paying the worst spreads in the quiet hours for the privilege of taking the lowest-quality trades. Restrict your EA to one window in its inputs if it supports a time filter, or switch AutoTrading off outside that window by hand. If you are still tuning how your robot handles session filters, our notes on XAUUSD scalping robot settings and tips go deeper into those inputs.

3. Where does a stop belong so gold’s noise cannot reach it?

A gold stop belongs beyond the range price normally travels against you — past the recent swing or about 1.5 to 2 times ATR — not at a round number and not at a fixed point count. If your stop sits inside the noise, you are not being stopped out by being wrong; you are being stopped out by gold breathing.

XAUUSD can cover 150 to 300 points in a single busy five-minute window. A 15-point stop is not a tight stop; it is a random number generator that pays the broker. The old habit of counting pips the way you would on EURUSD simply does not transfer to gold.

Two practical placements work well:

  • Beyond the last swing. Put the stop a buffer past the most recent swing high or low that would invalidate your idea. Add 20–30 points so a wick does not clip you.
  • From ATR. Measure ATR(14) on your trading timeframe and multiply by 1.5 or 2.0. This adapts automatically when gold gets quiet or violent.

Stop orders also fill differently from what a backtest implies. A stop becomes a market order once it triggers, so in fast conditions you get filled at the next available price, not the one you set. Gold’s gaps and spikes make this worse than it is on a major currency pair. Assume your real stop distance is a little wider than the label, and size as if it is.

Fixed point counts inherited from forex are the root of the problem. Fifty points on EURUSD and fifty points on gold are not comparable risks, because gold’s range is simply larger. When you switch symbols, you have to switch the way you think about distance as well.

Round numbers attract resting orders, so avoid sitting your stop right on 2,000.00 or 2,050.00. A wider stop is not a riskier stop — it is a riskier stop only if you keep the same lot size, which is the mistake the next rule fixes. If you want to see how settings like this get tuned without breaking the logic, our EA settings and optimization section is the place to start.

4. How do you size a gold position from ATR instead of from feeling?

Size the position from the stop distance and your account risk, never from confidence. The formula is short: lots = (account equity x risk percent) / (stop distance in points x value per point). Everything you need is already on the chart.

Advertisement

Work it through once with real numbers. You have a 5,000 USD account and you risk 0.5 percent per trade, which is 25 USD. ATR(14) on the five-minute chart reads about 2.00, so a 1.5x ATR stop is 300 points. On one full lot, 300 points is roughly 300 USD of risk. Divide 25 by 300 and you get about 0.08 lots.

Now notice what happened. The stop got wider and the position got smaller, so the money at risk stayed exactly where you decided it would be. That is the whole trick. Confidence never enters the equation, which is precisely why it survives a bad mood.

InputExample value
Account equity5,000 USD
Risk per trade0.5% (25 USD)
ATR(14), M5~2.00
Stop distance1.5 x ATR = 300 points
Value per point, 1.00 lot~1 USD
Position size~0.08 lots

Set this as a percentage in your EA’s inputs rather than a fixed lot if you can. A fixed 0.10 lot is a different risk on a 1,000 USD account than on a 10,000 USD one, and it is a different risk in a quiet week than in an NFP week. Always round the result down, never up; rounding up is how a 0.5 percent risk quietly becomes 0.7 percent, and it is the most common way the maths gets undone in practice. The expert linked further down turns that calculation into an input — risk percentage in, lots out — so you are not doing the arithmetic by hand at 14:29.

One caution on the value-per-point figure. It depends on your contract size and account currency, and it can differ between brokers and between gold CFDs and spot gold. The example above assumes a standard 100-ounce lot quoted in US dollars. If your account is denominated in euros or pounds, or your broker uses a different contract size, confirm the figure before trusting the output. That is part of why a dedicated tool beats a mental estimate — the inputs are visible, so a wrong assumption can be seen and corrected.

5. Why does one position at a time beat three?

Because on gold, three “different” scalps in the same direction are usually one bet wearing three tickets. When XAUUSD drops 400 points, every one of those stops hits together, and the loss is three times what your risk plan expected.

Correlated exposure is the quiet account killer in scalping. You open a long, it goes against you, and instead of accepting the loss you add — and the second and third positions are not independent ideas, they are the same idea at worse prices. Margin usage climbs, the drawdown deepens, and the emotional pressure to “get it back” grows with it.

Discipline here is simple to state. One position per symbol. No averaging down into a loser. No stacking because the last signal “looked strong”. Set it as a hard rule in the EA where possible, not as a preference you negotiate with yourself mid-session.

Margin tells the same story from the other side. Three gold positions at 0.1 lots each consume far more of your usable margin than one, and in a fast move the broker can close the weakest of them for you. That forced exit usually lands at the worst possible price, and it arrives exactly when you are least able to manage it. The cap protects you from that outcome as much as from your own decisions.

If you want a broader view of how professionals structure a scalping approach, our round-up of the top scalping strategies for gold trading shows how position count sits alongside risk per trade in a working method.

6. Why is a hard daily loss limit the rule you never negotiate?

A daily loss limit is the one rule that has to be decided in advance, because the day you need it is the day you will talk yourself out of it. Set it in money, wire it into the EA, and when the number is hit, trading stops — full stop.

The figure is personal, but 2–3 percent of equity per day is a common, defensible choice. On a 5,000 USD account that is 100 to 150 USD. The exact number matters less than three properties: it is written down, it is enforced automatically, and it is not editable at 16:00 when you are down and frustrated.

Why daily, and not just per trade? Because scalpers lose in clusters. One bad hour produces two losses, then a decision to size up, then two more. A per-trade limit cannot stop a spiral; a daily limit ends it by removing you from the screen. This is also where gold’s volatility punishes the person who keeps going for “one more trade”. Understanding that cluster behaviour is part of risk and money management, and it belongs in your settings, not in your willpower.

Implement the limit where you cannot override it easily. If your EA supports a daily loss input, use it. If it does not, set an account-level stop with your broker, or run the robot through a manager that enforces it. The point is to make the limit a property of the system rather than a decision you make while you are losing, because that is precisely when your judgement is worst.

Decide in advance what happens after the limit is hit. The useful answer is nothing — no more gold that day, and no “reviewing the charts” that quietly becomes a re-entry. Close the platform and come back tomorrow. Trading after a limit break is how a controlled loss turns into an uncontrolled one.

Advertisement

7. When should you re-test a gold scalping expert advisor?

Re-test on a written schedule — after any material change in volatility, after a broker or spread change, and at least once a quarter. Gold moves between calm regimes and violent ones, and settings tuned in a quiet month frequently fall apart in a CPI or NFP month.

The trap is treating a re-test as a one-off event you did when you installed the EA. Markets are not static inputs. A period of low volatility will make almost any scalper look smooth, and a single high-volatility week can erase a month of it if the stop and size assumptions no longer fit.

Put the dates in a calendar and keep a short log for each one:

  • Before the change: note current ATR range, average spread, and drawdown.
  • During the review: run the strategy tester on a recent sample, verifying rather than optimising.
  • After: forward-test on a demo account for a set period before returning to live.
  • Record the outcome: what changed, and whether the settings still match the current regime.

If you run several robots, do not re-test them all on the same day — stagger the dates so a single market event does not invalidate every conclusion at once.

Seasonality is part of this. Some months are simply quieter, and a scalper that looks steady in a low-volatility summer can struggle through an autumn of central-bank decisions. Your log should record the ATR range, not just the profit, so you can tell a real improvement from a lucky regime. A rising equity curve in a calm market is not evidence that the settings will survive a violent one.

Keep the schedule short and boring. A dated note once a quarter, plus a check after any change to your broker, spread or platform, is enough. What matters is that the re-test happens on a date, not on the day you finally feel worried — by which point the drawdown has usually already happened. Our guide to the best gold scalper for MT4 and MT5 is useful context for what a healthy set of assumptions looks like when you sit down to review.

A download you can read before you trust it

Rules four and six are the hardest to enforce by hand, because both rest on a calculation you would rather skip at speed — the lot that fits your stop, and the equity loss at which you stop. The download below is an open-source EA whose inputs do both of those things, and whose code you can read before it touches your terminal.

It is Grid Master Pro MT5 EA, an MIT-licensed MetaTrader 5 expert advisor by the developer sajidmahamud835. It is a grid system, so it breaks rule five by design — it is built to hold more than one order at a time — and that is exactly why it is worth reading: it shows you, in code, the trade-offs those seven rules exist to manage.

ItemDetail
ToolGrid Master Pro MT5 EA
PlatformMetaTrader 5
LicenceMIT
Authorsajidmahamud835
CostFree, with source included
Core jobATR-spaced grid with risk-based lot sizing and a drawdown circuit breaker
Needs from youA stop, a risk percentage per order, an ATR multiplier and a drawdown threshold
Sourcegithub.com/sajidmahamud835/grid-master-pro-mt5-ea

It is not a signal generator and it will not enforce the rules for you. What it does do is make two of them mechanical: its dynamic lot mode sizes each order from a risk percentage, which is rule four written as a formula, and its drawdown circuit breaker closes every position and pauses the grid once equity loss passes a threshold you set, which is rule six written as a hard stop.

Where it diverges is rule five. A grid adds orders as price moves against the first one, so the very exposure you are told to cap is the exposure this design deliberately grows. That is the honest risk of the whole family, not a flaw you can configure away, and it is why a tool you can read matters more than a screenshot you cannot.

Think of it as a map rather than a model. The arithmetic you rush when you are in a hurry — sizing and the stop-out rule — is visible here in readable code instead of hidden behind a green equity curve. If you want more free, openly licensed tools for MT4 and MT5, our free EA and indicator library collects them in one place.

What this tool does not do

Being honest about the limits is the difference between a tool and a promise, so here is the list.

  • It does not predict the market. It spaces orders from ATR and sizes them from a risk percentage you choose. If your direction is wrong, correct sizing only makes the loss smaller, not absent.
  • It does not enforce your spread cap or your session window. Those remain your job, or another EA’s job. Grid Master Pro is a grid trader, not a full risk manager.
  • It does not fix a bad broker. If your spread routinely sits above your budget, no grid spacing saves the strategy.
  • It does not stay single-position unless you make it. Rule five is a decision you impose through the grid mode and the order cap, not a property the file ships with.
  • It does not adapt to live volatility unless you leave the ATR logic switched on. You still have to feed it a stop and a risk figure from the current regime, which is why rule seven exists.
  • It has no warranty beyond its licence. It is provided as-is under MIT, so test it thoroughly before relying on it.

Trading gold, and forex in general, carries a high risk of losing capital. Nothing here is financial advice, and no tool or rule set makes loss impossible. Treat everything in this guide as a process to be tested, not a result to be expected.

What to do before your next gold trade

Pick one thing and do it today, not all seven tomorrow.

Open the Grid Master Pro download above, read its input block, and set a risk percentage per order and a drawdown threshold you can live with. Then write down your spread ceiling and your daily loss cap on the same page. Those two numbers alone will change how the next bad day goes.

If you run more than one gold tool, write the shared rules somewhere you cannot avoid them: spread ceiling, session window, one position, daily cap. The source handles the sizing and the drawdown stop; the sheet handles the rest. That combination is the whole method, and neither half works without the other.

If you find this useful, the free library at best MT4 EA has more openly licensed tools, and our blog keeps the survival guides together so you can build the box one wall at a time.

Test on a demo account first. Run it for at least a month. Change nothing for that month, and let the log tell you the truth before any real money does.

Frequently asked questions

What really decides whether a gold scalping expert advisor survives?

Seven practical factors: the spread you pay, the session you trade, where the stop sits, how the position is sized, how many positions run at once, the daily loss limit, and how often you re-test. Entries matter far less than these, because gold's cost structure and volatility will punish loose rules regardless of signal quality.

What is a reasonable spread budget for scalping XAUUSD?

It depends on your broker and account type, but as a working rule raw-spread accounts show roughly 10–20 points during the London–New York overlap and 30–60 points in thin Asian hours. Set a ceiling, refuse to trade above it, and treat any broker that routinely breaches it as a reason to test elsewhere before risking live money.

Which session is best for a gold scalping EA?

The London–New York overlap, roughly 13:00–17:00 UTC, usually offers the tightest spreads and deepest volume on XAUUSD. The Asian session is thinner and wider, and the rollover window around 21:00–23:00 UTC can see spreads explode. Pick one window and let the robot sit idle outside it.

How do I size a gold trade from ATR?

Use the formula: lots = (account equity x risk percent) / (stop distance in points x value per point). Derive the stop distance from ATR rather than a fixed count. For example, on a 5,000 USD account risking 0.5 percent (25 USD) with a 300-point stop, the position works out near 0.08 lots, because 300 points is about 300 USD risk on one full lot.

Is one position at a time really necessary on gold?

For most retail scalping accounts, yes. Two or three gold positions moving in the same direction are usually one bet wearing three tickets, so the stop-outs arrive together. Running a single position at a time keeps total exposure honest and keeps your attention on the trade you can actually manage.

What should a daily loss limit be set to?

It is personal, but a common and defensible choice is 2–3 percent of account equity per day, expressed in money and enforced automatically. The point is not the exact figure — it is that the limit is decided in advance and cannot be renegotiated in the moment when you are most tempted to break it.

How often should I re-test a gold scalping expert advisor?

Put it on a written schedule: after any material change in volatility, after a broker or spread change, and at least once a quarter. Gold moves between quiet and violent regimes, and settings tuned in a calm month frequently fail in a CPI or NFP month. A fixed date beats a vague intention to check it later.

AdvertisementExness

Some links on this page are affiliate links. If you open one and sign up, we may earn a commission at no extra cost to you. It never changes what we publish.

Sources

Risk warning

Past performance is not indicative of future results. Trading forex and CFDs carries a high level of risk and can result in the loss of all of your capital. The results shown are specific to the broker, account type and settings used on the tracked account and will differ elsewhere. Nothing on this site is financial advice.

Continue reading

#1 Ranked EA · Myfxbook Verified

Obsidian Aether EURUSD EA

AI-powered grid scalper for MetaTrader 5 — adaptive ATR spacing, range & trend dual detection, and institutional-grade risk management.

+74.12% GainPF 1.4414 Trades
View Full Review