
One signal for Gold (XAUUSD) and Silver (XAGUSD) built from several readings at once. On every new bar the EA adds up RSI distance from 50, ADX strength, the gap between a 50 and a 200 moving average and a volatility measure, each with its own weight. Above the threshold it buys, below the negative threshold it sells, and a low volatility filter keeps it out of dead markets.
Stop loss and take profit are multiples of ATR, and the lot is sized from your risk percent and that stop distance, with a margin check before every order. Once a trade moves one ATR in profit an adaptive trailing stop takes over and widens or tightens with volatility. Gold and Silver have their own presets that switch automatically from the chart symbol, broker suffixes included.
Capital protection sits on top: daily drawdown, total drawdown and a daily loss limit pause trading, and an optional hard stop closes everything. The signal also includes an internal state term that adds variation between runs. You can switch it off for fully repeatable backtests, and you should test both ways before trusting any result.
Update v1.1 (October 2026): header and documentation rewritten, link to my MQL5 channel for updates, brand line on top of the inputs, Gold and Silver presets now also detect broker suffixes such as XAUUSDm or XAGUSD.r, and the EA now checks that the market is open before sending an entry. Trading logic unchanged, your settings keep working.
Attach it to an XAUUSD or XAGUSD chart, any chart timeframe works because the analysis timeframe is an input. Start in the strategy tester with real ticks, then a demo account. Keep the risk at the default 0.5 percent until you know how the drawdown behaves on your broker, and remember it manages every position on the chart symbol, so run it on a symbol where you do not trade by hand.
Each module is a separate block inside the signal function, so you can remove one, change its weight or add your own, for example a Smart Money Concepts structure filter, support and resistance zones or a session filter. Run your own backtests on XAUUSD and XAGUSD and try the same logic on EURUSD, US30 or NAS100 with the presets switched off.
Open source. Use it as it is, adapt it, build your own version on top of it. New versions and new tools are announced first on my MQL5 channel: https://www.mql5.com/en/channels/xander. Questions, suggestions and your own backtests are welcome in the Xander Lab group: https://www.mql5.com/en/messages/02eec85e4364dd01. More tools on my profile: https://www.mql5.com/en/users/09151993a
Related: XANDER Gold Recovery, XANDER Grid XAUUSD, Basket Pair Closer.
v1.1 (2026-10-25): documentation and header update, MQL5 channel link, brand line, presets detect broker suffixes.
v1.0 (2026-06-02): initial release.
Institutional Markov Chain Transition Matrix
A quantitative stochastic probability engine that utilizes Markov Chain transition matrices to mathematically forecast the percentage chance of bullish or bearish continuation on the next algorithmic execution cycle.
fair value gap/imbalance
Dynamic Fair Value Gap (FVG) is an MQL5 indicator for MetaTrader 5 that automatically detects market price imbalances. This indicator is perfectly suited for traders utilizing the Smart Money Concepts (SMC) strategy.
Long-Only Trend Breakout with Dynamic Risk Management
Breakout is a clean, automated MetaTrader 5 expert advisor designed to capture algorithmic breakout momentum in structural bull markets.
001 - Turnaround Tuesday
Expert Advisor for testing the Turnaround Tuesday hypothesis. If Monday closes bullish, a Sell position is opened on Tuesday. If Monday closes bearish, a Buy position is opened. The EA supports an ATR-based filter, ATR-based Stop Loss and Take Profit levels, as well as position sizing using either a fixed lot size or percentage risk.