Supertrend Gold MT5
- Эксперты
-
Handy Ban
I'm a system developer for enterprise system and start 2020 was interested with forex trading.
During those years, i have been trading mostly in gold spot and developed some good strategy. - Версия: 6.10
- Обновлено: 16 июня 2026
- Активации: 5
SuperTrend Gold MT5
SuperTrend Gold Trend Filter is a trend-following Expert Advisor designed for XAUUSD (Gold). It enters trades in the direction of a SuperTrend signal on the trading timeframe, but only when a higher-timeframe SuperTrend confirms the same direction.
The higher-timeframe filter helps avoid trading against the dominant trend and reduces activity during sideways market conditions.
Every trade is protected by a hard stop loss from the moment it opens. A trailing stop follows the SuperTrend line, allowing profitable trends to run while limiting drawdown. The EA maintains only one open position at a time and automatically reverses when the trend changes.
No grid. No martingale. No averaging.
All trades are fully transparent and managed with predefined risk.
How It Works
-
Primary signal (entry)
SuperTrend (ATR-based) on the chart timeframe generates trade direction at the close of each bar. -
Higher timeframe confirmation
A SuperTrend on a higher timeframe (default H4) acts as a trend filter:-
Buy trades only when the higher timeframe trend is bullish
-
Sell trades only when the higher timeframe trend is bearish
-
-
Exit logic
Positions are closed by:-
SuperTrend reversal
-
Trailing stop (following SuperTrend line)
-
Hard stop loss
-
Input Set
Recommended Use
-
Symbol: XAUUSD (Gold)
-
Timeframe: M30
A ready-to-use parameter set file is provided.
Always test on your broker’s data and on a demo account before live trading.
Main Inputs
-
SuperTrend settings
ATR_Period, ATR_Multiplier — control the behavior of the indicator on the trading timeframe. -
Trend filter settings
UseTrendFilter, HTF_Timeframe, HTF_ATR_Period, HTF_ATR_Multiplier — configure higher-timeframe confirmation. -
Stop loss configuration
UseStopLoss, StopLossMode (ATR / Points / SuperTrend), StopLossATR — define risk protection. -
Trade management
UseTrailingStop — enable trailing stop based on SuperTrend
UseTakeProfit, TakeProfit — optional fixed take profit (disabled by default) -
Position sizing
UseRiskSizing, RiskPercent, LotSize — choose between fixed lot or risk-based sizing. -
Safety controls
MaxDrawdownPercent — close all positions if equity drawdown exceeds threshold
MaxSpreadPoints — skip entries when spread is too high (0 = disabled)
Requirements
-
MetaTrader 5
-
Designed and tested on XAUUSD M30
-
Broker with competitive Gold spreads (higher spreads may reduce performance)
-
Sufficient historical data for both trading and higher timeframes
Strategy Characteristics
This is a directional trend-following system:
-
Performs best in strong trending markets
-
Trades less frequently during sideways conditions
-
May experience flat or slow periods when the market lacks direction
Risk Notice
Trading leveraged instruments carries a high risk of loss and may not be suitable for all investors.
Past performance, including backtests, does not guarantee future results.
Results may vary depending on market conditions and broker environment.
Use only risk capital and test thoroughly on a demo account before trading live.
