Snowball Cross Symbol Spread

Snowball Cross Symbol Spread is a fully automated two-instrument spread Expert Advisor for MetaTrader 5. It trades the price difference between two correlated symbols with a rules-based relative-value model. It does not use a grid, a martingale multiplier or an external signal service.

How it works

  • Reference spread. The EA pairs the last 180 completed D1 closes of Leg A and Leg B by date and averages A minus B. Daily jumps larger than 0.05 are excluded to reduce rollover noise.
  • Entries. When the current spread is 0.004 below the reference, the EA buys Leg A and sells Leg B. When the spread is 0.004 above the reference, it sells Leg A and buys Leg B.
  • Exits. The primary target is a 0.0015 move back toward the reference. A percentage stop loss and take profit can also be enabled; defaults are 2.0% and 3.0% of the two-leg notional value. An optional time-based exit is available.
  • Add-ons. If the position moves 1.0% of the two-leg notional against the entry anchor, the EA can add 50% of the initial lots, up to two times with a 120-second cooldown. With "reset after add" off, the stop loss and the add-on trigger stay based on the initial notional value.
  • Execution. Market orders with configurable slippage and retries. Positions are closed by ticket, and the EA re-reads the account after closing to confirm the result.

Key features

  • Fixed lots per leg; position size is not calculated from account equity or broker margin.
  • Hard cap on lots per leg (default 2.0, including add-ons).
  • At most two add-ons, each fixed at 50% of the initial lots.
  • Entry filters: maximum spread per leg, quote age, quote time difference between legs, price range, absolute spread, cost-to-threshold ratio, margin level, and a Friday cut-off hour.
  • One trading instance per terminal; a second chart shows a warning instead of opening another set of trades.
  • State file for restart recovery.
  • English chart panel by default; Chinese panel optional.
  • No DLL, no WebRequest, no external licensing server and no third-party update system.

Main inputs

  • InpSymA = AUDUSD - Leg A; broker suffix allowed
  • InpSymB = NZDUSD - Leg B; broker suffix allowed
  • InpBaseDays = 180 - completed D1 closes used for the reference
  • InpBaseMinBars = 20 - minimum paired trading days; below this the EA does not open new trades in the default mode
  • InpOpenA / InpOpenB = 0.004 / 0.004 - entry distance from the reference, in price units
  • InpTpA / InpTpB = 0.0015 / 0.0015 - spread take-profit distance, in price units
  • InpLotsPerLeg = 0.10 - lots per leg in fixed-lot mode
  • InpMaxLots = 2.0 - hard cap per leg, including add-ons
  • InpSLPct / InpTPPct = 2.0 / 3.0 - fixed stop loss and take profit, percent of two-leg notional
  • InpAddLossPct = 1.0 - adverse move from the anchor that triggers an add, percent
  • InpAddRatioPct = 50.0 - add volume as a percentage of the initial lots
  • InpMaxAddTimes = 2 - maximum number of add-ons
  • InpMaxLegSpreadUSD = 0.00030 - maximum allowed spread per leg
  • InpMinMarginLevel = 150 - minimum margin level for entry and add-ons, percent
  • InpManualPolicy = MANUAL_IGNORE - the EA manages only positions with its own magic number
  • InpPanelLang = English - chart panel language

Symbols, timeframe and account

  • The defaults are AUDUSD and NZDUSD, a heavily correlated pair. Any two correlated instruments can be used; the reference, thresholds and units follow the symbols you set.
  • Any chart timeframe can be used. The EA reads D1 history for its reference and needs at least 20 paired daily closes; 180 or more is recommended.
  • A hedging account is recommended because the strategy holds two independent legs and can hold multiple tickets. Test on a demo account first.
  • A VPS is recommended for 24/5 operation.

Recommended crude oil configuration

The EA is not tied to FX. A Brent/WTI spread can be traded by setting the legs to your broker's crude oil symbols - for example InpSymA=UKOUSD (Brent) and InpSymB=USOUSD (WTI) - and scaling the thresholds to the oil price range, for instance InpOpenA/InpOpenB = 3.0, InpTpA/InpTpB = 1.0, InpMaxLegSpreadUSD = 0.80 and InpLotsPerLeg sized to your deposit. The 180-day reference and all position management work the same way. BZUSD and CLUSD are equivalent broker notations for the same Brent and WTI contracts: use BZUSD wherever UKOUSD is shown and CLUSD wherever USOUSD is shown, or simply type the exact symbol name from your broker's Market Watch. If your broker uses suffixes, type the full symbol name; the EA also tries common aliases and suffix variants.

Hypothetical backtest - crude oil configuration

The figures below come from the MetaTrader 5 Strategy Tester on real broker history (STARTRADERFinancial-Demo, build 6230) and are reported as they are.

  • Symbols: UKOUSD (Leg A) / USOUSD (Leg B) - not the default symbols
  • Period: 2026.01.01 - 2026.11.11, H1, 1 minute OHLC modelling; effective data starts 2026.03.02
  • Deposit / leverage: 100,000 USD / 1:100
  • Volume: 8.0 lots per leg, fixed
  • Trades: 42 (84 deals), 21 buy / 21 sell, 19 winners (45.24%)
  • Net profit: +9,655.60 USD (+9.66%), profit factor 1.14
  • Maximal balance drawdown: 19,122.14 (14.85%)
  • Maximal equity drawdown: 60,240.15 (43.14%)
  • Exit split: fixed take profit 6, fixed stop loss 3, spread take profit 2, end-of-test close 2

These results are hypothetical and were produced with settings that are not the product defaults. They are not a promise of future performance. Historical backtests do not represent future results, and the 43.14% equity drawdown shows that the oil configuration can carry large floating exposure.

Position size and capital

The default InpLotsPerLeg is 0.10 lots per leg. With a contract size of 100,000 and AUDUSD near 0.65, that is roughly 6,500 USD of notional per leg, or about 13,000 USD across both legs - about 1.3 times a 10,000 USD deposit. Lower the lot size further if your account is smaller or you want less exposure. The EA does not calculate lot size from equity or available margin, so the lot size you set is the lot size it trades.

Installation

  1. Download the product from the MQL5 Market.
  2. Attach it to any chart and allow algorithmic trading.
  3. If your broker uses different symbol names, set InpSymA and InpSymB.
  4. Run it on a demo account first and check the Journal for the resolved symbols and the calculated reference spread.
  5. Set InpLotsPerLeg to a size appropriate for your account before running on a live account.

Support and updates

Please use the product's Market comments section for questions and bug reports. Updates are published through the Market "New Version" tab.

Risk notice

This is a free trading tool, not a promise of profit. Leveraged products can lose more than the initial deposit. Spread scale and volatility differ per instrument, so recalibrate the thresholds when you change symbols. Gap risk, rollover, slippage and broker execution rules can affect results. The add-on logic increases exposure after an adverse move and does not guarantee recovery. Test on a demo account first and choose a lot size that matches your own risk tolerance.

Фильтр:
Нет отзывов
Ответ на отзыв