TrendGuard Pro Auto EA
- Experts
- 버전: 1.7
- 업데이트됨: 24 11월 2026
- 활성화: 10
Supertrend EA for MT5: automated trend following with confirmation filters, an ATR stop loss, partial take profits and an ATR trailing stop.
TrendGuard Pro Auto EA is a fully automated trend-following Expert Advisor built on the TrendGuard Pro signal engine. It enters when the Supertrend flips and the confirmation filters agree, protects every trade with an ATR stop loss, can bank profits in steps at TP1 / TP2 / TP3, lets winners run with an ATR trailing stop, and exits on the opposite signal. It trades the chart symbol, or a whole portfolio of symbols from one chart, and is controlled from an interactive on-chart dashboard.
Signal engine
- Supertrend (ATR period and multiplier) is the trigger: a buy when the trend flips up, a sell when it flips down, evaluated on closed bars only (no repainting, no intrabar signals).
- Three signal modes: Supertrend only, Supertrend + EMA (fast EMA above/below slow EMA), and Supertrend + all enabled filters.
- Up to 12 confirmation filters, each with its own switch and settings: fast/slow EMA, trend EMA stack (50/100/200), EMA slope, RSI (with optional overbought/oversold exclusion), ADX strength and DI direction, volume above its average, daily VWAP side, Bollinger middle band or breakout, MACD histogram (with optional strict divergence), smart candle (body ratio and close direction), and the higher-timeframe trend filter.
- Higher-timeframe trend filter: trades only in the direction of the Supertrend on a higher timeframe (e.g. H4 for H1 signals), using closed higher-timeframe bars only, so it never repaints. Works in the Supertrend + EMA mode and in the all-filters mode.
- The signals are identical to the TrendGuard Pro indicator with the same settings, so you can check every trade of the EA on the indicator's chart.
- Signal timeframe is an input, so the EA can trade H1 signals while the chart shows any timeframe.
Single symbol or portfolio
- Leave Symbols empty to trade the chart symbol, or enter a list such as XAUUSD,USDJPY,USDCAD,JP225 to trade them all from one chart, each with its own signal engine.
- Per-symbol settings (Settings source = Auto, the default): gold, the Nikkei 225, Bitcoin and the US Tech 100 automatically use their own tested settings – including their own set of confirmation filters – for every strategy input you leave at its default, whatever the broker calls them (XAUUSD, GOLD, JP225, JPN225, NI225, BTCUSD, XBTUSD, USTEC, NAS100, US100, ...). Any input you change applies to all symbols. Settings source = Inputs only uses your inputs everywhere. The dashboard shows which settings each symbol uses.
- Broker suffixes are found automatically (".a", "m", ".pro", ...), and a fully tradable variant is preferred over a close-only one.
- Max open positions per symbol and in total, and an optional max number of new trades per day, keep portfolio exposure under control.
Money management
- Risk % per trade: the lot size is calculated from the stop-loss distance so a stopped trade loses the chosen percentage of the balance. Or use a fixed lot.
- If the risk-based lot is below the broker's minimum lot, the minimum lot is traded only while it risks at most a set multiple of your risk % (default 3x); otherwise the trade is skipped and the journal says why.
- Lots respect the broker's minimum, maximum, step and total volume limit, plus an optional max lot per trade.
- Free margin is checked before every order, and the volume is reduced or the trade skipped instead of sending an order that would be rejected.
Exits and partial take profits
- ATR stop loss on every trade, and an optional final ATR take profit (0 = let the trade run).
- TP1 / TP2 / TP3: close a chosen share of the position at TP1 and TP2 (e.g. 50% at 1.5 x ATR, 25% at 3 x ATR) and let the rest run to the final take profit, the trailing stop or the opposite signal. Optionally move the stop to breakeven as soon as TP1 is reached. Works on hedging and netting accounts; the TP1 / TP2 levels of open positions are drawn on the chart.
- ATR trailing stop, optional breakeven with a lock-in profit (e.g. entry + 0.2 x ATR), close on opposite signal, optional time exit after N bars.
- Stops respect the broker's stop and freeze levels; modifications are sent only when the stop actually improves.
Account protection and filters
- Daily loss limit (% of equity): no new trades for the rest of the day once it is reached, and optionally close the EA's open positions. The daily limits continue after a terminal or EA restart on the same day.
- Daily profit target (%): lock in a good day by closing the EA's positions and pausing until the next day.
- Max equity drawdown (% from the equity peak): closes the EA's positions and switches auto trading off until you switch it back on.
- News filter: no new trades a set number of minutes before and after high-impact (or medium and high) releases of the symbol's currencies, from the built-in MT5 economic calendar; the next event is shown on the dashboard. (Live trading only; the Strategy Tester has no calendar.)
- Friday close: close everything and stop new entries from a chosen hour on Friday, so no position is held over the weekend.
- Max spread filter, trading-hours window (server time), allowed direction (buy and sell, buy only, sell only).
- Trading-session check: a signal that arrives while the market is closed (for example at the daily break) is traded at the re-open if the trend still holds.
- Clear journal messages and a paused status on the panel when Algo Trading, the account or the symbol does not allow trading.
- When a Supertrend flip is not traded, the journal names the filter that blocked it (for example "filtered: ADX"), so every skipped signal can be explained.
Interactive dashboard
- Dark, DPI-aware panel in the TrendGuard Pro style with collapsible sections and a minimize button; drag it anywhere, its position and layout are remembered per chart.
- Buttons: AUTO ON / OFF (stop or resume new entries, open positions stay managed), CLOSE ALL, CLOSE BUY, CLOSE SELL (each asks for a confirming second click).
- Status line that says why the EA is waiting (paused, daily limit, trading hours, news, max trades, Algo Trading off).
- Account: balance, equity, floating P/L, today's equity change, drawdown from the peak, trades today.
- Symbols: Supertrend direction (and higher-timeframe direction) of every traded symbol with its open position and P/L.
- Performance of this EA (by magic number): trades, win rate, profit factor, best / worst trade, today's closed result; a position closed in parts counts as one trade.
- Protection: usage of every limit (daily loss, daily target, drawdown, spread, hours, Friday close, news, trades per day). Strategy: the active signal and exit settings.
- Supertrend line and buy/sell arrows drawn on the chart symbol.
- Optional popup and push notifications when a trade opens.
Default settings and presets
Every built-in setting was chosen the same way: optimisation on 2019-2024 (H1, 1-minute OHLC), kept only if it was profitable with a profit factor of at least 1.5 and a drawdown below 15% both in 2019-2024 and in 2025-2026, and then checked on data the optimisation never saw (March 2025 to October 2026 with real ticks). Strategy Tester backtests, 10,000 USD, 1% risk per trade:
- Gold (the default inputs): Supertrend + EMA, ATR 19 x 2.25, fast/slow EMA 13/15, H4 trend filter, stop loss 1.5 x ATR, no fixed take profit, 3.0 x ATR trailing stop. 2019-2024 +24,191 USD, profit factor 1.62, 354 trades, drawdown 11.2%; March 2025 to October 2026 (real ticks) +4,608 USD, PF 1.71, 96 trades, drawdown 10.4%.
- Nikkei 225: all-filters mode with ADX, VWAP and MACD, ATR 21 x 1.5, EMA 21/85, H4 trend filter, stop loss 0.75 x ATR, breakeven at 1.5 x ATR, 4.5 x ATR trailing. 2019-2024 +14,442 USD, PF 2.07, 169 trades, drawdown 9.4%; March 2025 to October 2026 (real ticks) +8,132 USD, PF 2.76, 59 trades, drawdown 11.2%.
- Bitcoin: all-filters mode with RSI, ADX, volume, Bollinger and smart candle, ATR 9 x 3.75, EMA 17/45, H4 trend filter, stop loss 2.75 x ATR, breakeven at 1.5 x ATR, no trailing. 2019-2024 +4,514 USD, PF 2.05, 93 trades, drawdown 12.8%; March 2025 to October 2026 (real ticks) +3,407 USD, PF 4.80, 29 trades, drawdown 6.6%.
- US Tech 100: Supertrend + EMA, ATR 15 x 2.5, EMA 5/15, H4 trend filter, stop loss 1.25 x ATR, take profit 5 x ATR, breakeven at 1.0 x ATR, 2.0 x ATR trailing. 2019-2024 +14,214 USD, PF 1.51, 430 trades, drawdown 7.1%; March 2025 to October 2026 (real ticks) +3,698 USD, PF 1.74, 124 trades, drawdown 9.4%.
Recommended setup – four markets on one chart: Symbols = XAUUSD,JP225,BTCUSD,USTEC (preset TGPA_4Markets_H1_Auto), all other inputs default; each market uses its own settings. Backtests on one account, 10,000 USD, 1% risk per trade:
- March 2025 to October 2026 (real ticks): +36,114 USD, profit factor 2.23, 301 trades, maximal equity drawdown 13.0%.
- 2019-2024 (1-minute OHLC): +157,262 USD, profit factor 1.67, 1033 trades, drawdown 17.0% (risk-% lots grow with the balance; real lot and liquidity limits would make the later years smaller).
For smaller swings, trade gold and the Nikkei 225 only (Symbols = XAUUSD,JP225): March 2025 to October 2026 (real ticks) +15,730 USD, PF 2.04, drawdown 8.5%; 2019-2024 +52,023 USD, PF 1.76, drawdown 11.1%. The preset TGPA_XAUUSD_H1_Steady keeps the earlier, more selective gold settings (about 15 trades a year).
Results differ between brokers (prices, spreads, trading hours); test your broker's symbols in the Strategy Tester before trading them. Other markets have no built-in profile and use your inputs.
Recommendations
- Use a hedging or netting account; one magic number per EA instance (change it when you run several instances on the same account).
- Start on a demo account. Use a VPS for continuous operation.
- 1% risk per trade or less; with a portfolio, consider the total risk of all open positions.
Trading involves risk. Backtest results are based on historical data and do not guarantee future results.

