I hid my gold Expert Advisor after a bad backtest, then rebuilt it

5 December 2026, 13:06
Cheng Kah Seng
0
13

I sell a MetaTrader 5 Expert Advisor for XAUUSD on the Market, called MetaEAs Gold Candle Momentum.


Earlier this month I published the first public version, then I ran a proper full-year backtest of that build. The result was bad. The old version lost about 88% of a test account. I hid the product from the Market the same day. I did not want people to buy something I already knew had failed that test.


This post is about what went wrong, what I changed in version 3.00, and how I think a buyer should treat the new build. It is not a performance report, and it is not a promise that the new version will make money.


What was wrong with the old version


The old logic tried to trade momentum on a very short timeframe with a tight stop. On gold, the spread and slippage were a large part of that stop. A strategy like that can look busy and still lose, because the cost of getting in and out eats the edge. Filters that only reduced the number of trades did not fix the underlying problem.


What version 3.00 does instead


Version 3.00 waits for a strong H1 candle to close. "Strong" means the body is large compared with ATR(H1, 14) and compared with that candle's high-low range, and the candle opened inside a session window in server time (default 09:00 to 21:00).


A buy is allowed only if that candle is bullish and the last closed H4 candle closed above EMA 50. A sell is allowed only if the candle is bearish and the last closed H4 candle closed below EMA 50. If those conditions are met, the Advisor may send a market order in the first few minutes of the next H1 candle (default: 5 minutes). It does not chase the signal after that window.


Every trade is sent with a stop and a take profit. The stop is based on ATR. The take profit is a long way away and is mainly a cap. After price has moved a set distance in favour of the trade, an ATR trailing stop is updated once per minute and is only ever tightened.


It holds at most one position. It does not use martingale, grid or averaging. Lot size can be set as a percentage of equity (default 0.5%), with a daily loss lock and a daily profit lock. If the risk-based lot is smaller than the broker's minimum lot, the Advisor may use the minimum lot only when that risk still fits inside a cap; otherwise it skips the trade. On a small standard gold account, that can mean the real risk is higher than 0.5%, so a larger account or a cent account is a better starting size.


The product page, with the full description and the current screenshots, is here:


https://www.mql5.com/en/market/product/214130


How I suggest you test it


1. Read the Market description and the input list first.

2. Run it in the MetaTrader 5 Strategy Tester on your own broker's XAUUSD data. Use realistic spread or real ticks if you have them.

3. If you still want to try it, run it on a demo account for a few months. This Advisor does not trade every day, so a short demo will not tell you much.

4. Only then decide about a live account, with a risk percentage you can afford to lose.


I am also posting short, honest build notes on TikTok at @metaeas. I will not paste other off-site links here.


Risk note


This Advisor is a trading tool, not financial, investment or trading advice. Gold, forex and CFDs are leveraged. You can lose money, including more than your deposit, depending on the account type and the broker. Nothing in this post promises a profit, a win rate, or a limit on losses. A past backtest, good or bad, is not a guide to future results. A stop loss, a trailing stop and daily locks reduce risk; they do not remove it. Slippage, gaps, wide spreads, news and connection problems can all change the result. You are responsible for any trades on your account.


If you have questions about how the logic works, I will answer them in the comments on this blog or on the product page.