XAUUSD Price Action Trading Bot for cTrader is a smart and adaptive automated trading system designed specifically for Gold (XAUUSD).
It applies pure Price Action analysis — identifying structure shifts, breakouts, and momentum setups — to deliver accurate and consistent entries.
This bot does not use Martingale or Grid strategies. Every position is protected with a clearly defined Stop Loss and Take Profit, ensuring disciplined and transparent trade management.
Optimized for the M1 timeframe, it adapts dynamically to XAUUSD’s volatility and market behavior, maintaining consistent performance with minimal drawdown.
Ideal for traders who seek a fully automated system that combines precision, safety, and profitability.
Key Features
- Pure Price Action Logic – Trades based on candle structure, support/resistance zones, and breakout confirmations.
- Fully Automated for cTrader – No manual input required once configured.
- Smart Risk Control – Adjustable stop loss, breakeven, trailing stop, and dynamic risk per trade.
- No Martingale / No Grid – All trades have clear Stop Loss and Take Profit levels.
- High Precision Entries – Avoids false signals with multi-bar confirmation logic.
- Adaptive to Volatility – Automatically adjusts behavior to Gold’s unique volatility profile.
- Customizable Parameters – Fine-tune entry filters, risk management, and trade frequency.
Performance Highlights
- Precision in Volatile Markets: Specifically tuned for Gold’s fast price movements, capturing high-probability setups with precise timing.
- Strong and Consistent Results: Performs reliably across trending and ranging conditions using multi-bar confirmation logic.
- Low Drawdown & Controlled Risk: Built-in breakeven, trailing stop, and capital protection mechanisms keep drawdowns minimal.
- High Reward-to-Risk Ratio: Focuses on clean price action breakouts and momentum continuation trades.
- Extensive Backtesting: Validated over multiple years of XAUUSD data under various market conditions, spreads, and liquidity.
- Dynamic Adaptation: Automatically adjusts to Gold’s volatility profile and session behavior.
- Fully Automated Trading: Once configured, the bot manages entries, exits, and risk handling with no manual input required.
Why Choose This Bot
If you value smart automation with a professional price action edge, this bot delivers a blend of precision, safety, and profitability.
Ideal for traders who want consistent exposure to Gold without emotional trading or over-optimization.
⚙️ Backtesting data
Broker: Icmarkets; Data: Tick data from server (accurate); Commission: 30
Periods: 10/2021 – 10/2025

Results with 2% risk of balance per order

“Trade Statistics” with 2% risk of balance per order

Results with fixed risk of $100 per trade

“Trade Statistics” with fixed risk of $100 per trade
⚙️ Bot Parameter User Guide
1. License
- Required if using bot in Realtime mode
2. Main Settings
These parameters define how the bot manages risk, lot size, and trade direction.
- Capital Management
Choose how position size is calculated:- Risk: the bot calculates lot size based on your account balance and the Risk % value.
- Fixed Money: the bot risks a fixed USD amount per trade.
- Risk %
When using “Risk” mode, this defines how much of your account balance is risked per trade.
Example:1.5means the bot risks 1.5% of your balance per position. - Fixed Money (USD)
When using “Fixed Money” mode, this sets a fixed dollar risk per trade.
Example:100means each trade is calculated as if risking $100. - Max Lots (Lots)
The maximum total lot size that can be opened at one time.
Prevents over-leveraging or excessive exposure. - Max Orders
The maximum number of trades the bot can keep open simultaneously.
Example:2means only two trades at the same time. - Number of TP times
Defines how many Take Profit levels or targets are used.
Example:6means the strategy may use up to six sequential TP levels. - Order Type
Determines trade direction control.- OneDirection: allows trades only in one direction (Buy or Sell) at a time.
- BothDirections: Allows trading both directions (Buy and Sell) at a time.
- BuyOnly: Only allows Buy positions.
- SellOnly: Only allows Sell positions.
3. Non-Trading Time (UTC)
This section controls when the bot stops trading, such as weekends or low-liquidity periods.
- Set non-trading time
- Yes: enables this feature.
- No: the bot trades continuously.
- Day of week
Specifies which day(s) to avoid trading.
Example: Weekend disables trading during weekends. - Period (hh:mm)
Defines the time range (in UTC) when trading will pause.
Example:20:00 – 00:00means no new trades are opened during that time. - Close existing Orders
Determines whether the bot closes trades before non-trading hours begin.- Profitable: closes only winning trades.
- All: closes every trade.
- No: keeps all trades open.
4. News Management
This feature prevents trading around major economic news to avoid high volatility.
- Impact Of News
Sets which news events will trigger the pause.
Example: High means only high-impact news (e.g., NFP, CPI, FOMC) are filtered. - Before News (Minutes)
Number of minutes before the news when trading stops.
Example:80means stop opening new trades 80 minutes before the event. - After News (Minutes)
Number of minutes after the news when trading remains paused.
Example:80means resume trading 80 minutes after the event. - Close existing Orders
Defines whether to close open trades before the news release.- Profitable: closes only trades in profit.
- All: closes all trades.
- No: leaves trades open.
- Show News
- Yes: shows upcoming news events directly on the chart (impact level, time, currency).
- No: hides the news display.
5. Telegram Information
This section allows the bot to send trade updates, account information, and alerts to your Telegram group.
- Telegram’s BOT Token
The access token provided by @BotFather when you create your Telegram bot.
Copy and paste it here. - Telegram’s group ID
The username of your Telegram group or channel where the bot sends notifications.
Example:@Fx4Usms_bot. - Show Equity
- Yes: includes your account equity in every Telegram message.
- No: hides equity information.
- Welcome Message
- Yes: sends a welcome message to Telegram when the bot starts (used to verify the connection).
- No: disables it.
- Header
Text shown at the top of each Telegram message, usually your bot or brand name.
Example:Fx4U. - Footer
Text shown at the bottom of each Telegram message, often your website or contact info.
Example:Fx4U.net.
🧭 Recommended Setup
- Symbol: XAUUSD (Gold)
- Timeframe: M1 (1-Minute Chart) — optimized for short-term precision entries.
- Leverage: Minimum 1:100 recommended for optimal position sizing and flexibility.
- Broker: Tested and optimized on ICMarkets for low spreads and fast execution.
- Account Type: ECN or Raw Spread account preferred.