# VolatilityGridBot

A MetaTrader 5 Expert Advisor implementing a volatility-based stop grid strategy.

Canonical: https://prismaticalgos.com/compendium/algo/11028-volatilitygridbot
Record ID: 11028
Catalog rank: 140 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trade & Execution Management (K)
Source: https://github.com/ARYoz/VolatilityGridBot
Evidence label (unverified): source_code

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: XAUUSD
- timeframes: any
- sessions: InpSessionOpenTime 01:05, InpSessionCloseTime 23:50, InpStopNewOrdersTime 23:30
- market_regime: volatile

## Indicators

No indicator stack recorded.

## Recorded long-entry rules

- 20 Buy Stop Limit above the current price with InpOrderSpacing distance

## Recorded short-entry rules

- 20 Sell Stop Limit below the current price with InpOrderSpacing distance

## Recorded exit rules

- When the price hits the third Buy Stop, trail SL to the highest high - InpTrailingDistance, close all shorts and cancel all Sell Stop orders, maintain at least 10 Buy Stops above the current price. When the price hits the third Sell Stop, trail SL to the lowest low + InpTrailingDistance, close all longs and cancel all Buy Stop orders, maintain at least 10 Sell Stops below the current price. Reset the grid after all positions are closed by trailing SL.

## Recorded filters

- InpDailyLossPercent 50 for daily max loss

## Risk controls

- Stop loss: Unified SL at the second Buy Stop for all longs, trail SL to the highest high - InpTrailingDistance, close all shorts and cancel all Sell Stop orders.
- Take profit: Not specified
- Position sizing: InpLotSize for both long and short entries
