User guide

Set up TrendGuard Pro Auto EA

From installation to the tested presets. Every input has a sensible default; most users only change Symbols and the risk %.

1. Install and attach

  1. Buy, rent or download the free demo on the MQL5 Market. In MetaTrader 5 it appears under Navigator → Expert Advisors → Market.
  2. Open a chart (e.g. XAUUSD H1) and drag the EA onto it. On the Common tab allow Algo Trading; make sure the Algo Trading button in the toolbar is green.
  3. On the Inputs tab set the symbols and risk (below), then press OK. The dashboard appears in the top-left corner.
  4. Keep the terminal running – a VPS is recommended for 24/5 operation.

2. Single symbol or portfolio

The Symbols input decides what is traded.

Symbols valueWhat happens
(empty)Trades exactly the chart symbol.
XAUUSD,JP225Trades both from this one chart (attach it to any chart). Each symbol has its own Supertrend, filters, stops and position limit.
EURUSD on a broker with EURUSD.aSuffixes are resolved automatically; a fully tradable variant is preferred over a close-only one.

Signal timeframe is a separate input (default H1), so the chart can show any timeframe. The Supertrend line and arrows are drawn when the chart symbol is traded and the chart is on the signal timeframe.

3. Inputs

GroupInput (default)Meaning
Symbols & timeframeSymbols (empty) · Signal timeframe (H1) · Magic number (26101800)What to trade and on which bars. Use a different magic number for every EA instance on one account.
Money managementLot sizing (Risk %) · Risk % (1.0) · Fixed lot (0.01) · Max lot (0 = broker max)Risk mode sizes the lot so a stopped trade loses this % of the balance. Volume step, min/max, volume limit and free margin are always respected.
Max positions per symbol (1) · in total (10) · Daily loss limit % (0 = off)Exposure caps. The daily loss limit stops new entries for the rest of the server day.
Trade rulesDirection (Buy and Sell) · Close on opposite signal (on) · Max spread (0 = off) · Slippage (10) · Trading hours (off, 0–24)When and how entries are allowed. Hours are server time.
SupertrendATR period (10) · ATR multiplier (2.0) · Signal mode (Supertrend + EMA)The trigger. Modes: Supertrend only, + EMA filter, or + all enabled filters.
Filters (Full mode)Fast/slow EMA (9/21) · Trend EMAs (50/100/200) · EMA slope · RSI (14, 50/50) · ADX (14, ≥20) · Volume (×1.0 of 20-bar avg) · Daily VWAP · Bollinger (20, 2.0) · MACD (12/26/9) · Smart candle (body ≥ 0.5)Each filter has its own on/off switch and settings; they are only used in “all filters” mode (the fast/slow EMA is also used in EMA mode).
ExitsStop loss (1.0 × ATR) · Take profit (0 = none) · Breakeven (off, 1.0 × ATR) · Trailing (on, 3.0 × ATR) · Close after N bars (0 = off)Every trade has a stop loss. With no take profit, trades end on the trailing stop or the opposite Supertrend flip.
Display & alertsDashboard (on) · Signals on chart (on) · Bars to draw (500) · Colors · Panel position · Popup / push alert on trade (off)Visuals only – they do not change trading.

4. Tested presets

Gold + Nikkei

Symbols = XAUUSD,JP225, everything else default. Best two-year result (+32,478 USD on 10,000, PF 1.51, max DD 14.2%).

Gold only

Attach to XAUUSD with default inputs. +11,624 USD, PF 1.49, max DD 15.5%.

4-market filtered

Symbols = USDJPY,XAUUSD,USDCAD,JP225, Signal mode = all filters. +11,391 USD, PF 1.97, 116 trades.

Strategy Tester backtests, real ticks, 1% risk, Oct 2024 – Oct 2026. Details on the backtest page.

5. Good practice

  • Start on a demo account and compare with the Strategy Tester before going live.
  • Keep risk at 1% per trade or less. With a portfolio, add up the risk of all symbols that can be open at once.
  • The journal (Experts tab) explains every skipped signal: session closed, spread, margin, max positions, close-only symbol.
  • Test other symbols yourself – most FX pairs and US indices lost with the default settings.