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.
Summary
Key features include a prop-firm friendly risk architecture with configurable daily and total drawdown limits that automatically restrict trading upon reaching loss thresholds. The bot avoids martingale, grid, or averaging down strategies, calculating position sizes based on a fixed percentage of account balance and stop loss distance, while respecting broker volume constraints.
Its intelligent signal engine uses triple EMA alignment (fast, medium, slow) to trade in the dominant trend direction and ATR-based volatility measures to dynamically adjust stop loss and take profit levels. All trade signals are generated exclusively on closed H4 bars to prevent false entries.
Trade management tools include break-even and trailing stops that only move stops favorably, session filters to avoid illiquid periods, real-time spread filters, and limits on concurrent positions. The bot features comprehensive error handling with full logging and requires no special machine permissions.
Recommended trading hours cover London and New York sessions (07:00β20:00 UTC). It is intended for traders seeking systematic gold exposure with transparent, auditable trade decisions and strict drawdown compliance.
