Akshaya PrajnaSystematic tools

Akshaya Prajna · MT5 EA

XAU Pulse M30

Session-aware dual-SMA reverse logic for XAUUSD M30 — transparent inputs, optional recovery, and an honest risk posture.

What it does

Behaviour, not promises

XAU Pulse M30 builds a dual simple moving-average directional bias on closed M30 bars. When an enabled UTC session allows trading, it aligns the position to that bias — open or reverse. Outside enabled sessions on a live chart it holds. In Strategy Tester / optimization, session filters are bypassed so research runs are not starved of trades.

Default shipping profile (example only — not a performance promise): Recovery Linear +0.01, base lot 0.01, max lot 1.0, Asia and London ON, New York and Late OFF, FixedLot.

How it works

Three moving parts

01

Bias

On each new M30 bar, fast SMA above slow SMA → long bias; otherwise short bias.

02

Session gate

If an enabled UTC session allows trading, the EA aligns the position (open or reverse). Live charts hold outside sessions.

03

Sizing & risk

Lots follow FixedLot or RiskPercent. Optional recovery steps after losses. Basket risk can block new entries.

Features

Controls you can audit

  • Dual SMA directional bias on closed M30 bars (fast 20 / slow 50, fixed in code)
  • UTC session windows: Asia, London, New York, Late — with broker UTC offset
  • Outside enabled sessions on a live chart: hold — no new open and no flip
  • FixedLot and RiskPercent sizing with a max-lot safety cap
  • Recovery modes Off / Geometric / Linear (increases drawdown risk)
  • Optional basket risk gate for new entries only
  • On-chart HUD for live monitoring (skipped in non-visual tester)
  • Magic number isolation; no DLLs; no external custom indicators

Inputs overview

Grouped MetaTrader inputs

Full parameter text lives in the Market description and local docs. Below is the buyer-facing map of groups.

Identity

  • InpMagic — position identity
  • InpSlippagePoints — max price deviation

Lot / Money

  • InpMoneyMode — FixedLot or RiskPercent
  • InpBaseLot, InpRiskPercent, InpRiskPoints, InpMaxLot

Recovery

  • InpMartingaleMode — Off / Geometric / Linear
  • Presets and custom multiplier or lot step

Sessions & HUD

  • Asia / London / New York / Late UTC windows
  • InpBrokerUtcOffsetH (999 = auto)
  • HUD show, refresh, position, font size

Evaluate

Before any live capital

  1. Use the MQL5 Market product trial in Strategy Tester.
  2. Test on XAUUSD M30 with your broker’s modelling quality, spread, commission, and swap.
  3. Review every Input and HUD behaviour on demo.
  4. Start with small size if you go live. Understand recovery and max lot first.

Risk disclaimer

Trading foreign exchange and CFDs involves substantial risk of loss and is not suitable for every investor. Past performance — including Strategy Tester results, backtests, and historical research — does not guarantee future results.

This Expert Advisor does not guarantee profit, does not eliminate risk, and may produce losses, especially when recovery (lot increase) modes are enabled. Broker conditions can change outcomes materially. Use only risk capital you can afford to lose. You are solely responsible for configuration, monitoring, and trading decisions.

FAQ

Common questions

Recommended environment is XAUUSD on M30. The EA reads M30 bars for signals even if attached to another period. Other setups are not hard-banned (Market validation), but a soft recommendation may appear in the HUD when the setup differs.

No. Features describe behaviour and controls — not expected returns. Strategy Tester and historical research are not future results. Recovery modes can increase drawdown risk materially.

Use the MQL5 Market product trial in Strategy Tester on XAUUSD M30 with your broker’s modelling quality, spread, commission, and swap. Review every Input and HUD behaviour on demo before any live capital. Start small if you go live.

Prefer official MQL5.com product comments or private messages on the Market listing. Avoid relying on third-party messenger links for support.

Get XAU Pulse M30 on MQL5 Market

Purchase and support through the official MQL5 Market listing. Prefer official channels for trial, buy, and product messages.