NINJ4 XAU Basket Sentinel is a controlled Gold basket cBot for XAUUSD M15, built for traders who want automation with clear risk limits, simple settings and a practical optimization workflow.
Example backtest: Net Profit +981.58 EUR, Profit Factor 2.01 and Max Balance Drawdown 7.06% on Fusion Markets, XAUUSD M15, EUR 1000 account, 13/05/2026 – 13/06/2026.
This is not another basic grid robot that simply adds positions without clear structure. NINJ4 XAU Basket Sentinel was designed around the common weaknesses of classic grid and basket systems: uncontrolled exposure, confusing settings, poor risk visibility and hard-to-reproduce backtests.
The goal was to create a cleaner and more transparent Gold basket framework: controlled trading hours, simple parameter names, limited total exposure, basket profit logic, loss-cut protection, spread filtering and an optimization workflow that users can understand and repeat on their own broker data.
Why NINJ4 XAU Basket Sentinel?
Gold can move fast, especially during Europe and US sessions. A classic grid system can become dangerous if it keeps adding exposure without clear limits.
NINJ4 XAU Basket Sentinel was built with control first:
- clear trading window control,
- Buy, Sell or Auto direction mode,
- adjustable order distance,
- controlled order layers,
- basket profit and recovery profit targets,
- group loss cut,
- emergency loss cut,
- daily loss protection,
- open drawdown protection,
- total drawdown stop,
- max total lot limit,
- max trades per day,
- max holding time,
- spread filter.
The goal is simple: keep the basket logic understandable, controllable and easier to optimize.
Main Trading Logic
NINJ4 XAU Basket Sentinel uses basket/recovery logic on XAUUSD M15.
The bot can open several orders according to the selected order structure, but exposure is limited by Max Total Lot, Max Orders per Round, Max Trades per Day and several drawdown protection settings.
The user can control:
- when the bot is allowed to trade,
- which direction it can trade,
- how far orders are placed from each other,
- how many order layers are allowed,
- when the basket closes in profit,
- when the basket must be cut in loss,
- and how much total exposure is allowed.
This makes the bot easier to understand than many overloaded grid systems where the user does not clearly see what controls the risk.
Key Features
- Designed mainly for XAUUSD M15
- Controlled basket/recovery logic
- Simple and user-friendly settings
- Start/Stop trading time control
- Buy, Sell or Auto direction mode
- Adjustable order distance and order layers
- Group profit and recovery profit targets
- Group loss cut and emergency loss cut
- Daily loss protection
- Open drawdown protection
- Total drawdown stop
- Max total lot limit
- Max trades per day
- Max holding time
- Spread filter
- Optimizer-friendly parameter structure
- Suitable for session-based optimization
Risk Control
The bot includes multiple protection layers:
- Group Loss Cut
- Emergency Cut
- Daily Loss %
- Open Loss %
- Total Loss %
- Max Total Lot
- Max Orders per Round
- Max Trades per Day
- Max Holding Time
- Max Spread Filter
These settings help the user control basket exposure and avoid unlimited grid expansion.
Optimization Workflow
NINJ4 XAU Basket Sentinel was designed to be easy to optimize.
The recommended workflow is to optimize the main trading logic first:
- Start Hour
- Stop Hour
- Order Distance
- Order Layers
- Single TP
- Trade Direction
- Group Profit
- Recovery Profit
- Max Orders per Round
This avoids blindly optimizing too many risk parameters at once.
Advanced users can also split optimization by session, for example:
- Early Europe
- Morning Core
- Midday
- US Preopen
- US Session
Gold often behaves differently during different market sessions. Session-based optimization can help users find cleaner presets for their own broker and data conditions.
The example settings and optimizer preset used for the published backtest can be provided to verified buyers on request.
Example Backtest
Example optimized backtest result:
- Symbol: XAUUSD
- Timeframe: M15
- Lot: 0,03
- Broker: Fusion Markets
- Account currency: EUR
- Initial balance: 1000 EUR
- Period: 13/05/2026 – 13/06/2026
- Net Profit: +981,58 EUR
- Profit Factor: 2,01
- Max Equity Drawdown: 8,48%
- Max Balance Drawdown: 7,06%
- Total Trades: 198
- Average Trade: 4,96 EUR
The example was selected not only by maximum profit, but by the balance between profit, drawdown, profit factor and average trade quality.
Several optimization passes produced similar results, which is usually better than relying on one isolated lucky pass.
Important Backtest Note
Backtest results depend on broker data, spread, commission, symbol specification, account currency, leverage, tick data quality and the selected test period.
Different brokers may produce different results.
To reproduce the example as closely as possible, use XAUUSD M15, the same test period, comparable broker conditions and the same cBot settings shown in the screenshots or provided on request.
How to Use
- Attach the cBot to XAUUSD M15.
- Start with low-risk settings.
- Run a backtest first.
- Test on demo before live trading.
- Run your own optimization if your broker conditions are different.
- Check out-of-sample performance before using real money.
- Avoid high-risk settings unless you fully understand basket exposure.
Who This Bot Is For
This cBot is suitable for traders who want:
- a Gold-focused basket cBot,
- simple and understandable settings,
- risk limits,
- optimizer-friendly structure,
- controlled exposure,
- and a practical XAUUSD M15 trading framework.
Important Risk Note
Trading involves risk. Past performance does not guarantee future results.
The backtest shown is an example result based on specific broker data, account currency, spread/commission conditions and historical period. Results may differ between brokers and live trading conditions.
Basket-style systems can increase exposure during adverse market movement. Always test on demo first and use risk settings appropriate for your account size.
Risk controls are comprehensive, featuring group and emergency loss cuts, daily loss limits, open and total drawdown stops, maximum lot size, maximum trades per day, maximum holding time, and a spread filter to avoid unfavorable market conditions. These controls prevent uncontrolled exposure common in traditional grid systems.
The bot supports an optimizer-friendly parameter structure, enabling session-based optimization tailored to different market phases such as European and US sessions. Backtests on Fusion Markets with a 1000 EUR account showed a net profit of +981.58 EUR, a profit factor of 2.01, and a maximum balance drawdown of 7.06%.
Intended for traders seeking a transparent, risk-limited, and practical automated framework for Gold trading, NINJ4 XAU Basket Sentinel emphasizes controlled exposure and straightforward settings to facilitate understanding and reproducible optimization.