Description
Thia cbot is a professional-grade automated trading system (cBot) engineered specifically for Gold (XAUUSD) on the H4 timeframe. Built natively for cTrader Automate using C# and the official Spotware cAlgo API, it combines trend-following logic with strict institutional risk management โ making it suitable for personal accounts and prop firm challenges alike.
Unlike typical "set-and-forget" EAs, this bot follows a transparent, rules-based strategy: every entry is confirmed on closed candles only (zero repaint), every trade is protected with a predefined Stop Loss and Take Profit, and your account is shielded by daily and total drawdown limits at all times.
Key Features
๐ก๏ธ Prop-Firm Friendly Risk Architecture
- Daily Drawdown Limit โ automatically blocks new trades when your configured daily loss threshold is reached.
- Total Drawdown Limit โ halts trading entirely and closes all positions if maximum account drawdown is breached.
- No martingale. No grid. No averaging down. Position size is calculated from a fixed percentage of balance and the real distance to the stop loss.
- Full volume normalization respecting broker
Min / Max / Stepconstraints.
๐ Intelligent Signal Engine
- Triple EMA alignment (Fast / Medium / Slow) filters out noise and only trades in the direction of the dominant trend.
- ATR-based volatility awareness dynamically sizes Stop Loss and Take Profit to current market conditions โ wider stops in volatile regimes, tighter in calm ones.
- Signals are evaluated exclusively on closed H4 bars, eliminating false signals from forming candles.
โ๏ธ Precision Trade Management
- Break-even & trailing stop engine that only moves stops in your favor โ never against it.
- Configurable session filter (UTC hours) to avoid illiquid periods and rollover spreads.
- Real-time spread filter prevents entries when broker spreads exceed your tolerance.
- Maximum concurrent positions cap to control exposure.
๐ Safety First
- All order executions wrapped in error handling with full logging of every action taken.
- Works with any broker symbol configuration; simply attach to an XAUUSD H4 chart.
AccessRights.Noneโ the bot requires no special permissions on your machine.
Recommended Settings
Trading Hours
07โ20 UTC
London + New York sessions
Who Is It For?
- Traders who want systematic Gold exposure without screen time.
- Prop firm candidates needing strict drawdown compliance.
- Anyone seeking a transparent, auditable bot โ every decision is logged and reproducible in backtests.
Important Disclaimer
This cBot is a trading tool, not a guarantee of profit. Past performance does not guarantee future results. Always backtest thoroughly, validate out-of-sample, and forward test on a demo account before risking real capital. Trading gold involves substantial risk and may not be suitable for all investors.
