Install source
In the MT4/MT5 desktop terminal, open File → Open Data Folder. Put the downloaded .mq4/.mq5 in MQL4/Indicators or MQL5/Indicators respectively.
Browse regional guides. Interactive trading tools remain in English until fully localised.
International rolloutTwo metals. One shifting relationship. Read the difference.
A sophisticated but readable gold-versus-silver dashboard: who is outperforming, how unusual the gap is, and whether their historical relationship is stable enough to interpret.
A sophisticated but readable gold-versus-silver dashboard: who is outperforming, how unusual the gap is, and whether their historical relationship is stable enough to interpret.
Is silver leading gold, or is the gap genuinely unusual?Timestamp-aligned finished-bar metal returns
Rolling log-price residual and adaptive beta
Z-score plus stability and sample-size gates
Reject XAU/XAG series without identical completed timestamps and coherent quote currencies.
Roadmap progress describes engineering tasks, not win rates or performance. New source changes require a dated owner release entry.
These are actual generated native MQL4/MQL5 research source files and matching settings profiles, not a screenshot or fictional download button. You must still compile in MetaEditor and check behaviour against real broker data.
Native MQL4 code using completed broker candles, price/risk calculations, locally owned chart objects and no trade execution.
Download PRIME_ALLOY53_MT4_v1_00.mq4 Owner sign-in required. The downloaded text source must be compiled in the matching MetaEditor.ALLOY reads both XAUUSD and XAGUSD, checks that completed-bar timestamps align, calculates matched percentage returns and a rolling residual z-score from prior observations. It reports leadership or dislocation without asserting the ratio must mean-revert. Set your actual broker symbol suffixes in GoldSymbol and SilverSymbol.
In the MT4/MT5 desktop terminal, open File → Open Data Folder. Put the downloaded .mq4/.mq5 in MQL4/Indicators or MQL5/Indicators respectively.
Open that new source file in MetaEditor 4 or 5 and press F7. Check both errors and warnings. The website cannot create or verify an .ex4/.ex5 binary.
Show the relevant XAUUSD/XAGUSD broker symbols in Market Watch, open the required timeframe and load a few hundred historical candles.
Refresh Navigator → Indicators, attach to a DEMO chart, choose an OBSERVE .set preset, and inspect the readable cockpit and Experts/Journal logs. Indicators do not place orders.
Static MQL source checks and website tests cannot prove MetaEditor reports zero compiler errors or that a broker terminal displays and updates every chart object correctly. Source is read-only and not a profitability claim. Use a demo terminal; if F7 raises an error, share its exact line/message so it can be corrected in the next release. Never change risk or live-trading permissions on the assumption a research indicator has been verified.
Gold and silver often move together, but silver can amplify moves and their relative value can trend for long stretches. A big gap alone is not a dependable invitation to buy one and sell the other.
Three educational decisions using synthetic numbers. No live broker feed, market calls, probability promises or MetaTrader binary in this concept studio.
Moving each control changes the measured status and the detailed checklist. No deceptive 95% “AI accuracy”.
Silver has outperformed gold in the chosen synthetic window, not necessarily offered an entry.
Silver – gold window performance: +0.42%; residual distance 1.1σ only interpretable under a stable fitted model. Neither value is a win probability.
Silver has outperformed gold in the chosen synthetic window, not necessarily offered an entry.
Verify matched metal histories and stress the relationship model on unseen dates, including structural breaks.
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.
Resolve actual XAUUSD and XAGUSD broker symbol names with suffix/prefix mapping, USD-quote confirmation and positive prices. Join completed bars on exact broker UTC-equivalent timestamps; stale or missing leg becomes DATA HOLD.
Display XAUUSD/XAGUSD spot price ratio for orientation. For changes use matched 1-, 5- and 20-bar logarithmic returns (not raw dollars), show who outperformed without assuming equal volatility.
Use only historical completed paired observations to estimate rolling OLS on log silver versus log gold (or a frozen ratio model). Compare latest out-of-sample residual with prior training residual mean/stdev; no shift-0 future information.
Display residual z distance only with ≥120 matched bars, correlation and sensitivity stability checks. Freeze a candidate when beta changes beyond a predeclared threshold or relationship shifts; label an extreme as DISLOCATION, never guaranteed REVERSION.
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.
Resolve actual XAUUSD and XAGUSD broker symbol names with suffix/prefix mapping, USD-quote confirmation and positive prices. Join completed bars on exact broker UTC-equivalent timestamps; stale or missing leg becomes DATA HOLD.
Display XAUUSD/XAGUSD spot price ratio for orientation. For changes use matched 1-, 5- and 20-bar logarithmic returns (not raw dollars), show who outperformed without assuming equal volatility.
Use only historical completed paired observations to estimate rolling OLS on log silver versus log gold (or a frozen ratio model). Compare latest out-of-sample residual with prior training residual mean/stdev; no shift-0 future information.
Display residual z distance only with ≥120 matched bars, correlation and sensitivity stability checks. Freeze a candidate when beta changes beyond a predeclared threshold or relationship shifts; label an extreme as DISLOCATION, never guaranteed REVERSION.
MQL4 iTime/iClose and MQL5 CopyRates for two mapped metals, cached completed-bar matrix, no network API or broker orders; overlay paired performance ribbon, residual gauge and explanation dock. Separate source files with native compile tests.
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.