PhuongJ Gold Miner
- Experts
- Versione: 1.0
- Attivazioni: 5
PhuongJ - Gold Miner
A calm, rule-based gold EA: it waits for a strong M15 candle that agrees with the H4 trend, sizes every trade from your risk %, and manages the exit with breakeven and a trailing stop. No martingale, no grid.
Full description
Launch price 149 USD — the price rises by 50 USD after every 10 copies sold.
Gold, traded with patience
PhuongJ - Gold Miner does not try to catch every move. It waits for the few moments when gold shows a clear, strong impulse in the direction of the bigger trend, enters once, and then lets the trade breathe.
Everything is rule based. There are no news filters to babysit, no martingale, no grid, no averaging down. One decision, one position, a fixed stop, and a trail.
How it works — in plain words
- Trend first. The EA reads the H4 trend on gold. When the two moving averages are too close together (a flat, choppy market) it simply stands aside. This single rule is what keeps it out of most of gold’s noise.
- Then a strong candle. Inside that trend it looks for an M15 candle with a real body and momentum, confirmed by volume.
- Risk is fixed before entry. Position size is calculated from your account risk percentage and the current volatility, so a quiet market and a wild market both risk the same amount of money.
- One add-on, not a grid. If the trade immediately moves in your favour, the EA may add a second, smaller position. Never more than two.
- Exit plan. Stop loss at 8 × ATR, stop moved to breakeven at +4 × ATR, and a trailing stop from +3.5 × ATR. Anything can happen, but the exit is never improvised.
Key features
- Designed for XAUUSD (works on standard and cent accounts)
- Trades on M15 signals with an H4 trend filter
- Fixed-fractional risk — position size from your risk %, not from a fixed lot
- Maximum 2 positions, no grid, no martingale, no averaging down
- Breakeven + trailing stop on every trade
- Optional “add on profit” pyramiding (can be switched off)
- Works with any broker, any leverage; hedging account recommended
- Simple input list, sensible defaults — attach and go
Backtest results
Strategy Tester, XAUUSDx (a custom symbol built from the full Exness tick history, so every bar has real ticks), 2025.01.01 – 2026.11.30, initial deposit 10 000 USD, leverage 1:500, real ticks, history quality 98%.
All figures in this section are Strategy Tester (backtest) results on historical data. They are not live trading results.
| Metric | Value |
|---|---|
| Net profit | +21 155.12 USD (+211%) |
| Profit factor | 2.08 |
| Total trades | 306 |
| Win rate | 69.0% |
| Average win / loss | +193.13 / −206.27 |
| Best / worst trade | +1 379.30 / −596.61 |
| Max equity drawdown | 4 142.43 USD (15.25%) |
| Max balance drawdown | 3 453.32 USD (12.98%) |
| Sharpe ratio | 3.70 |
By year
| Period | Profit |
|---|---|
| 2025 (12 months) | +10 264 |
| 2026 (10 months) | +10 891 |
By month
| Month | Profit | Month | Profit |
|---|---|---|---|
| 2025-01 | +725 | 2025-12 | +1,870 |
| 2025-02 | +497 | 2026-01 | +4,543 |
| 2025-03 | +765 | 2026-02 | +966 |
| 2025-04 | +1,707 | 2026-03 | −2,202 |
| 2025-05 | −221 | 2026-04 | +508 |
| 2025-06 | +51 | 2026-05 | +671 |
| 2025-07 | +462 | 2026-06 | +4,055 |
| 2025-08 | −164 | 2026-07 | +25 |
| 2025-09 | +2,883 | 2026-08 | +1,136 |
| 2025-10 | +1,138 | 2026-09 | −206 |
| 2025-11 | +553 | 2026-10 | +1,395 |
18 of 22 months closed in profit.
Recommended setup
| Setting | Recommendation |
|---|---|
| Symbol | XAUUSD / XAUUSDc / XAUUSDx (gold) |
| Chart timeframe | Any (M15 is the working timeframe; H1 is fine) |
| Minimum deposit | 500 USD on a 1-oz symbol (XAUUSDc) · 3 000 USD on a 100-oz symbol (XAUUSD) — see below |
| Account type | Hedging recommended |
| Leverage | 1:100 or higher |
| Risk per trade | 2% (default) — use 1% if you prefer a smoother curve |
| VPS | Recommended for 24/5 operation |
Which gold symbol do I have?
The same 0.01 lot means very different money depending on the contract size:
| Symbol type | Contract size | Risk of the smallest 0.01 lot | Deposit for a 2% risk |
|---|---|---|---|
| XAUUSDc (cent / mini, often the “c” suffix) | 1 oz | ≈ 0.6 USD | 500 USD |
| XAUUSD (standard) | 100 oz | ≈ 62 USD | 3 000 USD |
How to check: right-click the symbol → Specification → Contract size. 1 = cent/mini (XAUUSDc), 100 = standard (XAUUSD).
On a 100-oz symbol with only 500 USD, the smallest possible position already risks ~12% of the account — the EA will still trade, but that is not the risk the backtest used.
Spread filter: InpMaxSpreadPoints = 500 means 0.50 USD on a 0.001-point symbol (XAUUSDc) but 5.00 USD on a 0.01-point symbol (XAUUSD). On a standard symbol lower it to 100 (1.00 USD).
Inputs — short overview
- Sizing — risk per leg, equity/balance, maximum lot, maximum legs
- Signal — M15 timeframe, ATR/RSI periods, minimum candle body, volume filter
- Regime — H4 trend filter and how “flat” a market must be to stand aside
- Management — stop loss, breakeven, trailing stop, time exit
- Execution — spread filter, slippage, master switch
Every input has a tooltip; the defaults are the tested ones.
Installation
- Open a gold chart (XAUUSD).
- Drag PhuongJ - Gold Miner onto the chart.
- Allow algorithmic trading.
- Load the preset (or keep the defaults) and press OK.
That is all — the EA manages entries, sizing, stops and exits by itself.
Honest notes
- Gold is volatile. A 14.6% drawdown occurred in the backtest and will happen again in live trading; size your account so that you can live with it.
- The backtest was made on real ticks from one broker. Every broker has a different spread and swap — results will differ.
- The EA holds trades overnight and through weekends; gaps can hit the stop loss.
- No martingale, no grid: losses are taken, not averaged.
- Past performance does not guarantee future results. Trade only with money you can afford to lose.
Support
Questions, setup help or a preset for your broker — contact me through the MQL5 Market message system. I answer within 24 hours on trading days.

