"MFP369LIVE" logo
cBot
Version 1.0, Nov 2025
Windows, Mac, Mobile, Web
"MFP369LIVE" uploaded image
"MFP369LIVE" uploaded image
"MFP369LIVE" uploaded image
Since 25/03/2025
156.87M
Traded volume
1.97M
Pips won
21
Sales

XAUUSD Heikin Ashi Structure cBot (for cTrader)

This is my personal cTrader robot that I built specifically for XAUUSD (Gold) on the M15 timeframe.
It’s not a “one size fits all” EA – it’s a structure-based system that tries to trade only around meaningful levels, with risk and money management built in.

You’ll get my best preset for Gold M15 so you can plug it in and run it.
If you like optimizing and experimenting, you can absolutely tweak it and try other markets/timeframes – more on that later.

 

How the robot works (in simple but detailed English)

1. HeikinAshi engine

Instead of using normal candles, the bot converts price into Heikin Ashi candles.
These smooth out noise and make it easier to spot real swings.

Whenever the HeikinAshi candles change color (from bullish to bearish or vice versa), the bot:

  • Looks at that little 3-candle swing
  • For a bullish shift it builds a support zone
  • For a bearish shift it builds a resistance zone

But instead of a single line, it creates a price range (a “box”) between relevant highs/lows of those candles.

2. Smart structure zones

As new swings appear, zones that overlap get merged and refined:

  • Old junk levels are removed after a while (you set how many days to keep them)
  • The bot keeps a history of triggers inside each zone and tries to pick the “best trigger” level, not just the first one it saw

So over time you end up with a clean map of support and resistance zones that price has respected more than once.

3. Higher-timeframe bias filter

On top of the main M15 chart, the robot also looks at an extra timeframe that you can configure (for example a higher TF).

On that extra TF it does a similar Heikin Ashi structure analysis and decides:

  • Overall Bullish bias → only allow buys
  • Overall Bearish bias → only allow sells

If the higher TF says “bullish” but the M15 pattern wants to sell, the trade is simply blocked.
This keeps the bot trading with the bigger picture, not against it.

4. Entry logic

On the M15 chart:

  • If the higher TF bias is bullish
  •  
    • The bot watches the support zones
    • When price breaks back above a key level inside one of those zones, it can open a buy trade
  • If the higher TF bias is bearish
  •  
    • The bot watches the resistance zones
    • When price breaks back below a key level inside one of those zones, it can open a sell trade

To avoid over-trading the most recent noisy zones, it often uses the third-most-recent zone (a kind of “tertiary pivot”) as a cleaner level rather than the last one that everybody just poked.

5. Money management & safety

This is where most “shiny” EAs fail. I built this robot with several layers of risk control:

  • Risk % per trade – you choose a % of your equity and the lot size is calculated automatically for XAUUSD
  • Max trades per day – once this limit is hit, the bot stops opening new positions for that day
  • Fixed stop-loss in pips – every trade has a real SL
  • TP/SL ratio – take-profit is set as a multiple of SL (for example 1.2× etc.)
  • Breakeven move
  •  
    • When price moves far enough in your favor (you set the % of SL), the bot moves SL to breakeven (just beyond entry)
  • Partial profit taking
  •  
    • At a chosen % of the TP distance, it can close a part of the position and let the rest ride
  • Gap-through-SL watchdog
  •  
    • If for some reason the market jumps past your stop, the bot will force-close the position so it doesn’t just sit there unprotected

There is no martingale, no grid, no crazy averaging-down.
Every trade is planned with a fixed SL and TP from the moment it’s opened.

6. Robust behavior & restart safety

The robot keeps track of important things like:

  • How many trades were taken today
  • Which pivot zone was traded last (to avoid re-entering the exact same one)
  • Whether partial profit or breakeven was already applied to an open position

If you restart c Trader , it reads that information back from the existing trades and continues managing them correctly.

7. Visual dashboard

On the chart you’ll see a small dashboard with:

  • The latest support & resistance zones
  • A summary of the structure on the main TF
  • The bias of the extra timeframe

So you can always see what the robot “thinks” the market structure is.

 

Recommended use vs. experimentation

  • My recommended and tested setup is:
  •  
    • Symbol: XAUUSD
    • Timeframe: M15
    • Using my included preset settings

That’s the configuration I actually spent time tuning and back testing.

If you like to tinker:

  • You can run your own optimizations on your broker’s data
  • You can experiment with other pairs or timeframes
  • Just treat anything outside XAUUSD M15 as experimental and do proper back tests + forward tests before risking real money

I encourage this if you enjoy research – the bot has a lot of parameters exactly for that reason – but the “official” recommendation from me is still Gold M15 with my preset.

 

 

Risk warning (please read)

Trading XAUUSD and other leveraged products is very risky.
The results and examples above are back tests on past data only – they do not guarantee or predict future performance. Live results can be very different because of spread, slippage, execution, and changing market conditions.

You can lose part or all of your capital.
Always test on a demo account first, use money you can afford to lose, and adjust the risk % per trade to something you are comfortable with. By using this robot you accept full responsibility for all trading decisions and outcomes.


Trading profile
0.0
Reviews: 0
Customer reviews
No reviews for this product yet. Already tried it? Be the first to tell others!
Forex
AI
XAUUSD
Products available through cTrader Store, including trading bots, indicators and plugins, are provided by third-party developers and made available for informational and technical access purposes only. cTrader Store is not a broker and does not provide investment advice, personal recommendations or any guarantee of future performance.

More from this author

cBot
AI
ATR
+27
Overnight trades? Pc needs shut down? Sleep disruption from alerts? Could have avoided Loss with BE Partial Monitored ?
Indicator
Forex
Crypto
+2
Market Structure Indicator – Your Trading Map in a Noisy Market. No more Panicking Which one, Where, Why and How.
Indicator
Forex
Auto Fill Alert on all Ur Markings. **Easy to mark on multiple devices using Alerts' Position

You may also like

cBot
ADX
ATR
+5
Este bot es un sistema de trading algorítmico avanzado diseñado para operar bajo la metodología de Smart Money Concepts
1.9
Profit factor
30%
Max drawdown
cBot
AI
ATR
+11
Adjust Strategy as You Wish!!! this Bot contains MACD,CoG,ADX,EMA
cBot
Ichimoku
AI Trading
+5
16 filters scan every asset. 12 AI models vote. One decision: the best short, at the right time.
2
Profit factor
4%
Max drawdown
cBot
AI
ATR
+27
Depth of Market + VIX Bot - Complete Analysis
cBot
Fixed Risk %
Break & Retest
Check out this new bot! It’s designed for breakout and trend riding using a mix of RSI, Supertrend, and top-down analysi
12.7%
ROI
1.35
Profit factor
62.5%
Max drawdown
cBot
Forex
BTCUSD
+5
OneClick SL/TP Setter — Smart Trade Management Made Simple
cBot
Channel
AI Trading
+5
AI-powered zones. Adaptive stops. Trade smarter, not harder. The cBot that knows WHEN to trade and WHEN to stop
2
Profit factor
4%
Max drawdown
cBot
RSI
Forex
+2
N.B.: Results with an initial invested capital of 100 euros.
cBot
ATR
RSI
+4
UltimateAI Trading Robot – Smart Trend & Momentum Trader for cTrader
cBot
Forex
BTCUSD
+13
Automatically manages Stop Loss and Take Profit using Support & Resistance levels, with intelligent trailing stop protec
cBot
AI
NAS100
+3
DeMark Volume Pro Multi-Style Suite
19.24
Profit factor
4.55%
Max drawdown
cBot
Prop
Forex
+14
Automated ORB bot: Stop/Limit entries, EMA/PDH filters, auto-BE, and session trade limits.
cBot
ADX
EMA
+5
Precision-focused trading system for DAX, designed for controlled risk and high-quality trade execution.
19.8%
ROI
3.01
Profit factor
8.81%
Max drawdown
cBot
AI
Forex
+3
Pulsix Pro - Professional Automated Trading Robot
cBot
ATR
RSI
+5
Professional Multi-Strategy Grid Trading Bot
cBot
AI
Grid
+7
Algo Forex Strategy ( Trial )
cBot
Balanced
AI Trading
+5
Three timeframes, two strategies, thirteen AI providers. One smart cBot that reads, filters, and executes only the trade
2
Profit factor
3%
Max drawdown
cBot
ATR
RSI
+15
SwissArmyKnife DEMO version
Since 25/03/2025
156.87M
Traded volume
1.97M
Pips won
21
Sales