Synthetic Symbols
Synthesize live bid and ask quotes for custom MT5 symbols from arithmetic formulas and weighted baskets with spread controls and a stale-leg circuit breaker.
What it does
10 capabilities- Formula-driven live quote synthesis for custom MT5 symbols via TickAdd
- Supports crosses, contract scaling, offsets, parentheses, and weighted index baskets
- Conservative interval arithmetic guarantees accurate bid/ask derivation and ask >= bid
- Rejects cyclic formula graphs, self-references, and division by zero at config or tick time
- Stale-leg circuit breaker halts synthetic quotes if any component leg stalls
- Automatic recovery with halt and recovery audit records in synthetic_alerts
- Configurable spread markup (spread_markup_points) and minimum spread floor (min_spread_points)
- Per-target decimal precision overrides (digits_override) with automatic symbol fallback
- Supports multi-level non-cyclic synthetic dependency chains in topological order
- Dry-run preview mode and periodic synthetic_stats summaries in CRM reports
How it works
Synthetic Symbols generates real-time bid and ask prices for custom MT5 instruments from live underlying market ticks. Brokers define semicolon-separated arithmetic formulas such as local-currency gold per gram (XAUINR_G = XAUUSD * USDINR / 31.1035), micro-lot contracts (BTCMICRO = BTCUSD / 1000), synthetic crosses (EURGBP_SYN = EURUSD / GBPUSD), or weighted index baskets (CRYPTO_IDX = 0.5*BTCUSD + 0.3*ETHUSD + 0.2*SOLUSD). A validated recursive-descent evaluator computes conservative bid/ask intervals, rejects cyclic definitions and division by zero, rounds prices to target or overridden decimal digits, and applies configurable spread markup and minimum spread floors. Whenever any component leg stops ticking beyond stale_leg_seconds, the stale-leg circuit breaker halts quote injection, raises an alert in synthetic_alerts, and resumes automatically upon recovery while emitting periodic synthetic_stats summaries.
Parameters & options
Configured directly in MetaTrader 5 Administrator and testable live in the simulator.
| Parameter | Type | Default | Description |
|---|---|---|---|
formulas | text | empty | Semicolon-separated quote formulas (TARGET = EXPR), e.g. XAUINR_G = XAUUSD * USDINR / 31.1035; BTCMICRO = BTCUSD / 1000 |
spread_markup_points | int | 0 | Additional bid/ask spread markup in target symbol points (0 to 100000) |
min_spread_points | int | 1 | Minimum bid/ask spread floor in target symbol points (0 to 100000) |
stale_leg_seconds | int | 15 | Halt synthetic quotes when any component leg has no tick within this many seconds (1 to 86400) |
digits_override | text | empty | Optional per-target decimal digits separated by ';', e.g. XAUINR_G=2; EURGBP_SYN=5 |
dry_run | bool | 0 | 1: compute synthetic quotes and emit stats without calling inject_tick. 0: inject quotes live |
license_key | text | empty | License key from FXOpsPro, for example FXO-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX |
license_server | text | https://plugins.fxopspro.com | License server address |
Quotes and spreads



