Save source
Open MT4/MT5 → File → Open Data Folder. Save .mq4 to MQL4/Indicators or .mq5 to MQL5/Indicators.
Browse regional guides. Interactive trading tools remain in English until fully localised.
International rolloutFive trades. One risk. See the overlap.
See when a stack of apparently different FX positions is really one repeated bet on USD, JPY or another currency.
See when a stack of apparently different FX positions is really one repeated bet on USD, JPY or another currency.
Am I accidentally making the same bet several times?Read current broker positions in hedging and netting modes
Map each FX order into base/quote currency legs
Scenario shock by currency with tick/conversion safeguards
Compare manual currency decomposition for EURUSD/GBPUSD/AUDUSD and a hedging counterexample.
Roadmap progress describes engineering tasks, not win rates or performance. New source changes require a dated owner release entry.
Native source-file editions, not static demos. These read broker prices, completed bars or active FX positions in MetaTrader itself. No broker orders or cloud requests. Compilation in the actual MetaEditor terminal and broker-chart checks are still necessary.
Native MQL4 .mq4 source for the desktop MT4 data folder.
Download PRIME_DOMINO53_MT4_v1_00.mq4 Owner sign-in required. Downloads must be compiled in the matching MetaEditor before the indicator appears in Navigator.Scans all currently open FX market positions on the account, maps their base/quote legs into signed currency directions and groups exposure to the chosen currency. Uses broker tick value/tick size to estimate the sum of stop-loss risk as a percentage of account balance, with separate MT4 and MT5 position readers.
Configure: Set FocusCurrency to USD/EUR/GBP/JPY/AUD/NZD/CAD/CHF and MaxCombinedStopRiskPct to your research budget. No positions are opened, modified or closed.
Open MT4/MT5 → File → Open Data Folder. Save .mq4 to MQL4/Indicators or .mq5 to MQL5/Indicators.
Open the downloaded file in the matching MetaEditor and press F7. Fix all reported errors before attachment; this site cannot certify MetaEditor compilation.
Refresh Navigator, select the instrument, attach the indicator to a DEMO chart and optionally load the matching .set preset.
Inspect the Experts and Journal tabs. Confirm the broker symbol, recent quote/history and the indicator's state. Only read-only calculations should occur.
Direction counts do not equal cash-notional exposure, correlations or VaR. Risk is an estimate and may differ under slippage, currency conversion, nonlinear pricing or gaps. Missing stops, tick specs or unknown symbols trigger a data hold. Assumes the broker symbol begins with the six-letter currency pair, such as EURUSD.a. This indicator cannot make or guarantee a profitable trade. Please check MetaEditor F7 errors and terminal output before relying on any result.
A trader may hold EURUSD, GBPUSD and AUDUSD buys believing they're diversified, while all three benefit from USD weakness and can suffer together from a USD reversal.
Adjust the assumptions and see exactly what changes. These are browser-only teaching models, not connected broker diagnostics, trading alerts or backtested profits.
Every adjustment updates the decision, measurement and explanation below.
Multiple signed short-USD or long-USD legs share the same directional theme. Counts are NOT cash-notional exposure.
3 short USD · 0 long USD · 3 gross direction units, 3 net units. Planned aggregate stop-risk 0.75% of example account equity. Units are equal-weighted mock position directions, not actual currency notional.
Multiple signed short-USD or long-USD legs share the same directional theme. Counts are NOT cash-notional exposure.
Review the shared currency direction and the sum of planned stop risks; do not assume net exposure means low loss risk.
One of the biggest goals is to replace obscure indicator jargon with readable states and an exact explanation of what the algorithm would need to measure.
In MT4 enumerate OrdersTotal/OrderSelect active market positions only; in MT5 iterate PositionGetTicket and PositionGetDouble with fresh selection. Respect MT5 hedging/netting distinctions, filter by account/server and don't count pending orders as fills.
For BUY A/B, add +base currency notional and negative quote notional (SELL reversed). Use contract size/lot and entry/current FX conversion where necessary; common-currency ranking needs a consistent reference numeraire and verified conversion quotes.
Apply a specified percentage change in one currency against an unchanged reference basket, reprice each relevant currency pair and aggregate theoretical P&L. This is a scenario, not VaR and not an independent probability estimate.
Group same-sign USD, JPY, GBP etc. legs, separate matched offsets, annotate gross and net exposure, and compare combined planned stop losses against a user-defined account budget. Never silently net unknown positions.
MQL4/MQL5 research source and source-matching presets are now available above. These are the target design goals; actual MetaEditor compiler output and broker chart behaviour still need verification.
MQL4: OnCalculate, M5/H1 history access, incremental closed-bar work, chart objects owned by prefix, no orders or external AI services. MetaEditor 4 compile and broker testing required.
In MT4 enumerate OrdersTotal/OrderSelect active market positions only; in MT5 iterate PositionGetTicket and PositionGetDouble with fresh selection. Respect MT5 hedging/netting distinctions, filter by account/server and don't count pending orders as fills.
For BUY A/B, add +base currency notional and negative quote notional (SELL reversed). Use contract size/lot and entry/current FX conversion where necessary; common-currency ranking needs a consistent reference numeraire and verified conversion quotes.
Apply a specified percentage change in one currency against an unchanged reference basket, reprice each relevant currency pair and aggregate theoretical P&L. This is a scenario, not VaR and not an independent probability estimate.
Group same-sign USD, JPY, GBP etc. legs, separate matched offsets, annotate gross and net exposure, and compare combined planned stop losses against a user-defined account budget. Never silently net unknown positions.
Use separate native MQL4 and MQL5 position readers, broker currency metadata/symbol aliases and one current snapshot on a local timer or trade event; bounded chart objects, no cloud monitoring and no OrderSend/PositionClose.
Source-level checks alone are not enough. The selected build must be independently compiled and checked on actual broker candles before release.
The MT4 and MT5 native source files are generated and owner-downloadable, but have not been compiled in actual MetaEditor or tested against real broker execution and chart feeds. Browser demos remain synthetic, and no win rates or trading outcomes are verified. These research indicators never place orders. Any proposed edge needs completed-candle, cost-inclusive, untouched-sample testing. Spread, slippage and capital loss remain possible.