Supertrend G5 EA – Detailed User Guide for MetaTrader 5

22 June 2026, 04:16
Van Minh Nguyen
0
1 744

Supertrend G5 – User Guide

🔗 Product: Supertrend G5
👤 Support: Van Minh Nguyen
🛒 All Products: Seller Page
📊 Trading signal indicator for trend confirmation: SuperScalp Pro

1. Introduction

Supertrend G5 is a fully automated Expert Advisor for MetaTrader 5, developed by Van Minh Nguyen.

The EA identifies trend reversals using the Supertrend indicator and combines multiple filters: EMA trend confirmation, higher timeframe analysis, spread filter, trading session control, and dynamic risk management.

It is primarily optimized for XAUUSD on M5, but can also be used on Forex pairs (EURUSD, GBPUSD, USDJPY…) and cryptocurrencies (BTCUSD) after proper optimization.


2. Core Trading Logic

The EA opens trades when the Supertrend indicator changes direction:

  • BUY: Supertrend turns from Downtrend → Uptrend
  • SELL: Supertrend turns from Uptrend → Downtrend

Additional filters are applied before any trade is executed to ensure only high-quality setups are taken.


3. Recommended Set File

There are two official set files optimized for different trading styles:

📥 Download both set files attached below this blog post.


1. Supertrend_G5_XAUUSD_M5_Default.set

  • Follows the higher timeframe trend (D1 EMA)
  • Only trades in the direction of the Daily trend
  • More selective, lower number of trades
  • Suitable for traders who prefer trend-following and lower risk

2. Supertrend_G5_XAUUSD_M5_Smartexit.set

  • Does not filter by D1 EMA trend
  • More flexible, higher trading frequency
  • Uses smarter exit logic
  • Suitable for traders who want more opportunities

Common Recommended Settings (for both sets):

  • Symbol: XAUUSD
  • Timeframe: M5
  • Risk Profile: Conservative
  • Minimum Deposit: $1,000+
  • Trading Frequency: Medium → High (depending on the set)

Recommendation:

  • Start with Default set if you prefer safer, trend-aligned trading.
  • Use Smartexit set if you want more trade opportunities and are comfortable with higher frequency.

Tip: Always load one of the official set files before starting live trading.


4. Installation Guide

  1. Download the EA file (.ex5)
  2. Open MetaTrader 5
  3. Go to File → Open Data Folder
  4. Navigate to MQL5 → Experts
  5. Copy the EA into the folder
  6. Restart MT5 or refresh Navigator
  7. Drag the EA onto the chart
  8. Enable AutoTrading
  9. Click OK

Recommended Environment:

  • Symbol: XAUUSD
  • Timeframe: M5
  • Minimum Deposit: $1,000
  • Leverage: Up to 1:500
  • Account Type: ECN / Raw Spread
  • VPS: Highly recommended

5. Main Input Parameters

Single Chart Mode
Prevents duplicate trades when running on multiple charts.

Supertrend Settings

  • ATR Period & Multiplier (core signal parameters)
  • Lot Size, Slippage, Stop Loss, Take Profit
  • Close Opposite Position

Trade Direction
Enable/Disable Buy and Sell separately.

Order Management

  • Maximum Open Orders
  • Maximum Total Lots

EMA Trend Filter
Confirms Supertrend signals with EMA direction.

Higher Timeframe Filter
Only trades in the direction of the higher timeframe trend (e.g. Daily EMA200).

Spread Filter
Blocks entries when spread is too high.

Trading Hours
Restrict trading to specific sessions (overnight supported).

Risk Management
Dynamic lot sizing based on account balance and risk percentage.

Dashboard
Real-time monitoring panel (Status, Balance, Equity, Spread, Profit, etc.).

Magic Number
Unique number to identify the EA’s trades.


6. Dashboard Overview

When enabled, the dashboard shows:

  • EA Status (RUNNING / HIGH SPREAD / OUT OF HOURS / MAX LOSS REACHED)
  • Balance, Equity, Free Margin
  • Current Spread & Lot Size
  • Today’s Profit
  • Number of Buy/Sell positions
  • Latest signal

7. Account Protection

Maximum Drawdown Protection (default 50%)

When equity drops below the threshold:

  • All positions are closed
  • Trading is stopped automatically
  • Dashboard displays MAX LOSS REACHED

This feature helps protect the account from severe losses.


8. Best Practices

  • Always use the official recommended set file
  • Prefer ECN / Raw Spread brokers
  • Run the EA on a VPS for 24/7 operation
  • Avoid unnecessary parameter changes
  • Backtest any modifications thoroughly
  • Start with conservative risk settings

9. Optimization Tips

If trading instruments other than XAUUSD, optimize these parameters:

  • ATR Period & Multiplier
  • EMA Filter
  • Higher Timeframe Filter
  • Trading Hours
  • Spread Filter

Dashboard and Magic Number settings do not affect trading performance.


10. Frequently Asked Questions

Why doesn’t the EA open trades?
Possible reasons: no Supertrend signal, high spread, trading hours filter, higher timeframe filter, or Buy/Sell disabled.

Can I trade Forex pairs?
Yes, but optimization is recommended.

Can I trade BTCUSD?
Yes, however dedicated optimization is required due to higher volatility.

Can I run multiple charts?
Yes. Enable Single Chart Operation if you want the EA to trade only one chart.

Should I modify the recommended set file?
Only if you have experience with optimization. Otherwise, start with the official settings.


11. Troubleshooting

  • No trades: Check AutoTrading, Buy/Sell permissions, trading hours, spread filter, and symbol/timeframe.
  • Dashboard not showing: Enable Dashboard in the inputs.
  • Not enough money: Reduce lot size or increase account balance.
  • MAX LOSS REACHED: Account protection has been triggered.

12. Conclusion

Supertrend G5 combines a proven Supertrend strategy with multiple professional filters and solid risk management tools. With its flexible settings, built-in account protection, and real-time dashboard, it is suitable for both beginners and experienced traders.

Final Recommendations:

  • Load the official set file
  • Test thoroughly on a demo account first
  • Use a VPS for stable operation
  • Optimize carefully when trading other symbols

For any questions or support, feel free to contact me via MQL5 messages.