
Maya Gold Grid ATR is a professional trading robot designed exclusively for XAUUSD (Gold) on the cTrader platform.
The algorithm is built on an adaptive grid system, where order spacing is dynamically calculated using the ATR (Average True Range) indicator. This ensures the strategy adjusts to current market volatility and remains effective in different conditions.
βοΈParameters Overview
The bot includes a wide range of parameter groups: presets, sessions, grid, volume, basket, and risk management. This structure makes it suitable both for traders who prefer plug-and-play solutions and for advanced users who want full control.
You can choose from ready-made presets (Low Risk, Balanced,High Risk) for quick setup depending on your preferred style.
For advanced traders, there is also a Custom mode that allows precise manual configuration of every parameter, so the strategy can be fine-tuned for your account size, leverage, and broker conditions.
π‘οΈ Key built-in risk controls include:
- Maximum holding time for losing positions
- Daily stop-loss limits and floating drawdown protection
- Free margin and volume safeguards
- Basket management (Take Profit or Cut) to close entire grids at once
Maya Gold Grid ATR is the ideal solution for traders who want the balance between adaptive automation and full manual flexibility in gold trading.
Maya Gold Grid ATR offers a wide range of parameters grouped into logical sections for easier setup.
All settings can be applied automatically through optimized presets (Low Risk, Balanced, Aggressive, High Risk), or configured manually if you select the Custom preset, which unlocks full control over every parameter.
Maya Gold Grid ATR β Parameters Overview
Presets
The cBot includes four optimized presets: Low Risk, Balanced, and High Risk.
Each preset is based on extensive backtesting and provides a ready-to-use configuration for different account conditions and risk profiles.
For advanced users, the Custom mode allows full manual configuration of all parameters.
- Lower-risk presets: safer equity curve, slower growth.
- Higher-risk presets: faster growth, deeper drawdowns.
All parameters below are applied only for Preset = ‘Custom’
Session
Controls the trading window and daily execution.
- Use Trading Window β enable or disable restricted trading hours.
- Start Trading Hour (UTC) β earlier start increases trading activity, later start reduces it.
- End Trading Hour (UTC) β earlier close reduces exposure, later close allows more opportunities.
- Close End of Day (EOD) β automatically closes all trades daily at the specified time.
- Close EOD Hour (UTC) β earlier cut-off increases safety, later cut-off keeps trades active longer.
Grid Core
Defines how the trading grid adapts to volatility.
- ATR Period β shorter period increases sensitivity (more frequent adjustments), longer period smooths volatility response.
- ATR Multiplier β Step β lower values tighten grid spacing (more trades, higher risk), higher values widen spacing (fewer trades, safer).
- TP per Level (pips) β smaller target provides quicker but smaller exits, larger target requires more patience but yields higher profit per trade.
- SL per Level (pips) β smaller stop losses reduce drawdowns but increase premature exits, larger stops allow more tolerance but increase risk.
- Levels per Side β fewer levels reduce exposure, more levels increase scaling and potential risk.
- Rebuild Missing Orders β when enabled, the bot automatically restores missing grid levels.
Volume
Controls position sizing and scaling.
- Base Volume (lots) β initial lot size; smaller value reduces risk, larger value increases exposure.
- Max Total Volume (lots) β caps maximum exposure; lower values keep risk limited, higher values allow larger grids.
- Volume Multiplier per Level β geometric growth of lots; smaller values scale slower, larger values increase risk and reward faster.
Seeding
Defines how the first trade is placed.
- Ensure β₯1 entry/day β guarantees at least one trade daily.
- Seed at Start Hour if flat β places an initial order at session start if no positions are open.
- Seed Direction (Buy/Sell/Auto) β manual fixed direction or automatic detection based on short-term trend.
Basket
Groups trades into a managed basket with profit/loss targets.
- Basket TP (money) β closes basket at defined profit in account currency; smaller values exit faster, larger values hold longer.
- Basket TP (pips vs avg) β closes basket once the distance to VWAP exceeds defined pips.
- Basket Cut (money) β forces basket closure at defined loss; lower values protect faster, higher values allow more tolerance.
Risk Management
Built-in safety controls to protect capital.
- Enable Losing Position Lifetime β closes losing trades after defined time in market.
- Losing Position Lifetime (min) β shorter values cut trades quickly, longer values allow more holding.
- Max Trades/Day β caps daily trade count.
- Daily Loss Stop (%) β stops trading for the day once balance loss exceeds threshold.
- Max Floating Drawdown Stop (%) β closes all trades if floating drawdown exceeds set percentage.
- Min Free Margin After Order (%) β ensures free margin buffer before new trades; higher values are safer.
- Equity Drawdown Stop (%) β hard stop based on equity decline from starting value.
General
- Label β trade label used for tracking and basket grouping.

FAQ β Maya Gold Grid ATR
No. The strategy is specifically designed and optimized for XAUUSD. Using it on other instruments is not recommended, as volatility and spread behavior differ significantly.
The bot is optimized for M15 (15-minute chart). Running on other timeframes may lead to incorrect ATR calculations and grid spacing.
Yes. This free version runs in backtesting and optimization mode only. It allows you to verify performance results before considering the full version.
The full version (works on demo and live accounts) can be purchased in the cTrader Store. A link is provided in the product description.
Presets (Low Risk, Balanced, Aggressive, High Risk) are pre-optimized profiles with balanced parameters.
Custom mode unlocks full manual control over every parameter.
Grid step is calculated dynamically using the ATR (Average True Range) indicator multiplied by your ATR multiplier setting. This makes the grid adaptive to volatility.
Yes. You can enable per-level TP/SL, but the main exit logic is based on basket Take Profit or cut-loss rules, which manage groups of trades together.
Itβs a feature that closes all trades in a grid once the combined profit reaches a set amount (either in money or in pips vs VWAP).
The bot has an optional Losing Position Lifetime parameter. If enabled, it will auto-close losing trades after they exceed the set time limit.
Risk is controlled via multiple layers:
* Minimum margin % check
* This makes sure the account is protected from runaway exposure.
* Daily loss stop (% of balance)
* Max floating drawdown (%)
* Equity drawdown circuit breaker
Yes. You can define a Max Trades/Day parameter to cap daily activity.
By default, yes. But if you enable Use Trading Window and EOD Close, it will trade only inside your chosen hours and flatten positions at dayβs end.
Seeding ensures the grid always has a starting trade. It can be configured to:
* Follow a fixed direction (Buy/Sell) or auto-detect based on recent price action
* Guarantee at least one trade per day
* Place an entry at session open
Lot size grows with each level using the Volume Multiplier. Example: Base lot 0.02 with multiplier 1.5 β 0.02, 0.03, 0.045β¦ per level.
Yes, if Rebuild Missing Orders is enabled, the bot restores the grid automatically.
Like any grid strategy, it carries risk in trending markets. Thatβs why multiple safety features (basket cuts, drawdown stops, margin checks) are built in. The presets are optimized to balance profit and protection.
Yes, but each instance should run on a separate chart with a unique Label, otherwise trades may overlap.
Yes, but itβs recommended to separate them by using different Labels or even different accounts. Mixing strategies on the same symbol may cause overlapping trades and distort risk management.
In Custom mode all presets are disabled, so every parameter must be set manually. If values are too restrictive (e.g., wide ATR multiplier, very few levels, or high margin requirement), the bot may simply find no valid entries.
If the ATR Multiplier β Step is too low, the grid spacing becomes very tight. This leads to rapid order placement, higher exposure, and frequent trades β often in drawdown.
Aggressive lot sizing (high Base Volume or large Volume Multiplier) dramatically increases risk. Always scale volume with account balance and leverage, or use optimized presets as a baseline.
This is a natural risk of any grid strategy. To reduce losses:
* Use wider ATR Multiplier (larger grid spacing).
* Lower the Max Total Volume cap.
* Enable Basket Cut and Timed Loss Cut to prevent runaway positions.
When stopped, the bot will automatically close all its positions and pending orders (flatten). This prevents abandoned trades from running unmanaged.
Not in the classic sense. Position sizing grows geometrically with the Volume Multiplier, but there are strict caps via Max Total Volume and safety stops.
Grid strategies are always exposed in strong trends. Thatβs why Maya Gold Grid ATR includes Basket TP, Basket Cut, Daily Stops, Drawdown Stops, and Timed Loss Cut to reduce risk. However, no grid can eliminate trend risk entirely.
No, but itβs not recommended. Always stop the bot, adjust parameters, then restart. Changing mid-run can create inconsistent grid structure.
Backtesting on Ticks for 1 months 26/07/2025 -26/08/2025



Equity

Trade statistics

History

Backtesting on m1 bars for 6 years 26/08/2019 -26/08/2025
Using the High Risk preset, the bot showed consistent results across a long historical period. These figures should be considered approximate and indicative only, as bar-based tests do not reflect the accuracy of tick-by-tick execution, slippage, or spread variations. This backtest is presented to demonstrate the overall behavior of the strategy over longer periods.



Trade statistics

