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

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