Gold race
- エキスパート
- バージョン: 1.0
- アクティベーション: 5
Gold Quantum Race v1.0Author: Aliosman Yilmaz | Platform: MetaTrader 5 | Mode: Fully Automated
Gold Quantum Race is a dual-core Expert Advisor (Core A + Core B) built around a multi-layered decision engine that puts signal quality above trade count. It is designed to run on any symbol and timeframe, including Gold (XAUUSD), Natural Gas, Crude Oil and US indices such as NAS100.
🧠 Multi-Layered Signal Engine
- Dual-Core Architecture: Two independent strategy engines run simultaneously, each with its own magic number and risk profile.
- EMA Trend + Pullback Entry: After an EMA crossover, the EA waits for price to retrace to the slow average and resume direction — avoiding late, low-quality entries.
- Breakout Layer (Donchian): Detects N-bar high/low breakouts and adds them as a high-conviction entry layer.
- Noise Filters: RSI overbought/oversold guard, candlestick body confirmation, EMA-gap filter and spread protection eliminate weak signals before they reach execution.
📐 Candlestick Pattern Engine
- Head & Shoulders, Inverse H&S, Double Top and Double Bottom detection with similarity scoring.
- Neckline-break confirmation and anti-fake-out buffer protect against low-confidence pattern entries.
- Pattern trades are only opened after H1 and H4/D1 trend confirmation.
🤖 Deep History Similarity AI
- Loads years of historical price data and finds the past windows that most closely resemble the current candlestick sequence (K-Nearest Neighbours).
- Statistically measures the direction and magnitude of price movement following those similar windows.
- Adds a calendar/seasonality bucket (day-of-year) to verify behaviour of the same period.
- If the result is not strong enough (win-probability threshold not met), it does not open a trade — quality comes first.
🧬 Adaptive Neural Network Filter
- Single-layer, online-learning logistic neuron gate: learns from realised trade outcomes and blocks low-probability signals.
- A month-of-year seasonality layer feeds calendar awareness into the neuron's decision.
- Weights persist in MQL5\Files and training continues on every restart.
💰 Smart Risk & Money Management
- 4 lot-sizing modes: fixed lot, lots-per-balance-step, percent-risk and automatic (level-based).
- Margin-Percent Mode: positions are sized to use a chosen percentage (e.g. 50%) of the account margin.
- Maximum lot cap for protection against oversized exposure.
- Built-in protections: breakeven + trailing stop, daily profit target & give-back lock, maximum drawdown auto-pause, weekend exposure flattening and NFP/FOMC news-day filters.
- Daily trend filter and H4/D1 multi-timeframe confirmation reduce counter-trend risk.
📊 User Experience
- Live status panel on the chart (core state, magic numbers, SL info).
- Clean [GQR E###] style status logging.
- Plug-and-play setup on any symbol and any timeframe.
⚙️ Installation & Usage
- Copy GoldQuantumRace.ex5 into the MQL5\Experts folder.
- Compile in MetaEditor (or use the pre-compiled .ex5).
- Open a chart of your chosen symbol and drag the EA onto it.
- It starts working immediately with balanced pre-set defaults; every parameter can be fine-tuned from the Inputs tab.
⚠️ Important Disclaimer
Forex and CFD trading involves significant risk. Past performance is not a guarantee of future results. Before going live, validate the strategy in the Strategy Tester using Real Ticks mode, trade only with capital you can afford to lose, and never risk funds you cannot afford to lose. This product is not a guarantee of profit.
