GoldBreakM15Long is a precision-engineered, long-only momentum breakout cBot built exclusively for XAUUSD on the M15 timeframe. Developed for traders who demand structured, rule-based execution with no ambiguity - every trade enters with a reason, and exits with a plan.
🎯 What This Bot Does
GoldBreakM15Long identifies high-probability bullish breakouts on Gold by requiring simultaneous confirmation from five independent technical layers before committing to a position. This multi-layered confluence approach dramatically reduces false breakouts and ensures the bot only trades when the market structure, momentum, and money flow are all aligned.
This is not a grid strategy. Not a Martingale system. Not a hedging bot.
Every single trade carries a predefined Stop Loss and Take Profit - no open-ended exposure, ever.
⚙️ Strategy Logic
The entry signal fires only when all of the following conditions are met simultaneously:
- Keltner Channel Breakout - Price closes above the upper band (EMA + ATR multiplier), confirming a structural momentum shift
- WaveTrend Signal Line > 0 - Ensures the breakout occurs in bullish WaveTrend territory, filtering counter-trend noise
- Money Flow Index (MFI) > Threshold - Confirms genuine buying pressure backs the move, not a low-volume spike
- ATR Expansion Filter - ATR must be expanding relative to its baseline, confirming that momentum is present and not exhausted
- CCI Above Dynamic Upper Band - CCI must exceed its own SMA + StdDev band, requiring momentum confirmation from a second oscillator
- Big-Move Exhaustion Guard - Filters out entries after large parabolic moves that are statistically prone to reversal
All six conditions must be true at the same time. A weaker signal from any single indicator is never sufficient.
🛡️ Risk Management
Risk is managed at three independent levels:
Per-Trade Risk
- Risk-based position sizing — lot size is calculated dynamically as a percentage of current account equity (not balance), so floating losses on open positions automatically reduce the next entry size
- Fixed lot mode available as an override
- Spread is factored into the risk calculation — the true cost of entry is always reflected in position size
- Minimum volume floor detection — if broker minimum volume would cause actual risk to exceed 1.5× the target, the trade is automatically skipped
Intraday Protection
- Daily equity drawdown limit - blocks new entries once intraday equity drops a configurable percentage below the day's opening equity
- Uses Account.Equity (not Balance), so unrealized losses on open positions count toward the daily limit in real time
Account-Level Protection
- Peak-to-trough total drawdown limit - halts new entries permanently once equity falls a configurable percentage below its all-time peak
- The equity watermark is persisted to disk across restarts, so rebooting the bot does not silently reset the drawdown counter
📐 Trade Execution & Exit Logic
Stop Loss is placed at the nearest confirmed pivot low minus an ATR buffer - a structural stop, not an arbitrary pip distance. When no valid pivot is found, an ATR-based fallback (SlMultiplier × WidthFactor × ATR) is used automatically.
Take Profit is set at a configurable Reward:Risk multiple from the entry price. An optional TP Boost (×1.2 by default) applies when the entry bar is a wide-range impulse candle and the fast EMA has been rising for three consecutive bars - capturing stronger momentum moves with a proportionally wider target.
Break-Even moves the Stop Loss to entry + a pip buffer once price reaches a configurable percentage of the distance to Take Profit, locking in the trade for free.
SL and TP are applied to the actual fill price, not the bar close - eliminating the slippage divergence that occurs when stops are calculated from pre-fill prices.
All ModifyPosition calls are single-attempt with no blocking sleeps. If SL/TP modification fails, the position is immediately closed - the bot never leaves an unprotected trade open.
🔒 Additional Safeguards
- Spread filter - skips entries when the live spread exceeds a configurable threshold (default 3.5 pips), protecting against news spikes and rollover periods
- Cooldown bars - minimum bar count between consecutive entries, preventing re-entry chasing immediately after a close
- One position at a time - no pyramiding, no stacking
- Full startup parameter log - every live run and backtest records its exact configuration to the cTrader log for audit and reproducibility
- Position close event logging - every SL hit, TP hit, and manual close is logged with realised P&L, hold time, and equity snapshot
📋 Recommended Setup
SettingValue
Symbol
XAUUSD
Timeframe
M15
Minimum Account
$1,000 (starting at 0.01 lot)
Recommended Leverage
1:50 or higher
Risk Per Trade
1 - 3%
Broker Type
ECN/Raw Spread
✅ What This Bot Is NOT
- ❌ No Grid
- ❌ No Martingale
- ❌ No Hedging
- ❌ No averaging down
- ❌ No open-ended trades without SL/TP
Backtested over multiple years - screenshots include 6-month and 3-month results with accurate tick data, P&L in USD per 1 lot.
⚠️ Risk Disclaimer
Trading involves significant risk. Past performance - in backtests or live results - does not guarantee future returns. This cBot does not guarantee profits. Test thoroughly on a demo account before deploying on a live account. Adjust risk parameters according to your personal risk tolerance and account size. This is not financial advice.
🏷️ Promotional pricing is available for the first 5 buyers only. Once those slots are taken, the price returns to its standard rate. If you're seeing this price, the offer is still active - act accordingly.