Trend 7Filter Pro
- 지표
- Hyoseog Kim
- 버전: 1.0
1. Overview — TrendFusion Pro
TrendFusion Pro is a free, open-source MetaTrader 5 indicator that generates buy and sell signals only when all seven independent filters simultaneously agree. By requiring SuperTrend direction change, Triple EMA alignment, EMA proximity, RSI momentum direction, MACD divergence, wick ratio, and over-extension filters to pass at once, it delivers high-precision confluence signals with minimal false positives — suitable for both trend-following and scalping strategies.
Key Features
• 7-Layer Confluence: signal fires only when all seven filters pass simultaneously
• SuperTrend Flip trigger + optional Re-entry mode
• Triple EMA alignment filter (Fast / Slow / Trend periods)
• RSI directional momentum filter — not just level-based
• MACD divergence detection (bullish / bearish)
• Wick-to-body ratio filter eliminates high-uncertainty candles
• Over-extension guard suppresses signals after sharp moves
• Buffers 0-7 fully exposed for iCustom EA integration
• Strategy Tester optimized: incremental CopyBuffer, zero chart objects in tester
How to Automated Trading Using Indicators
You can trade using the arrow signals of indicators by using the Indicator Trader at the link below.
https://www.mql5.com/ko/market/product/171872
2. Signal Generation Logic
A signal is emitted only when all 7 filter stages pass in sequence. Any single failure suppresses the signal for that bar.
① SuperTrend Trigger Fires on direction flip (bull/bear) OR re-entry when price approaches ST line from same direction
② Triple EMA Alignment Buy: EMA_Fast > EMA_Slow > EMA_Trend | Sell: EMA_Fast < EMA_Slow < EMA_Trend
③ EMA Proximity Price must be within ATR × ProxMult of EMA_Fast (set to 0 to disable)
④ RSI Direction Buy: RSI rising, between Oversold and Buy_Max | Sell: RSI falling, between Sell_Min and Overbought
⑤ MACD Divergence Buy: price lower + MACD higher (bullish div.) | Sell: price higher + MACD lower (bearish div.)
⑥ Wick Ratio Upper wick (buy) or lower wick (sell) must be ≤ MaxWickBodyRatio × candle body
⑦ Over-Extension Price move over N bars must be < ATR × OverExt_ATR_Mult (protects against chasing impulse moves)
3. Parameter Reference
── SuperTrend Settings
Parameter Default Range Description
ATR_Period 14 1-100 ATR calculation period. Higher values smooth the ST line and reduce signals. 10-14 recommended for XAUUSD M5
ATR_Multiplier 0.5 0.1-5 ST band width multiplier. Lower = price hugs ST closer but increases noise. 0.5 is optimized for scalping
── EMA Trend Filter
Parameter Default Range Description
EMA_Fast_Period 50 5-500 Fast EMA period — short-term trend reference
EMA_Slow_Period 200 10-500 Slow EMA period — mid-term trend filter
EMA_Trend_Period 400 20-999 Trend EMA period — long-term bias. Higher = more selective signals
── EMA Proximity Filter
Parameter Default Range Description
EMA_ProxATR_Mult 2.0 0-10 Allows signal only when price is within ATR × this value from EMA_Fast. Set to 0 to disable
── RSI Filter
Parameter Default Range Description
RSI_Period 14 2-100 RSI calculation period
RSI_Buy_Max 55.0 50-80 Maximum RSI for a buy signal. Ensures RSI is not already extended upward
RSI_Sell_Min 45.0 20-50 Minimum RSI for a sell signal. Ensures RSI is not already extended downward
RSI_Oversold 30.0 10-50 RSI oversold threshold
RSI_Overbought 70.0 50-90 RSI overbought threshold
RSI_RequireDirection true bool true (recommended): RSI must be moving in signal direction. false: level range only
── MACD Divergence
Parameter Default Range Description
MACD_Fast 5 2-50 MACD fast EMA period
MACD_Slow 12 5-100 MACD slow EMA period
MACD_Sig 3 1-50 MACD signal line period
MACD_Lookback 10 3-50 How many bars back to scan for divergence
MACD_MinDiv 0.00001 0-0.001 Minimum divergence magnitude. Too small = false divergence signals
── Wick Filter
Parameter Default Range Description
MaxWickBodyRatio 1.0 0-10 Max allowed wick-to-body ratio. 1.0 = wick must be ≤ body size. Lower = stricter
── Over-Extension Filter
Parameter Default Range Description
EnableOverExtFilter true bool Enable or disable the over-extension guard
OverExt_Lookback 3 1-20 Number of bars to look back for price change measurement
OverExt_ATR_Mult 1.8 0.5-5 If price moved more than ATR × this value in N bars, signal is suppressed
── ST Re-entry
Parameter Default Range Description
AllowSTReentry true bool Allow re-entry signals when price approaches the ST line during a sustained trend
ST_Reentry_ATR_Mult 1.0 0.1-5 Re-entry proximity threshold in ATR multiples from ST line
── SL / TP Settings
Parameter Default Range Description
SL_ATR_Mult 5.0 0.5-20 Stop-loss = entry ± ATR × this value
TP_ATR_Mult 3.0 0.5-20 Take-profit = entry ± ATR × this value. Default RR = 3:5 (TP:SL)
ShowSLTP_Lines true bool Show SL/TP trend lines on chart. Auto-disabled in Strategy Tester
How to Automated Trading Using Indicators
You can trade using the arrow signals of indicators by using the Indicator Trader at the link below.
