OFX Ea
- Experts
-
Malik Muhammad Naveed
========================================================
ABOUT THE SELLER / AUTHOR (for MQL5 profile & products)
========================================================
----------------------------------------
SHORT VERSION (profile "About me" / signature) - Versione: 1.20
========================================================
OFX EA — MQL5 MARKET PRODUCT DESCRIPTION
(formatting notes: **bold** = editor Bold button;
lines starting with "•" = bullet-list button;
UPPERCASE lines = section headings)
========================================================
SHORT TITLE (product name field):
OFX EA — OrderFlow Conviction Meter & Signals for XAUUSD (Gold)
-------------------------------------------------------
OVERVIEW
-------------------------------------------------------
**OFX EA** is the brain of the OrderFlow suite. It reads every engine as an
**independent** vote, combines them into one **conviction meter**, and fires clean
**BUY / SELL signals** only when enough engines agree. It can run as a
**signals-only** assistant, a **demo** auto-trader, or a **live** auto-trader — you
decide, deliberately. It also keeps an **honest, auto-graded journal** so you can see
its real track record, broken down by kill zone.
Everything is bundled into a single self-contained file — the order-flow engines are
built in. Purpose-built for **XAUUSD (Gold)**, recommended on **H1**.
-------------------------------------------------------
WHAT IT DOES
-------------------------------------------------------
• **Conviction meter** — blends four independent engines into one net score with
direction and an agreement count (e.g. +0.62 BUY, 3/4 engines agree):
– **A OrderFlow** (Delta + CVD)
– **B MoneyFlow** (CMF / MFI)
– **D ICT** (multi-timeframe bias + FVG confluence)
– **C2 Book** (DOM imbalance, only when the broker provides depth)
• **Signals & alerts** — fires once per bar when conviction and agreement clear your
thresholds; pop-up **Alert** and optional **push** notification.
• **Three modes** — **SIGNALS** (no trading), **DEMO** (auto-trades, and refuses to
run on a live account for safety), **LIVE** (auto-trades for real).
• **Disciplined risk** — hard **ATR stops**, fixed **RR** targets, and
**fractional-Kelly** position sizing.
• **ICT kill-zone time filter** — optionally only act inside the right sessions.
• **Honest journal** — records and auto-grades every signal (WIN / LOSS / TIMEOUT),
reports win-rate, expectancy (R) and a **per-kill-zone breakdown**, saved to CSV.
• **Engine ablation** — turn any engine on/off to backtest its contribution.
-------------------------------------------------------
KEY ADVANTAGES
-------------------------------------------------------
• **One decision from four independent reads** — far stronger than any single tool.
• **Signals-first & honest** — trading is OFF by default; you enable it deliberately.
• **Real track record** — the auto-graded journal shows how signals actually resolved,
by session — no fantasy backtests.
• **Self-contained** — the engines are embedded; nothing else to install.
• **Built for gold** — tuned for XAUUSD, recommended on H1 (runs on other symbols).
-------------------------------------------------------
PART OF THE OFX ORDERFLOW SUITE — ALL ENGINES WORK TOGETHER
-------------------------------------------------------
OFX EA is where the whole OrderFlow (OFX) suite comes together — **one connected
system, not separate tools.** Each engine reads a different, independent side of the
same gold market, and the EA fuses them into a single conviction verdict:
• **OFX Delta** + **OFX CVD** — raw order-flow (A)
• **OFX OrderFlow** (money-flow: CMF + MFI) — (B)
• **OFX ICT** + **OFX KillZones** — higher-timeframe bias, FVG and session timing (D)
• **OFX Heatmap** — where liquidity is resting
• **OFX Book** — live order-book / DOM imbalance (C2)
• **OFX Dashboard** — the read-only cockpit of the same conviction math
The strongest signals are when several independent engines agree. **OFX EA turns that
agreement into action** — signals, alerts and (optionally) trades.
-------------------------------------------------------
REQUIREMENTS
-------------------------------------------------------
• Symbol: **XAUUSD (Gold)** recommended (runs on other symbols too)
• Recommended timeframe: **H1**
• MetaTrader 5. Allow **Algo Trading** to use DEMO/LIVE modes.
• For the C2 Book engine, a broker DOM feed (otherwise it disables itself, honestly).
-------------------------------------------------------
HOW TO USE
-------------------------------------------------------
1. Attach OFX EA to an **XAUUSD H1** chart; leave Mode = **SIGNALS** at first.
2. Watch the conviction meter and let the journal build a track record.
3. When you are comfortable, switch to **DEMO** (demo account) or **LIVE**, set your
risk, and enable Algo Trading.
-------------------------------------------------------
INPUTS / PARAMETERS
-------------------------------------------------------
Conviction weights:
• **InpW_OrderFlow** — weight of the OrderFlow engine (default: 0.30)
• **InpW_MoneyFlow** — weight of the MoneyFlow engine (default: 0.20)
• **InpW_ICT** — weight of the ICT engine (default: 0.35)
• **InpW_Book** — weight of the DOM-book engine (default: 0.15)
Signal gating:
• **InpConviction** — |net| threshold to fire, 0..1 (default: 0.45)
• **InpMinEngines** — engines that must agree on direction (default: 2)
• **InpBiasBars** — bars per timeframe for ICT bias (default: 200)
• **InpSwingW** — swing-pivot half-width (default: 3)
• **InpScanBars** — bars scanned for FVG confluence (default: 300)
Engine ablation (backtest):
• **InpEnableOF / InpEnableMF / InpEnableICT / InpEnableBook** — turn each engine
on/off (default: all true)
ICT timeframes:
• **InpICT_SingleTF** — bias on chart TF only vs multi-TF (default: false)
• **InpICT_TF_A / _B / _C** — the MTF bias timeframes (default: D1 / H4 / H1)
Trading (deliberate):
• **InpMode** — SIGNALS / DEMO / LIVE (default: SIGNALS)
• **InpRiskPct** — base risk % of balance per trade (default: 0.5)
• **InpATRperiod** — ATR period for the stop (default: 14)
• **InpATRmult** — hard stop = ATR x this (default: 1.8)
• **InpRR** — take-profit = RR x stop (default: 2.0)
• **InpAssumedWin** — assumed win rate for Kelly sizing (default: 0.50)
• **InpKellyFrac** — fraction of full Kelly, for safety (default: 0.25)
• **InpMagic** — order magic number (default: 990011)
• **InpAlerts** — pop-up alerts on signals (default: true)
• **InpPush** — push notifications on signals (default: false)
ICT time filter (Kill Zones):
• **InpUseTime** — use the kill-zone time filter (default: true)
• **InpKZOnly** — only fire inside a kill zone (default: false)
• **InpMacroReq** — also require an active macro (stricter) (default: false)
• **InpBrokerWinter** — broker GMT offset in winter, minutes (default: 120 = EET)
• **InpBrokerDST** — broker DST calendar (default: US)
• **InpAutoCalib** — auto-detect broker offset live (default: true)
Honest journal:
• **InpJournal** — record & auto-grade every signal (default: true)
• **InpGradeBars** — bars to resolve a signal before timeout (default: 48)
• **InpJournalFile** — CSV file saved in MQL5\Files (default: OFX_journal.csv)
• **InpLogVerbose** — print each grade to the Experts log (default: false)
-------------------------------------------------------
RISK DISCLAIMER
-------------------------------------------------------
Trading involves risk. OFX EA is signals-first and trading is OFF by default; DEMO and
LIVE auto-trading are enabled deliberately by you, and you accept full execution risk.
Past or simulated performance does not guarantee future results.
