Botkrit Gold Correlation Silver Filter Grid
- Experts
- Versione: 1.3
- Attivazioni: 10
Botkrit Gold Correlation (Silver Filter Grid) is a two-sided grid Expert Advisor built for gold (XAUUSD). It trades BUY and SELL grids at the same time and adds one idea to the usual grid: gold and silver move together, and when silver moves first the EA uses that as a filter.
How it works
- Grid: orders are opened when price moves an ATR-based distance beyond the edge of the existing orders. The grid distance adapts to volatility and to the normal spread of the symbol.
- Silver filter (gold only): the EA measures the gap between silver and gold returns on M15 as a statistical Z-score. When silver has clearly moved and gold has not followed yet, the EA does not open new orders against the silver direction. Hedge orders are still allowed.
- Market state gate: in a strong trend or a breakout the EA does not open new orders against the trend.
- Basket management: profit targets scale with ATR and lot size. Profitable orders can be closed in groups to offset losing ones, and a combined close clears the whole basket when its target is reached.
- Lot cap: total open lots are limited to Lot x cap multiplier. At the cap, a BUY+SELL pair that is not losing together can be closed to free a slot.
- Lock box: when large orders are stuck on both sides, the EA works inside the box and clears the worst pair together in equal lots.
- DD cutloss: all orders are closed if account drawdown reaches the set percentage (default 50%), followed by a pause before new orders.
- Spread guard: no new orders while the spread is far above the normal spread of the symbol.
- On-chart dashboard with balance, drawdown, open orders and status, with a hide / show button.
Important: grid strategy, no fixed stop loss
This EA does not place a stop loss on each order. It manages the whole basket and relies on the DD cutloss. Floating losses can become large in a long one-way market. Grid trading carries a high risk of losing a large part of the account. Results are not guaranteed, and backtest or demo results do not predict live results. Use a demo account first and only risk money you can afford to lose.
Requirements
- Symbol: XAUUSD (or the broker gold symbol, for example XAUUSD.s). Add XAGUSD (silver) to Market Watch for the silver filter. If no silver symbol is found, or the chart symbol is not gold, the filter switches off and the EA runs as a plain grid.
- Timeframe: M5 recommended. The EA reads its own indicators, so the chart timeframe does not change the signals.
- Account: hedging account type, automated trading allowed. Low spread and fast execution recommended.
- Recommended minimum deposit: USD 5,000 for 0.01 lot on gold (USD 10,000 preferred). In an October 2026 Strategy Tester run (gold moved from 3,870 to 4,225) 1,000 and 3,000 USD accounts were wiped out by repeated drawdown cutloss and 5,000 USD still hit the 50% cutloss several times. Keep the lot proportional to the balance.
- A VPS is recommended for continuous operation.
How to use
- Open an XAUUSD chart (M5) and make sure XAGUSD is visible in Market Watch.
- Attach the EA and allow automated trading.
- Start on a demo account with the default inputs (Lot 0.01).
- Use a different Magic number for each chart if you run more than one.
- Do not close the EA orders by hand while the basket is open unless you accept that the basket logic will take over the remaining orders.
Inputs
- Lot: lot size per order (default 0.01)
- Hard stop DD: drawdown percentage that closes all orders (default 50, 0 = off)
- Magic number
- Reversal split close on / off
- Show the status panel under the dashboard
- Nmax gate and Nmax K: optional limit on net lots measured in ATR moves the account can absorb (0 = off)
- Gross cap multiplier: total lots cap as a multiple of Lot (default 60, 0 = off)
- Cap pair close: close a non-losing BUY+SELL pair when the cap is reached
- State gate: block new orders against a trend or breakout
- Silver filter on / off; silver symbol name (empty = detect automatically); minimum silver signal strength (default 2.0); how many M15 bars a silver signal stays valid (default 8)
- Adopt existing positions (default off: only the EA own magic number is managed); black chart theme (default off)
- On-chart indicator display (box breaks and reversal swings), display only
Other symbols. The EA can run on other symbols as a plain grid without the silver filter, but it was designed, measured and tuned for gold only.
