Risk warning: Leveraged products carry substantial risk to your capital. Historical simulation describes what already happened under one particular set of assumptions, and it says nothing reliable about tomorrow. Never fund an account with money you cannot afford to lose.
What This System Does
Here it is in one paragraph, before anything else. The Advanced Gold Trading EA is a candlestick-driven approach built for gold on the M1 chart. It opens a long position after three consecutive bearish bars that each clear a minimum body height, and a short position after three consecutive bullish bars clearing the same threshold. Positions close through a protective exit level, an Accelerator Oscillator reading below a set line, or a reversal when the opposite signal appears.
Two housekeeping notes before the rules.
No file is distributed from this page. What follows is a written specification, detailed enough that somebody comfortable with EA Studio or MetaEditor could rebuild the logic independently. If you arrived looking for a download button, there isn’t one, and saying so in the second paragraph beats letting you hunt for it.
Second note, less comfortable. The original version of this article carried a daily profit figure with no supporting report attached. That was a mistake, and rather than quietly deleting the claim I’ve documented below exactly what was and wasn’t recorded at the time, so you can judge the evidence for yourself.
Quick Specification
| Item | Detail |
| Instrument | Gold against the US dollar, commonly quoted as XAUUSD |
| Chart period | M1 only |
| Platform | MetaTrader |
| Signal source | Candle direction plus minimum body height |
| Minimum body height | 35 pips as configured in EA Studio |
| Sequence required | Three consecutive bars in the same direction |
| Entry timing | Open of the following bar |
| Exit condition | Accelerator Oscillator below -1.75 |
| Protective exit | Yes, illustrated at $28 in the original material |
| Reversal on opposite signal | Yes |
| Build tool | EA Studio |
The Logic in Plain Language
Three bearish bars in a row usually mean sellers pushed hard for three straight minutes. This setup bets on a short-term bounce after that push, which is why the direction flips: bearish sequence, then buy. Bullish sequence, then sell.

That flip confuses people. I’ve had messages from readers who assumed the rules were reversed by accident. They aren’t.
The body height filter matters more than the color pattern does. Without it, entries would fire constantly, since minute charts throw up three same-direction candles all day long. Requiring real range on each of those three bars cuts the signal count down to something a scalping account can survive.
Long Entry Rules

- Confirm the chart period is M1. Not M5, not H1, and definitely not daily. Applied to daily bars, the same logic drifts up and down before ending negative, which I checked when the original recording was made.
- Wait for three completed bearish candles in sequence.
- Check that each of those three bars has a body of at least the configured minimum. Wicks don’t count toward it.
- Buy at the opening of the fourth bar.
- Place the protective exit level immediately on entry.
Short Entry Rules
- Same M1 chart, same body filter.
- Wait for three completed bullish candles in sequence.
- Verify each body clears the threshold.
- Sell at the open of the following bar.
- Protective exit goes on straight away.
Nothing asymmetric here. The short side mirrors the long side exactly, which I prefer, because asymmetric rule sets are harder to debug when something goes wrong.
Exits and Reversals

Three separate events can close a position:
- Accelerator Oscillator condition. For a long position, the AC reading must drop below -1.75. The indicator prints green bars while momentum rises and red bars while it falls, oscillating around zero. When it breaks under that level, the long closes.
- Protective exit level. A worked example from the original material: buy gold at 1700 with the exit sitting 28 dollars lower, at 1672. Price reaches 1672, position closes, and you wait for the next signal. Treat 28 dollars as one illustration rather than a recommended default, since the appropriate distance depends on prevailing volatility and your account size.
- Opposite signal. If you’re long and three qualifying bullish bars form, the buy closes and a sell opens.
Reversing is the habit I’d keep even if you never build this particular system. Traders fall in love with positions. Somebody buys gold for a reason, watches that reason evaporate on the chart, and holds anyway because the original thesis felt so convincing. Same story with long-term Bitcoin holders ignoring every warning sign. Take what the market gives you, close, wait. Belief is a feeling, not a signal.

About That 35 Pip Threshold
Gold quoting conventions differ between brokers, which makes “35 pips” ambiguous unless you check your own terminal. Some feeds treat one pip as 0.10, others as 0.01, and the digit count on your gold symbol tells you which. Open the specification window, look at the number of decimals, then convert the threshold into points before assuming the EA Studio default suits your broker.
Getting this wrong produces one of two failures. Set it too high and nothing ever triggers. Set it too low and you’re flooded with entries on noise.
What Was Tested, and What Wasn’t Recorded
This is the section the original article needed and didn’t have.
What the source material documents:
- The logic was built and examined in EA Studio, then run through the MetaTrader Strategy Tester, where the resulting balance curve matched the EA Studio output.
- The curve was positive across the tested period.
- The approach was traded or tested more than 280 times across roughly two to three months before publication. That count referred to individual positions, not separate simulation runs, and earlier wording on this page was ambiguous about it.
- A figure of over $600 per day was quoted at one lot.
What was never recorded, and therefore cannot be verified:
| Missing variable | Why it matters |
| Starting balance | Determines whether the daily figure is impressive or reckless |
| Exact test dates | Gold behaved very differently across 2022, 2023 and 2025 |
| Broker and data source | Tick quality changes results materially |
| Exact symbol traded | Contract size and digits vary widely between feeds |
| Spread and commission | On M1, costs dominate the outcome |
| Slippage assumption | Simulations frequently assume none |
| Maximum drawdown | The single most important number for survival, and it’s absent |
| Win rate and profit factor | No way to judge consistency without them |
| Modeling quality | Low settings interpolate movement that never occurred |
| Out-of-sample results | Nothing separates fit from edge |
So what should you do with the $600 claim? Discount it entirely, in my view. One lot on gold is a large position, the account behind it is unknown, and a daily average tells you nothing about the worst day inside that average. I’d rather publish this table than a confident number I can no longer support.
Anyone rebuilding the logic can produce their own report, and that report will be worth considerably more than mine because it will reflect current conditions and your actual broker.
Risk Management and Position Sizing
The original recording quoted results at one lot. That’s a large position for a small account, and I should have said so plainly at the time.
- Decide your maximum acceptable drawdown before choosing volume, not afterward.
- Size from the distance to your protective exit, not from a round number that feels comfortable.
- On minute timeframes, transaction costs matter disproportionately. Spread and commission take a bite out of every entry, and there are many entries.
- Any live application should follow weeks of demo observation, not days.
Broker conditions on gold vary enormously, so two people running identical settings can see meaningfully different outcomes.
Settings Reference
If you rebuild this logic, these values define its behavior. Change any of them and you’re running something else.
| Setting | Purpose | Value |
| Minimum body height | Candle filter threshold | 35 pips as configured in EA Studio |
| Candle sequence length | Bars required before entry | 3 |
| Accelerator Oscillator level | Exit trigger | -1.75 |
| Chart period | Fixed | M1 |
| Protective exit distance | Maximum adverse move | Set from your own volatility and risk assessment |
| Volume per position | Sizing rule | Set from your account size, never copied |
Limitations I’d Want You to Read
- Minute charts amplify transaction costs. A widening spread during rollover or an economic release can turn a marginally positive edge negative.
- Only gold was examined. Applying these rules to silver, indices, or currency pairs is untested territory.
- The candle filter was tuned on historical data, which introduces curve-fitting risk, and no out-of-sample check was published to counter that concern.
- Reversals mean the account is nearly always exposed, so quiet periods still generate churn.
- Automated execution on M1 depends on connection stability. A dropped session at the wrong moment leaves a position unmanaged.
- Rule sets age. Gold volatility in 2026 differs from conditions this logic was shaped around, which is the strongest argument for testing it yourself rather than trusting anything on this page.
Frequently Asked Questions
Does this logic work on both MT4 and MT5?
The rules themselves are platform-agnostic, since candle direction, body measurement, and the Accelerator Oscillator exist in both terminals. Compiled files are not interchangeable, though: an .ex4 will not load in MetaTrader 5, and an .ex5 will not load in MetaTrader 4. Anyone rebuilding this would compile separately for each. The original testing was performed in MetaTrader, and the source recording doesn’t identify which build, so treat platform behavior as something to verify yourself.
Which gold symbols does it apply to?
Brokers name their gold contract differently. Common variations include XAUUSD, XAUUSD.m, XAUUSDpro, and GOLD, with suffixes appended for account types such as raw spread or cent accounts. Any of these work as a chart source, provided the underlying instrument is spot gold against the dollar. Digit count varies between feeds too, so verify the specification window and adjust point-based values before drawing conclusions from a simulation run on unfamiliar data.
Can it hold multiple positions at once?
As specified, the logic manages one position per chart and reverses direction rather than stacking exposure. Anyone running copies across several charts simultaneously would multiply total market exposure without necessarily noticing, so distinct magic numbers become essential in that situation. Starting with a single instance while you observe how the rules behave under current conditions is the more cautious path, particularly on an account whose balance you cannot afford to damage.
What spread is too high for this system?
No fixed answer exists, and anyone quoting one without knowing your broker is guessing. Since minute-chart entries capture small moves, a spread that doubles can erase the expected gain on individual positions entirely. Record your broker’s typical gold spread across a full week, note how it behaves during rollover and around major releases, then judge whether the average cost per position looks survivable against the average move the rules actually capture.
Should it trade during high-impact news?
I switch mine off. Volatility spikes around scheduled announcements produce slippage, requotes, and gaps that jump straight past protective exit levels, meaning your realized outcome can be worse than the level you configured. No economic calendar filter forms part of this specification, so the practical approach involves disabling automation manually before major releases and re-enabling afterward. Some traders accept news exposure deliberately, though that’s a separate decision requiring separate testing.
Does automated execution need a VPS?
For minute-chart work, effectively yes. A laptop that sleeps, updates, or loses Wi-Fi leaves open positions unmanaged until you reconnect, and on M1 that gap can span dozens of bars. Hosting a terminal on a virtual private server near your broker’s execution servers keeps it running continuously while reducing latency. Many brokers provide free hosting once account balance or monthly volume passes a threshold, so ask support before paying a separate provider.
Why do live outcomes differ from simulated ones?
Historical simulation assumes orders fill at the modeled price under a fixed cost structure, which rarely matches reality. Actual execution involves variable spreads, commission, slippage, latency between terminal and broker, plus occasional requotes. Tick data quality also affects modeling accuracy, since lower settings interpolate movement that never happened. Treat any simulated equity curve as an upper bound on expectations rather than a forecast, then compare against demo results covering the same calendar period.
Is there a take profit level?
Position closure depends on the oscillator condition, the protective exit, and reversal signals rather than a fixed target. That design lets favorable moves continue while momentum holds, though it also means giving back some unrealized gain when the exit finally triggers. Adding a hard target changes the character of the approach considerably, and any such modification would need testing from scratch rather than inheriting confidence from the original work.
Disclosure: Nothing here constitutes financial advice or a recommendation to trade. Consider your circumstances and, where appropriate, seek guidance from a regulated professional before using leveraged products.

Petko Aleksandrov


