Codes

Building a Confluence Signal Engine in MQL5: Leading Triggers, Confirmation Filters and a Live Dashboard for MetaTrader 5

Free source code included: a DST-aware Market Sessions + PVSRA vector-candle indicator, 5 preset files and a printable confluence cheat sheet

Swap Cost Panel — tonight's rollover cost for every open position for MetaTrader 5

On-chart panel that estimates tonight's swap for each open position in account currency, marks the triple-swap day, and compares it with the cost of closing before rollover and re-opening after (spread + commission)

MTF Trend Dashboard — trend, position and volatility on six timeframes at a glance for MetaTrader 5

One on-chart table for M15, H1, H4, D1, W1 and MN1: EMA slope, price vs EMA, Donchian position, ATR percentile and a combined UP / DOWN / RANGE regime. Completed bars only. Any symbol

MTF Trend Dashboard — trend, position and volatility on six timeframes at a glance for MetaTrader 5

One on-chart table for M15, H1, H4, D1, W1 and MN1: EMA slope, price vs EMA, Donchian position, ATR percentile and a combined UP / DOWN / RANGE regime. Completed bars only. Any symbol

Breakeven and R-Trail Manager — break-even at +1R and R-multiple trailing for any trade for MetaTrader 5

Utility EA that moves the stop to break-even plus a small lock once a trade reaches +X R, then trails it N R behind price. Manual trades or any EA by magic number. Never opens trades and never widens a stop

Gold Trend Breakout Lite — educational XAUUSD trend-following EA for MetaTrader 5

Open-source gold EA built on XAUUSD's multi-day trend persistence: H1 Donchian breakout in the direction of the D1 EMA slope, 3×ATR hard stop, break-even at +1R. Fixed lot, one position, no grid, no martingale

Risk Lot Panel — drag the stop line, read the lot size for your risk percentage for MetaTrader 5

On-chart position-size calculator. Drag the stop line (and optional target line) and the panel shows lots for your risk %, money at risk and reward:risk. Uses OrderCalcProfit, so it is correct for gold, indices, crypto, FX and any account currency

Volatility Squeeze Scanner — Bollinger inside Keltner, with momentum histogram for MetaTrader 5

Shows when volatility is compressed (Bollinger Bands inside the Keltner Channel) and which way it releases. Red dots = squeeze on, green = released, four-colour momentum histogram. Wilder ATR, closed bars, no repaint

Gold Donchian Breakout Channel (non-repainting, with HTF trend filter) for MetaTrader 5

Donchian channel of the N bars before each bar, midline and confirmed breakout arrows that never repaint. Optional D1 EMA-slope filter shows only breakouts in the higher-timeframe trend. Alerts and push. Any symbol