USER GUIDE FOR EA SUPERTREND G5 PRO

14 January 2026, 11:42
Van Minh Nguyen
0
488

📌 Introduction

Supertrend G5 Pro is a full-featured automated trading system optimized for XAUUSD, designed for intraday and short-term trading, with a primary focus on the M5 timeframe.

The EA is built on the Supertrend strategy and enhanced with multiple filters and advanced risk management systems. It is not just an entry tool, but a complete framework for controlling trades, managing exposure, and protecting account equity.

⚙️ 1. Installation and Setup

After downloading the EA from MQL5:

  • Open MetaTrader 5 → File → Open Data Folder
  • Go to MQL5 → Experts
  • Copy the EA file into this folder
  • Restart MT5 or refresh Navigator
  • Drag the EA onto your chart
  • Enable AutoTrading → Click OK

Recommended setup: XAUUSD, timeframe M5.


🧩 2. Single Chart Settings
  • EnableSingleChartOperation: true = EA works only on current chart
  • OperatingSymbol: define symbol (e.g. XAUUSD)
  • OperatingTimeframe: define timeframe (e.g. M5)

These settings ensure the EA runs in the correct trading environment.


📊 3. Supertrend Core Settings
  • AtrPeriod: controls sensitivity of volatility
  • Multiplier: controls signal strength (higher = fewer trades)
  • Lots: base lot size
  • Slippage: allowed execution deviation
  • CloseOpposite: closes opposite trades on new signal
  • UseNoNewOrderWhenLosing: avoids new trades during losing conditions

These parameters define how the EA generates and reacts to Supertrend signals.


💰 4. Risk Management
  • MaxRiskPercent: risk per trade
  • UseMoneyManagement: lot size based on account size

This allows flexible risk control instead of fixed lot trading.


📈 5. Dynamic Lot Growth
  • EnableDynamicLotGrowth: enable scaling
  • GrowthMultiplier: strength of scaling
  • GrowthThresholds (1–4): account growth levels
  • UseCompoundingGrowth: enable compounding
  • CompoundingPercentage: % of account used

This system increases lot size gradually when the account grows.


🔁 6. Incremental Lot System
  • EnableIncrementalLot: enable scaling per trade sequence
  • InitialLotBuy/Sell: starting lot
  • LotIncrementBuy/Sell: increment per order
  • MaxBuyOrders / MaxSellOrders: limit orders
  • ResetLotWhenNoPositions: reset when no trades
  • UseIncrementalOnlyWhenLoss: scale only when losing

This controls how the EA increases exposure during trade sequences.


🔄 7. Lot Reset After TP
  • ResetLotAfterTP: reset lot after profit cycle
  • TPThresholdUSD: minimum profit required

Helps stabilize lot size after successful trades.


🎯 8. SL/TP Settings
  • UseATRForSLTP: dynamic SL/TP using ATR
  • StopLossPoints / TakeProfitPoints: fixed SL/TP
  • ATR_SL_Mult / ATR_TP_Mult: ATR-based SL/TP

Use fixed points for simplicity or ATR for adaptive trading.


↕️ 9. Trade Direction
  • EnableBuy / EnableSell: control allowed directions

Useful when trading with market bias.


📦 10. Max Orders Control
  • EnableMaxOrdersLimit / MaxAllOrders: limit total trades
  • EnableMaxLotSumLimit / MaxLotSum: limit total lot exposure

Prevents overtrading and excessive risk.


⏳ 11. Max Bars Open
  • UseMaxBarsOpen: enable time-based closing
  • MaxBarsOpen: maximum candles per trade

Useful for intraday strategies.


📉 12. EMA Filter
  • UseEMATrendFilter
  • EMA_ShortPeriod / EMA_LongPeriod
  • TF_EMA

Helps trade in the direction of the trend.


📊 13. RSI Filter
  • EnableRSIFilter
  • RSI_Period, Overbought, Oversold
  • RSI_Timeframe

Avoids entries in overextended conditions.


🧱 14. BOS Confirmation
  • EnableBOSConfirmation
  • BOSLookback / BOSStrength

Requires market structure break before entry → improves signal quality.


📈 15. VWAP Filter
  • UseVWAPFilter
  • VWAP settings

Confirms direction based on price relative to VWAP.


📉 16. MACD Divergence Filter
  • Detects divergence between price and momentum
  • Helps avoid weak or fading trends

📏 17. Spread Control
  • EnableSpreadCheck / MaxSpreadPoints

Prevents trading in high spread conditions.


🌍 18. Higher Timeframe Filter
  • UseHTFTrendFilter
  • HTF timeframe + EMA

Aligns trades with higher timeframe trend.


🕒 19. Trading Hours
  • Define start/end time
  • Option to auto-close trades at session end

Controls when the EA is allowed to trade.


🛡️ 20. Lot Protection
  • MaximumAllowedLot / MinimumAllowedLot

Ensures lot size stays within safe limits.


🔒 21. Breakeven
  • UseBreakeven
  • TriggerPoints / LockPoints

Moves Stop Loss to protect profit after reaching a certain level.


🔄 22. Trailing Stop
  • UseTrailingStop
  • TrailingStart / Step

Locks in profit while letting trades run.


📈 23. R-Based Trailing
  • UseAdaptiveTrailing
  • TrailingStartR / StepR

More advanced trailing based on risk ratio.


⚙️ 24. Average Profit & Loss Target
  • Close all trades when average profit or loss reaches a target
  • Can be based on points or ATR

Useful for basket trading strategies.


💹 25. Percentage & Money TP/SL
  • Close all trades based on % or USD profit/loss

Provides flexible account-level control.


🛑 26. Auto Stop Trading
  • Stop EA when account reaches target balance

Useful for profit goals.


↔️ 27. Minimum Distance Between Orders
  • Prevents trades from opening too close

Improves trade spacing in volatile markets.


📉 28. Loss Limits
  • Daily loss limit
  • Maximum loss limit

Important for risk protection and prop-style trading.


📈 29. Daily Profit Control
  • Stop trading when daily profit target is reached

Helps lock in gains.


🧯 30. Equity Protection
  • Protects account based on equity drawdown
  • Can use equity trailing

Prevents major account loss.


📉 31. Volume Reduction
  • Automatically reduce lot size during drawdown

Helps control risk during losing periods.


🧠 32. Advanced Position Management
  • Partial close losing trades
  • Reduce exposure on trend reversal

Improves survival during difficult market conditions.


🌪️ 33. ATR Over-Extension Filter
  • Prevents trading after strong price spikes

Avoids chasing overextended moves.


🌀 34. Fibonacci Filter
  • Uses dynamic Fibonacci zones for entry filtering
  • Can enable/disable each level

Adds another layer of precision.


🎯 35. Fibonacci Take Profit
  • Uses Fibonacci levels as TP targets

Provides structured exit strategy.


📊 36. Dashboard
  • Displays EA status, profit, and conditions directly on chart

Helps monitor performance easily.


▶️ 37. How to Use After Installation
  • Attach EA to XAUUSD M5
  • Start with default settings
  • Enable AutoTrading
  • Observe behavior
  • Optimize step by step (not all settings at once)
  • Test on demo before live

⚠️ Important Notes
  • This EA does not guarantee profit
  • Results depend on market conditions and broker
  • Advanced features should be used carefully
  • Always use risk protection settings
  • Always test before going live

🎯 Conclusion

Supertrend G5 Pro is a complete automated trading system combining:

  • Supertrend signals
  • multiple confirmation filters
  • dynamic lot and risk control
  • advanced trade and equity protection
  • flexible exit strategies

It is especially effective for XAUUSD M5 intraday trading, offering a structured and customizable trading environment for both beginners and advanced users