Daniel Rudman
Daniel Rudman
  • Informazioni
no
esperienza
1
prodotti
2
versioni demo
0
lavori
0
segnali
0
iscritti
Self Employed al Srilanka
Amici

Aggiungi amici tramite il loro profilo o la ricerca utente e sarai in grado di vedere se sono online

Daniel Rudman
Daniel Rudman
Golden Child EA - User Manual

For MetaTrader 5. Gold (XAUUSD) only. Hedging accounts only.

Part 1: Introduction

1.1 What this EA is

Golden Child EA is an Expert Advisor (EA) for MetaTrader 5 that trades gold priced in US dollars (XAUUSD, sometimes called GOLD). It runs fully automatic: it finds entries, sets stop losses and targets, manages open trades, sizes lots and watches your drawdown, all from one chart.

It was built for two kinds of user:

- Prop firm traders (challenge and funded accounts), who must stay inside a daily and a total drawdown limit.
- Personal account traders, who want the same protection on their own money.

1.2 What the EA is made of

The EA is built from seven parts that work together.

- Three engines: Three separate trading systems on gold: a 15 min, a 30 min and a 1 hr engine. Each looks for its own trades on its own timeframe. Running all three spreads your trading across different speeds of the market.
- Three trades per signal: When an engine finds a setup it can open up to three trades together. Each trade has a different job (quick profit, target at a key level, and a long runner).
- Market filter: Each engine checks the bigger picture before it trades. It avoids trading against a strong trend and stays out when the market is flat and quiet.
- Magician (lot booster): Adds a small extra lot to new trades when the market is moving strongly in one direction.
- News boost: Makes new trades bigger for a set time after major US news (CPI and FOMC), when gold tends to move.
- Overlord (risk manager): Watches your daily and total drawdown on every price tick. As losses grow it lets fewer engines trade, and at your limit it closes everything and stops.
- Panel and safety checks: A panel on the chart shows drawdown, Overlord status, open and closed trades. The EA also checks the broker clock, the news calendar, your PC clock and the connection, and warns you if something is wrong.

1.3 How it trades (core logic in simple words)

Every engine follows the same five steps.

1. Find the direction. The engine watches its own chart for a change in direction. When the short-term trend turns up it looks for buys. When it turns down it looks for sells.
2. Wait for a good entry. It does not jump in right away. It waits a short time for a pull back and for momentum to confirm the new direction. If the right moment does not come in time, the signal is skipped.
3. Check the bigger picture. Before opening, the engine checks the larger trend and market activity. It will not buy into a strong downtrend or sell into a strong uptrend, and it stays out when the market is flat and quiet.
4. Open up to three trades. Every trade gets a stop loss placed at a sensible point in the market structure, never too tight and never too wide. The distance from entry to stop is called 1R (one unit of risk).
- Trade 1 takes a quick profit at a fixed target.
- Trade 2 aims for the next important price level (support or resistance).
- Trade 3 has no fixed target. It is a runner that follows the trend with a trailing stop.
5. Manage the trades. Stops move to breakeven once a trade is far enough in profit, so a winner does not turn into a loss. Trailing stops follow the price. Trades that do not move as expected within a set time are closed. If the direction changes against the trades, they are closed.

The exact rules, indicators and numbers are the developer’s own and are built in. You cannot see or change them, which also means they cannot be set wrong by accident.

1.4 What you control

You control how much the EA trades and how much risk you allow:

- which engines run and which of the three trades each engine opens;
- the lot size of every trade;
- the Magician and news boost (on or off, and how much they add);
- your drawdown limits and how the Overlord protects them;
- the broker clock setting, the safety warnings and the panel.

Part 2: Before you start

2.1 Requirements

- MetaTrader 5: The EA is an MT5 program. It does not run on MT4.
- Gold priced in US dollars (XAUUSD, GOLD, XAUUSD.m and similar): The EA trades this symbol only. On any other symbol it shows a message and places no trades.
- A hedging account: Each engine can hold up to three trades in the same direction at once, each with its own stop and target. A netting account merges everything into one position, so the EA cannot work there. On a netting account it shows a message and places no trades. Ask your broker for a hedging account if you are not sure.
- One chart per account: Run only one copy of the EA per trading account. A second copy on another chart detects the first one and stays idle.
- Algo Trading on: The “Algo Trading” button in MT5 must be green, and “Allow Algo Trading” must be ticked in the EA’s Common tab.
- Price history: The EA needs several months of gold history on the chart’s timeframes. MT5 downloads it automatically; on a new installation, give it a minute after attaching.
- A running PC or VPS: The EA only works while MT5 is open and connected. A VPS is recommended for live trading.

2.2 Lot size and contract size

All lot settings in this EA are written for the standard gold contract of 100 ounces per lot, so 0.01 lots = 1 ounce.

Some brokers use a different contract size. The EA reads your broker’s contract size and converts every lot for you, so the trade size in ounces is always what you set. Example: if your broker’s gold contract is 1 ounce per lot, a setting of 0.01 opens 1.00 lot at that broker, which is still 1 ounce. The Experts tab prints the conversion at start up.

If 0.01 lots (1 ounce) is smaller than your broker’s minimum lot, the EA prints a warning, and trades that are too small are skipped. Raise your lot settings if you see this warning.

2.3 How big are the trades?

With the default settings every trade is 0.01 lots. One engine signal opens up to three trades, so 0.03 lots in total. The Magician can add 0.01 to each trade, or the news boost can double each trade, so one signal can reach 0.06 lots. If all three engines are in trades at the same time, the total can reach about three times that.

Start small. Test on a demo account first, then raise lots slowly.

2.4 Installation

1. In MT5, click File > Open Data Folder.
2. Open MQL5 > Experts and copy Golden Child EA.ex5 into it (an EA bought from the MQL5 Market installs itself in Experts > Market).
3. Back in MT5, right click Expert Advisors in the Navigator and click Refresh.
4. Open a gold chart (any timeframe; the EA reads the timeframes it needs by itself).
5. Drag the EA onto the chart. In the Common tab tick Allow Algo Trading.
6. In the Inputs tab set your settings (Part 3). Click OK.
7. Make sure the Algo Trading button on the toolbar is green.
8. The panel appears on the chart. Check the Experts tab for the start up messages (Part 5).

Tip: Save your settings with the Save button on the Inputs tab, so you can load them again later.

Part 3: Every setting explained

The settings appear in seven groups, in this order: Overlord, Engines, Trades and lot size (one group per engine), Magician, Magician: news boost, Panel and Magic numbers.

3.1 Overlord (risk manager)

The Overlord protects your account. It measures two things all the time:

- Daily drawdown: how much equity you have lost today, compared to the start of the day.
- Total drawdown: how much equity you have lost compared to your start balance.

As the drawdown grows, the Overlord climbs a ladder of levels:

- Level 0: Normal. All engines trade.
- Level 1: Only the top 2 engines can open new trades. “Top” means the engines with the most profit over the last 90 days (by default).
- Level 2: Only the single top engine can open new trades.
- Close all (daily): All trades are closed and no new trades open until the next day.
- Close all (total): All trades are closed and no new trades open until you reset it (see “Reset total stop”).

Open trades of engines that are no longer allowed are not closed at levels 1 and 2. They run to their own stop or target. Only new trades are blocked.

When the drawdown recovers below a “back” line, the Overlord steps back down a level. The back lines sit a little below the trigger lines so the EA does not flip on and off around one number.

- Overlord on: Default: true; What it does and how it affects your trades: Turns the risk manager on. If false, there are no drawdown limits at all, no ladder and no safety warnings. Keep it on for prop firm accounts.
- Daily drawdown resets at: Default: Broker server midnight; What it does and how it affects your trades: When the “day” starts for the daily drawdown. Midnight CET (Europe): the day starts at midnight Central European time, and the daily loss is measured from the balance at that moment, as a percent of your start balance. Broker server midnight: the day starts at midnight on the broker’s clock, and the daily loss is measured from the higher of balance or equity at that moment. Pick the one that matches your prop firm’s rule. For a personal account either is fine.
- Rank engines by profit of last (days): Default: 90; What it does and how it affects your trades: How far back the Overlord looks when it decides which engines are “top”. A shorter period reacts faster to recent results; a longer period is steadier.
- Start balance ($, 0 = account balance at first start): Default: 0; What it does and how it affects your trades: The balance your total drawdown is measured from. Leave 0 and the EA uses the money deposited into the account (it reads this from your account history and remembers it). For a prop firm account, enter the account size, for example 100000.
- Max daily drawdown (%): Default: 5.0; What it does and how it affects your trades: Your daily loss limit as a percent of the start balance. Set it to your prop firm’s limit, or lower for extra safety.
- Max total drawdown (%): Default: 10.0; What it does and how it affects your trades: Your total loss limit as a percent of the start balance. Set it to your prop firm’s limit, or lower.
- Auto levels from the max drawdowns: Default: true; What it does and how it affects your trades: When true, the EA works out all ladder levels from the two max values above (table below). When false, it uses the “Manual” levels. Most users should leave this true.
- Count open trades in the ranking: Default: true; What it does and how it affects your trades: When true, the profit or loss of trades still open counts when engines are ranked. When false, only closed trades count.
- Manual daily: level 1, top 2 engines only (%): Default: 3.5; What it does and how it affects your trades: Used only when Auto levels is false. Daily drawdown that moves to level 1.
- Manual daily: level 2, top engine only (%): Default: 3.8; What it does and how it affects your trades: Daily drawdown that moves to level 2.
- Manual daily: close all, stop for the day (%): Default: 4.2; What it does and how it affects your trades: Daily drawdown that closes everything and stops for the day. Keep this below your max daily drawdown, so there is room for slippage.
- Manual daily: back to level 1 below (%): Default: 3.0; What it does and how it affects your trades: Daily drawdown that returns from level 2 to level 1.
- Manual daily: back to level 0 below (%): Default: 2.0; What it does and how it affects your trades: Daily drawdown that returns to normal trading.
- Manual total: level 1, top 2 engines only (%): Default: 7.5; What it does and how it affects your trades: Total drawdown that moves to level 1.
- Manual total: level 2, top engine only (%): Default: 8.5; What it does and how it affects your trades: Total drawdown that moves to level 2.
- Manual total: close all, stop until reset (%): Default: 9.0; What it does and how it affects your trades: Total drawdown that closes everything and stops until you reset. Keep this below your max total drawdown.
- Manual total: back to level 1 below (%): Default: 7.0; What it does and how it affects your trades: Total drawdown that returns from level 2 to level 1.
- Manual total: back to level 0 below (%): Default: 6.0; What it does and how it affects your trades: Total drawdown that returns to normal trading.
- Reset total stop: Default: false; What it does and how it affects your trades: After a total stop, set this to true (or press the RESET button on the panel twice) to allow trading again. Set it back to false afterwards. Think carefully before you reset: the total stop exists to protect your account.
- Server clock: Default: Auto detect; What it does and how it affects your trades: Tells the EA how your broker’s clock relates to world time (see 3.2). Leave on Auto detect unless the panel shows a clock warning.
- Fixed UTC offset (h): Default: 2; What it does and how it affects your trades: Used only when Server clock is “Fixed UTC offset”. Your broker’s hours ahead of UTC, for example 2 for GMT+2, 0 for GMT, 10 for GMT+10.
- Overlord check on: Default: true; What it does and how it affects your trades: Turns on the safety checks: connection, prices, broker clock, PC clock and news calendar. Problems appear on the panel and in the Experts tab.
- No price warning (min): Default: 30; What it does and how it affects your trades: If no new price arrives for this many minutes while the market should be open, you get a warning.
- Send warnings to phone: Default: false; What it does and how it affects your trades: When true, warnings are also sent to the MT5 app on your phone. Set up push notifications first (Tools > Options > Notifications, enter your MetaQuotes ID).

Auto levels. With “Auto levels” on, the ladder is set from your max values like this:

- Level 1 (top 2 engines): Daily (share of max daily): 70%; Example at 5%: 3.5%; Total (share of max total): 75%; Example at 10%: 7.5%
- Level 2 (top engine): Daily (share of max daily): 76%; Example at 5%: 3.8%; Total (share of max total): 85%; Example at 10%: 8.5%
- Close all: Daily (share of max daily): 84%; Example at 5%: 4.2%; Total (share of max total): 90%; Example at 10%: 9.0%
- Back to level 1: Daily (share of max daily): 60%; Example at 5%: 3.0%; Total (share of max total): 70%; Example at 10%: 7.0%
- Back to level 0: Daily (share of max daily): 40%; Example at 5%: 2.0%; Total (share of max total): 60%; Example at 10%: 6.0%

So with a 5% daily and 10% total limit, the EA stops for the day at 4.2% and stops completely at 9%, leaving a safety margin before the real limits.

Important: the Overlord closes trades at market price. In fast markets, over weekends or during news, the price can jump past a level before the close happens. The safety margin helps, but no EA can promise a limit is never passed.

3.2 Server clock

Gold trading days, news times and the daily reset all depend on time. Brokers use different clocks: many use New York close time (GMT+2 in winter, GMT+3 in summer), others use GMT, GMT+1 with European summer time, or Australian time.

The EA works on New York close time inside. It converts your broker’s clock automatically.

- Auto detect (default): Recommended. The EA studies the gold trading week in your chart history (when the market opens on Sunday and closes on Friday) and works out your broker’s clock and summer time rule. The result is printed in the Experts tab and shown on the panel.
- New York close (GMT+2 / GMT+3): Choose this if you know your broker uses New York close time.
- Fixed UTC offset: Choose this if your broker’s clock never changes for summer time, and set “Fixed UTC offset (h)”. Also use it if the panel tells you to.

If the broker clock does not match the setting, the Overlord check shows a warning that tells you exactly which value to set.

3.3 Engines

- 15 min: Default: true; What it does: Runs the 15 minute engine. The fastest engine with the most trades and the tightest stops.
- 30 min: Default: true; What it does: Runs the 30 minute engine. A middle speed engine.
- 1 hr: Default: true; What it does: Runs the 1 hour engine. The slowest engine, with fewer trades and wider stops.

Turning an engine off stops new trades from it. Its open trades are still managed until they close. At least one engine must be on. Running all three gives the most even results, because the engines often trade at different times.

3.4 Trades and lot size (one group per engine)

There is one group for each engine: 15 min, 30 min and 1 hr. Each group has the same six settings.

- Trade 1 on: Default: true; What it does and how it affects your trades: Opens Trade 1 on each signal. Trade 1 takes a quick profit at 1R (the same distance as its stop). It wins most often and smooths your results.
- Trade 1 lots: Default: 0.01; What it does and how it affects your trades: Lot size of Trade 1 (for a 100 oz contract, see 2.2).
- Trade 2 on: Default: true; What it does and how it affects your trades: Opens Trade 2 on each signal. Trade 2 aims for the next important price level. When Trade 2 reaches its target, the stops of Trades 1 and 3 move to breakeven.
- Trade 2 lots: Default: 0.01; What it does and how it affects your trades: Lot size of Trade 2.
- Trade 3 on: Default: true; What it does and how it affects your trades: Opens Trade 3 on each signal. Trade 3 has no fixed target and follows the trend with a trailing stop. It wins less often but catches the big moves.
- Trade 3 lots: Default: 0.01; What it does and how it affects your trades: Lot size of Trade 3.

Tips:

- To lower your risk, lower the lots rather than switching trades off. The three trades are designed to work together.
- If Trade 2 is off, the EA still follows it in the background (without opening it), so Trades 1 and 3 still move to breakeven at the same moment.
- Lot sizes must be above 0. To stop a trade, use its “on” setting.

3.5 Magician (lot booster)

The Magician adds a little extra size to new trades when the market is moving strongly in one direction.

- Window lots are added when gold is moving with energy and its daily range is growing.
- Step lots are added instead when, on top of that, the longer trend also points the same way as the trade.

The extra lots are added to each trade of a signal (Trades 1, 2 and 3). Trades opened at other times use the normal lots.

- Magician on: Default: true; What it does: Master switch for the Magician and the news boost. If false, neither boost is used.
- 15 min on: Default: true; What it does: Lets the Magician (and news boost) work on the 15 min engine.
- 30 min on: Default: true; What it does: Same for the 30 min engine.
- 1 hr on: Default: true; What it does: Same for the 1 hr engine.
- 15 min: window lots added: Default: 0.01; What it does: Lots added to each 15 min trade when the window is open. 0 = nothing added.
- 15 min: step lots added: Default: 0.01; What it does: Lots added to each 15 min trade when the step condition is also met (used instead of the window lots, not on top).
- 30 min: window lots added: Default: 0.01; What it does: As above, for the 30 min engine.
- 30 min: step lots added: Default: 0.01; What it does: As above, for the 30 min engine.
- 1 hr: window lots added: Default: 0.01; What it does: As above, for the 1 hr engine.
- 1 hr: step lots added: Default: 0.01; What it does: As above, for the 1 hr engine.

Example: Trade 1 lots 0.01 and window lots 0.01. While the window is open, Trade 1 opens at 0.02 lots.

3.6 Magician: news boost

Gold often moves strongly after big US news. The news boost multiplies the lots of new trades for a set time after a release.

In live trading, the release dates are read from the MT5 economic calendar (US CPI, FOMC and NFP, high importance). In the Strategy Tester, a built-in list of past release dates is used.

The news boost only works when Magician on is true and the engine’s Magician switch is on.

- News boost on: Default: true; What it does: Turns the news boost on.
- Lot multiple: Default: 2.0; What it does: Lots of new trades are multiplied by this number during the boost. 2.0 = double size. 1.0 = no change.
- Magician and news together: Default: First boost wins; What it does: What happens when the Magician and the news boost both want to add size. Both together: both are used (largest trades). Magician only: the Magician is kept and the news boost is ignored. News only: the news boost is kept and the Magician is ignored. First boost wins: whichever started first is kept (recommended).
- Hours after release: Default: 24.0; What it does: How long the boost lasts after each release.
- CPI: Default: true; What it does: Boost after US inflation (CPI) releases.
- CPI time (server): Default: 15:30; What it does: Release time on New York close time (GMT+2 / GMT+3). 15:30 = 8:30 in New York. Only change it if the release time changes. The EA converts it to your broker’s clock.
- FOMC: Default: true; What it does: Boost after US interest rate decisions (FOMC).
- FOMC time (server): Default: 21:00; What it does: Release time on New York close time. 21:00 = 14:00 in New York.
- NFP: Default: false; What it does: Boost after US jobs reports (NFP). Off by default.
- NFP time (server): Default: 15:30; What it does: Release time on New York close time.

Note: the boost is applied to new trades opened after the release. It does not open trades by itself and it does not change trades already open.

3.7 Panel

The panel is the box on your chart that shows what the EA is doing. It does not affect trading.

- Panel on: Default: true; What it does: Shows the panel.
- Corner: Default: Left upper; What it does: Chart corner the panel is placed in.
- X distance (px): Default: 10; What it does: Distance from the side of the chart, in pixels.
- Y distance (px): Default: 25; What it does: Distance from the top or bottom of the chart, in pixels.
- Width (px): Default: 400; What it does: Panel width (150 or more). Long lines wrap to fit.
- Height: Default: 0; What it does: Panel height in pixels. 0 = fit the text automatically.
- Font size: Default: 9; What it does: Text size (6 to 30).
- Font: Default: Consolas; What it does: Font name. A fixed width font keeps the columns lined up.
- Background colour: Default: Dark slate grey; What it does: Panel colour.
- Text colour: Default: White; What it does: Normal text colour. Warnings use orange and red, good news green.

3.8 Magic numbers

Every trade carries a magic number, so the EA knows which engine and which trade it belongs to. This also lets the EA pick up its open trades again after a restart.

- 15 min trade 1 / 2 / 3: 70262011 / 70262012 / 70262013
- 30 min trade 1 / 2 / 3: 70262021 / 70262022 / 70262023
- 1 hr trade 1 / 2 / 3: 70262031 / 70262032 / 70262033

Leave these as they are, unless another EA on the same account uses the same numbers. Each number must be different. Do not change them while trades are open, or the EA will no longer recognise those trades.

Part 4: The panel

The panel shows, from top to bottom:

1. Name of the EA.
2. Daily drawdown and total drawdown, with the close all levels. The numbers turn orange and red as you get closer to a stop.
3. Overlord status:
- “all trades allowed” (green): normal trading;
- “level 1” or “level 2” (orange): only the named top engines open new trades;
- “DAILY STOP” (red): all trades closed, trading starts again tomorrow;
- “TOTAL STOP” (red): all trades closed until you press RESET.
4. Server clock: what the EA has found about your broker’s clock.
5. News: whether the MT5 calendar was read and the next release, or “backtest, built-in release dates” in the tester.
6. Check: “PASS” in green when everything is fine, or the number of warnings with a short line for each.
7. Open trades: per engine, the trades that are open now and their profit.
8. Closed trades so far: per engine, win rate, largest drawdown and profit.
9. RESET button: shown with the Overlord. Red when a total stop is active. Click it once, then click again to confirm the reset.

Part 5: Messages and warnings

The EA writes clear messages in the Experts tab (Toolbox at the bottom of MT5). The most important ones:

- “… is not gold: this EA trades gold priced in US dollars only”: You attached the EA to the wrong chart. Attach it to XAUUSD / GOLD.
- “This account is not a hedging account”: Your account is netting. Open a hedging account with your broker.
- “The EA is already running on another chart of this account”: Remove the second copy. Only one copy per account.
- “Gold contract size here is … oz per lot”: Information: your lots are converted to your broker’s contract size (2.2).
- “Warning: 0.01 lots (1 oz) is smaller than this broker’s minimum lot”: Raise your lot settings, or trades of that size are skipped.
- “Overlord: start balance …”: The balance used for the total drawdown. Check it is correct.
- “Overlord levels: daily … total …”: The ladder levels in use.
- “Server clock: …”: The broker clock the EA detected or was given.
- “lot size is below this broker’s minimum lot … skipped”: Raise lots for that trade.
- “stop or target is closer to the price than this broker allows … skipped”: The broker’s minimum stop distance was larger than the trade needed. Usually rare and temporary.
- “the broker’s lot limit for … would be passed … skipped”: Your broker limits total lots on gold. Lower your lots.
- “not enough free margin … skipped”: Not enough margin for that trade. Lower lots or add funds.
- “symbol not open for new trades, entry skipped”: The market was closed or in a break.
- “close failed … Trying again”: The broker did not accept a close (for example during a requote). The EA keeps trying.
- “Overlord: … daily drawdown … All trades closed”: The daily stop was hit. Trading resumes the next day.
- “Overlord: … total drawdown … no new trades until reset”: The total stop was hit. Reset only when you are sure.
- “history not ready yet, trying again”: MT5 is still downloading history. Wait.

Overlord check warnings (panel and Experts tab):

- “MT5 has lost the connection to the broker”: Check your internet or VPS. Trades are not managed while offline.
- “No new prices are coming in while the market should be open”: Check the connection and that the symbol is in Market Watch.
- “your PC clock is about N minutes behind / ahead of the broker”: In Windows, turn on “Set time automatically”.
- “the broker server clock is UTC… but the EA is set for UTC…”: Set “Server clock” to Fixed UTC offset with the value shown in the warning.
- “core setting changed”: Something inside the EA does not match how it was built. Re-install the EA from your purchase.
- “News: CANNOT read the MT5 news calendar”: The news boost cannot work. Check that the calendar is enabled in MT5 (Tools > Options > Server, “Enable news”). Trading continues without the boost.

Part 6: Backtesting in the Strategy Tester

1. Open the Strategy Tester (Ctrl+R) and choose Golden Child EA.
2. Symbol: your broker’s XAUUSD / GOLD. Timeframe: any (M15 is fine).
3. Modelling: “1 minute OHLC” gives fast, realistic results for this EA. “Every tick based on real ticks” is the most exact but slow.
4. Choose a date range with enough history. Long tests (several years) show the EA through many kinds of market.
5. Set a deposit that matches the account you plan to trade, and set Start balance to the same value or leave it at 0.
6. Use a hedging account type in the tester settings.
7. Click Start. After the test, the Journal of the EA (a CSV file in the tester agent’s MQL5\Files folder) lists every action.

Notes:

- The news boost uses a built-in list of past CPI and FOMC dates in the tester, so you can test it on past data.
- If you run the EA on a symbol it does not trade (for example for an automatic check), it places one very small test trade a day in the tester only, so the tester has orders to check. This never happens on a live chart.
- Backtest results depend on your broker’s data and spreads. Past results do not guarantee future results.

Part 7: Good practice

- Demo first. Run the EA on a demo account for at least a few weeks before going live.
- Match your prop firm rules. Set the daily reset, the start balance and both max drawdowns to your firm’s rules, or stricter.
- Use a VPS. The EA can only protect you while MT5 is running and connected.
- Do not touch EA trades by hand. Closing or changing EA trades manually can confuse breakeven and target logic. Use the engine switches and lots instead.
- Do not run other EAs on the same account unless they use different magic numbers, and remember the Overlord counts the whole account’s equity.
- Keep MT5 updated and the “Algo Trading” button green.
- Weekends: the EA can hold trades over the weekend. Gold can open with a gap on Monday. Check your prop firm’s weekend rules.

Part 8: Troubleshooting and FAQ

The EA does not open any trades. Check, in this order: Algo Trading is green; “Allow Algo Trading” is ticked; the chart is USD gold; the account is hedging; at least one engine is on; the panel does not show a DAILY STOP or TOTAL STOP; the Experts tab shows no “skipped” messages. The EA is selective: some days have no setups, and quiet flat markets are avoided on purpose.

The EA is on the chart but I see no panel. Panel on must be true. Check the X and Y distances keep it inside the chart.

The EA stopped for the day. The daily drawdown reached the close all level. It starts again at the next daily reset.

The EA stopped completely. The total drawdown reached the close all level. Set “Reset total stop” to true or press RESET twice. Decide first whether you want to continue.

I changed my settings and trades disappeared from the panel. You probably changed the magic numbers. Put them back to the old values.

Can I run it on other symbols like silver or indices? No. It is built only for USD gold.

Can I use it on a netting account? No. It needs a hedging account (see 2.1).

Can I trade with several brokers? Yes, one copy per account. The EA adapts to each broker’s clock and contract size.

Does it use a martingale or grid? No. Every trade has a stop loss from the moment it opens, and lots never grow after a loss.

Why did my trade close before reaching stop or target? Possible reasons: the direction changed, the trade did not move as expected within its time limit, or the Overlord closed everything at a stop level.

What happens if MT5 restarts? The EA finds its open trades by magic number and carries on managing them. The Overlord remembers its state (daily stop, total stop and start balance).

Part 9: Risk warning

Trading gold with leverage carries a high level of risk and may not be suitable for everyone. You can lose some or all of your money. The EA and its risk manager reduce risk but cannot remove it: prices can gap, brokers can reject orders, and connections can fail. Past results, in backtests or live, do not guarantee future results. Test on a demo account first, only trade money you can afford to lose, and make sure your settings follow your prop firm’s rules. You are responsible for your own trading decisions.
Daniel Rudman
Daniel Rudman
Novemebr: Prop firm challenge results
Daniel Rudman
Daniel Rudman
Novemebr: Prop firm challenge results
Daniel Rudman Prodotto pubblicato

Gold (XAUUSD) EA for MT5. Almost 1 year in the making and refining and here it is. This EA is purely reactive with no prediction attached to its logic. It is comprised of three core engines  using a variation of moving averages, all three core engines and their rules and filters are managed by my own custom designed regime identifier which is then also managed by my own custom designed risk manager.  A stop loss on every trade, no grid or martingale. 16-year backtest shown, with

Daniel Rudman
Registrato sulla MQL5.community