Smoothed Supertrend MT4
- Indicators
- Marco Scherer
- Version: 1.0
Smoothed Supertrend Indicator - Volatility-Based Trend Indicator with Smoothing Function
The Smoothed Supertrend Indicator is an enhanced variant of the classic Supertrend indicator for MetaTrader 4. By integrating an additional smoothing function, market noise is reduced and the quality of trend signals is improved.
Technical Description: The indicator is based on the Average True Range (ATR) for measuring market volatility and combines it with Moving Average smoothing of price data. The resulting line shows the current trend direction and dynamically adapts to volatility changes.
Calculation Method:
- Calculate Moving Average of prices (MA)
- Calculate Average True Range (ATR) over N periods
- Calculate upper and lower bands:
- Upper Band = MA + (ATR × Multiplier)
- Lower Band = MA - (ATR × Multiplier)
- Trend determination based on closing price position relative to bands
- Stepped-Logic: Lines only change on trend reversal
Input Parameters:
- ATR_Period (Default: 10) - Number of periods for ATR calculation
- ATR_Multiplier (Default: 3.0) - Multiplier for band width
- Smoothing_Period (Default: 5) - Number of periods for price smoothing
- MA_Method (Default: SMA) - Moving Average method (SMA, EMA, SMMA, LWMA)
- Bullish_Color (Default: Blue) - Color for uptrend
- Bearish_Color (Default: Red) - Color for downtrend
- Line_Width (Default: 2) - Line width
Signal Generation:
- Bullish Signal: Closing price crosses from below to above Lower Band
- Bearish Signal: Closing price crosses from above to below Upper Band
Trend Logic:
- Uptrend: Indicator shows blue line below price
- Downtrend: Indicator shows red line above price
- Trend change only occurs with confirmed close beyond bands
- No premature signal reversal during ongoing trends
Application Strategies:
- Trend Following: Entry on pullbacks to Supertrend line
- Trend Change: Entry on line color change
- Stop-Loss: Positioning at Supertrend line
- Combinable with: Momentum indicators, Volume analysis, Support/Resistance
Technical Features:
- Non-Repainting: Confirmed signals are not retrospectively changed
- Real-time calculation on every tick
- Optimized for low computing power
- Compatible with all MT4 builds
- Works on all timeframes (M1 to MN1)
- All trading instruments supported
Advantages over Classic Supertrend:
- Reduced false signals through double smoothing
- Adaptable smoothing methods for different markets
- More stable trend identification in volatile markets
- Fewer premature trend changes
Installation:
- Copy indicator file (.mq4 or .ex4) to MQL4/Indicators folder
- Restart MetaTrader 4 or open MetaEditor and compile (F7)
- Open Navigator (Ctrl+N) → Indicators → Custom
- Drag & drop Smoothed Supertrend onto chart
- Adjust parameters according to trading strategy
Recommended Settings:
- Scalping (M1-M5): ATR 8, Multiplier 2.5, Smoothing 3
- Day Trading (M15-H1): ATR 10, Multiplier 3.0, Smoothing 5 (Default)
- Swing Trading (H4-D1): ATR 14, Multiplier 3.5, Smoothing 7
Risk Warning: Trading financial instruments involves substantial risks and is not suitable for all investors. Loss of invested capital is possible. Past results are no guarantee of future performance. This indicator does not constitute investment advice and should only be used as part of a comprehensive trading strategy. Users are solely responsible for their own trading decisions.
Support and Updates: For technical questions or problems, please contact the developer via the MQL5 messaging system. Updates are automatically provided through the MQL5 Market.
