Description
Dark Gold is a breakout cBot for gold (XAUUSD) on the m5 period. It is ready to run: the default settings are the gold preset, so there is no set file to load.
How it trades
- Levels. The built-in Dark Support Resistance calculation gives 4 resistance and 4 support levels. There is no extra indicator to install.
- Entry. When a bar closes above a resistance level, the cBot opens a buy. Sell entries below support levels are available and are switched off in the default settings.
- Filters. Maximum spread, trading hours on broker server time, trading days, one trade per bar.
- Grid. If price moves against the position, the cBot adds one order every 2,000 points (20 USD on gold), at most one per bar. Lots grow by one step per order: 0.01, 0.02, 0.03 and so on.
- Exit. All positions are closed together when price reaches the weighted average entry plus 500 points (5 USD on gold).
- Optional protections, off by default. Stop target on the average price, monetary stop loss, close at a percentage loss, average trailing stop, Friday close.
Default settings (gold preset)
- Max Spread: 30
- Dark Support Resistance Period: 30, Timeframe: M30
- Time filter: 14:00 to 20:00, broker server time
- Allow Sell: false (buy only)
- Grid: Min Distance 2000, Grid Management LotsSum
- Take Target: 500, Close Mode AveragePointWeighted
- Lots: 0.01 fixed, or Money Management with Risk Percent
Backtest
XAUUSD m5, 01/01/2024 to 07/11/2026 (2 years and 10 months), tick data from server, starting capital 5,000 EUR, fixed lot 0.01, leverage 1:100, default settings.
- Net profit: 7,527 EUR (ROI 150.5%)
- Trades: 1,210, of which 982 winners (81%)
- Profit factor: 2.40
- Max balance drawdown: 6.2%
- Max equity drawdown: 21.5% (2,101 EUR)
- Realised result positive in each of the 35 calendar months
- Up to 8 positions open at the same time, longest trade 9.7 days
Live track record
The same strategy with the same gold preset (XAUUSD m5, fixed lot 0.01) has been trading a real-money account on another platform since December 2024, started with a 100 USD deposit: 1,007 trades, 80% winners, profit factor 2.31, maximum drawdown 38.6%, 23 months and none negative. The account statistics are in the gallery.
Requirements
- Strategy type: breakout on support and resistance levels, with grid recovery
- Target symbol and period: XAUUSD, m5
- Suggested leverage: 1:500 on small accounts, 1:100 or higher from 5,000 USD
- Minimum account size: 200 USD with the 0.01 lot
- Account: hedging account, low spread on gold
- Use case: automated gold trading during the London and New York overlap, running 24/5 on a VPS
Risk
This is a grid strategy and it has no stop loss by default. Positions can stay open for several days and the floating drawdown can be much larger than the balance drawdown: in the backtest it reached 2,101 EUR with a 0.01 starting lot, so on a small account it can be a large part of the balance. Choose a lot size that fits your balance and consider switching on the optional protections.
Trading involves risk. Past performance does not guarantee future results.
