MultiFilter MA Crossover Signals Trend Alerts MT5
- インディケータ
- バージョン: 3.52
- アクティベーション: 5
MultiFilter MA Crossover Signals Trend Alerts MT5 TECHNICAL SPECIFICATION & MANUAL
Overview:
MultiFilter MA Crossover Signals Trend Alerts MT5 is an analytical technical indicator engineered for MetaTrader 5, developed to identify systematic trend transitions through dual moving average crossovers combined with a 17-module quantitative filtering matrix. A primary weakness of conventional moving average systems is vulnerability to whipsaws, false breakouts, and erratic market noise during low-volatility consolidations. When markets range, moving averages cross repeatedly, producing false signals that erode capital. MultiFilter MA Crossover Signals Trend Alerts MT5 resolves this challenge by providing 17 independent secondary filters covering directional trend velocity, statistical momentum, dynamic support and resistance, algorithmic Fibonacci golden zones, volatility bands, and oscillator divergence. The software operates as an adaptable analytical framework, allowing traders to toggle, isolate, and calibrate each filter independently to suit scalping, day trading, or swing trading across Forex, metals, commodities, indices, and cryptocurrencies.
Technical Operating Principle & Execution Architecture:
1. Core Moving Average Crossover Foundation: Primary trade triggers are generated from directional interaction of two user-defined moving averages: Fast Moving Average (Fast MA) and Slow Moving Average (Slow MA). Supported calculations include Simple Moving Average (SMA), Exponential Moving Average (EMA), Smoothed Moving Average (SMMA), and Linear Weighted Moving Average (LWMA), evaluated on bar closing prices.
- Bullish Crossover (Base Buy Trigger): Evaluated when Fast MA on preceding closed bar was <= Slow MA, and Fast MA on current evaluated closed bar strictly exceeds Slow MA: (FastMA[i-1] <= SlowMA[i-1]) and (FastMA[i] > SlowMA[i]).
- Bearish Crossover (Base Sell Trigger): Evaluated when Fast MA on preceding closed bar was >= Slow MA, and Fast MA on current evaluated closed bar strictly falls below Slow MA: (FastMA[i-1] >= SlowMA[i-1]) and (FastMA[i] < SlowMA[i]).
2. Strict Non-Repainting Execution Logic: The indicator operates under an absolute non-repainting framework. Calculations are executed strictly on completed, closed candlesticks (bar index 1 and older; rates_total - 2 internally). The currently forming open candle (bar index 0; rates_total - 1) is programmatically isolated: its signal arrow buffers (BuyArrow and SellArrow) are continuously forced to EMPTY_VALUE on every incoming tick. Signal arrows appear only after candidate candle has closed completely and all active filtering parameters return a simultaneous positive boolean condition. Once an arrow is plotted in chart history, it remains permanently anchored to that specific historical bar and price coordinate; it will never recalculate, shift coordinates, repaint, or disappear under any market condition.
3. Macro Baseline Trend Filter: An optional higher-order moving average (Trend MA, default: 200 EMA) can be toggled to establish institutional directional bias. When UseTrend is enabled:
- Buy signals require candle close strictly above 200 EMA: Close[i] > TrendMA[i].
- Sell signals require candle close strictly below 200 EMA: Close[i] < TrendMA[i].
This baseline prevents counter-trend position entries against prevailing macro trend momentum.
Multi-Filter Quantitative Confirmation Modules:
To ensure signal precision, MultiFilter MA Crossover Signals Trend Alerts MT5 incorporates 17 modular analytical filters. A signal arrow is triggered if and only if the primary MA crossover occurs, the macro trend condition is satisfied, and all activated filter modules return a simultaneous true boolean state on the closed bar.
1. Ichimoku Senkou Span B Filter (Shift 26 Fixed): Utilizes the 52-period Senkou Span B line from the Ichimoku Kinko Hyo system, representing the 50% equilibrium level of the 52-period price range. Standard Ichimoku indicators project this line 26 periods into the future. MultiFilter MA Crossover Signals Trend Alerts MT5 synchronizes this shift directly to the evaluated historical candle (source index adjusted by Ichimoku_Kijun = 26). When active, Buy signals require closed price strictly above shifted Senkou Span B, while Sell signals require price strictly below it.
2. RSI Crossover Filter: Deploys a 14-period Relative Strength Index to detect momentum reversals from boundary extremes. Buy signals require RSI to cross above Oversold boundary (default: 30.0) on signal candle, confirming bullish recovery. Sell signals require RSI to cross below Overbought boundary (default: 70.0), validating bearish rotation.
3. ADX Trend Strength Filter: Integrates Average Directional Movement Index (default: 10 periods) to measure absolute momentum strength. Both Buy and Sell signals require main ADX line >= ADX_Min_Level (default: 20.0). Crossovers during flat consolidations (ADX < 20) are automatically suppressed.
4. Single MA Structural Filter: Deploys an intermediate moving average (default: 50 SMA) as a dynamic structure baseline. Buy signals require candle close strictly above this MA; Sell signals require candle close strictly below it.
5. RSI 75 Macro Momentum Filter: Applies an extended 75-period RSI to capture broad cyclical momentum. Long signals require 75-period RSI > 50.0, while Short signals require 75-period RSI < 50.0.
6. Double MA Hierarchy Filter: Employs two secondary moving averages (MA A: 30 EMA, MA B: 140 EMA). Buy signals require MA A > MA B (bullish stacking); Sell signals require MA A < MA B (bearish stacking).
7. Awesome Oscillator (AO) Triple-State Filter: Sub-filtering modes include: (a) AO Volume: amplitude check (AO >= 4.0 for Buy, AO <= -4.0 for Sell); (b) AO Color: slope acceleration (AO[i] > AO[i+1] for Buy, AO[i] < AO[i+1] for Sell); (c) AO Zero: zero-line alignment plus slope expansion (AO > AO[prev] and AO > 0 for Buy; AO < AO[prev] and AO < 0 for Sell).
8. Parabolic SAR Directional Filter: Standard SAR (Step: 0.02, Max: 0.20). Buy signals require close > SAR point; Sell signals require close < SAR point.
9. CCI Trend Polarity Filter: Uses CCI (default: 50 periods). Buy signals require CCI > 0.0; Sell signals require CCI < 0.0.
10. CCI Overbought & Oversold Momentum Filter: Fast 14-period CCI. Buy signals require CCI > +100.0 (high-velocity expansion); Sell signals require CCI < -100.0 (aggressive selling pressure).
11. RVI Trend Filter: Relative Vigor Index (75 periods). Buy signals require RVI main line > 0.0; Sell signals require RVI main line < 0.0.
12. RVI Signal Line Crossover Filter: RVI main vs 4-period signal line (20 periods). Buy signals require RVI main > signal line; Sell signals require RVI main < signal line.
13. MACD Histogram Separation Filter: Standard MACD (12, 26, 9). Buy signals require histogram (Main - Signal) > 0; Sell signals require histogram < 0.
14. MACD Zero-Line Filter: Buy signals require MACD Main > 0.0; Sell signals require MACD Main < 0.0.
15. Dynamic Support & Resistance Range Filter: Scans historical bars (default: 50 bars) for extreme highs/lows. With a customizable buffer (default: 80 points), Buy signals require price interacting with/bouncing from support zone; Sell signals require testing/rejecting resistance zone.
16. Algorithmic ZigZag Fibonacci Retracement Filter: Uses ZigZag swing detection (Depth: 12, Dev: 5, Backstep: 3) to project Fibonacci retracement zones (0.382 and 0.618). Validates entries only when signal candle tests this golden retracement pocket (Low <= Zone High and High >= Zone Low).
17. Synthetic Real-Time Heiken Ashi Candle Filter: Computes internal Heiken Ashi prices. Buy signals require bullish HA candle (HA Close > HA Open); Sell signals require bearish HA candle (HA Close < HA Open).
Key Operational Features & Notification Subsystem:
- Multi-Channel Real-Time Alert Engine: Alerts trigger exclusively at the close of signal candle (evaluated when i == last_closed and prev_calculated > 0). Supported alert types include: (1) Terminal Pop-Up Alert with audio chime, detailing symbol, timeframe, direction, timestamp, and price; (2) Sound Alert playing local audio files (e.g., alert.wav); (3) Push Notifications transmitted directly to iOS and Android MetaTrader 5 mobile applications via MetaQuotes ID; (4) Automated Email Alerts dispatched via terminal SMTP configurations.
- Integrated Anti-Spam Gate: Internal timestamp tracker (g_lastAlertBarTime) ensures alerts fire exactly once per confirmed candle, preventing repetitive audio loops or notification spam.
- Graphical Interface & Visual Buffer Architecture: Plots 6 specialized data buffers directly on chart: Fast Moving Average (Lime line, width 2), Slow Moving Average (Red line, width 2), Trend Moving Average (Gold dotted line, width 1), Buy Arrow (Aqua wingdings arrow, width 2), Sell Arrow (Red wingdings arrow, width 2), and Senkou Span B (Sienna line, width 2). Buffer offsets and symbol codes can be modified in settings.
- Computational Efficiency: Code utilizes MetaTrader 5 prev_calculated architecture to prevent redundant loops. During active market operation, only newly formed bars are evaluated, resulting in negligible CPU consumption, zero terminal lag, and seamless multi-chart performance.
Operational Recommendations & Trading Specifications:
- Recommended Instruments: Suitable for all liquid financial markets in MetaTrader 5, including Forex Currency Pairs (Majors, Minors, Exotics), Precious Metals (XAUUSD, XAGUSD), Energies (WTI, Brent Crude), Equity Indices (US30, US500, USTEC, DAX40, FTSE100), and Cryptocurrencies (BTCUSD, ETHUSD).
- Recommended Timeframes: (1) Scalping & Intraday: M1 and M5 timeframes (combine MA crossover with ADX or Parabolic SAR to filter micro-noise); (2) Standard Day Trading: M15 and H1 timeframes (balanced signal frequency and noise reduction; effective with Trend MA 200 and Support/Resistance filters); (3) Swing & Position Trading: H4 and D1 timeframes (captures multi-day macroeconomic trends with minimal false signals).
- Account & Execution Environment: Compatible with Hedging and Netting account modes on ECN, STP, and Raw Spread accounts. Because the indicator evaluates signals on fully closed bars, ultra-low execution latency and specialized VPS hosting are not mandatory for calculation, although stable connectivity is recommended for alerts.
Complete Input Parameters Documentation:
1. Core MA Crossing Group (=== MA CROSSING ===):
- InpMethod (Default: MODE_EMA): Averaging calculation method applied to fast and slow moving averages (SMA, EMA, SMMA, LWMA).
- InpFast (Default: 10): Lookback period in bars used to compute Fast Moving Average line.
- InpFastShift (Default: 0): Horizontal bar displacement applied to Fast Moving Average line.
- InpSlow (Default: 25): Lookback period in bars used to compute Slow Moving Average line.
- InpSlowShift (Default: 0): Horizontal bar displacement applied to Slow Moving Average line.
2. Macro Trend Filter Group (=== TREND FILTER ===):
- UseTrend (Default: false): Global toggle switch to enable or disable baseline macro trend filter.
- TrendPeriod (Default: 200): Lookback period in bars for macro trend moving average calculation.
- TrendMethod (Default: MODE_EMA): Averaging method applied to macro trend moving average line.
3. Filter Settings Group (=== FILTER MODE ===):
- Use_RSI_Cross_Filter (Default: false): Enables or disables RSI boundary crossover validation.
- RSI_Length (Default: 14): Calculation period in bars for Relative Strength Index.
- RSI_Price_Source (Default: PRICE_CLOSE): Price series applied in RSI calculations.
- Oversold (Default: 30.0): Numerical lower threshold required for bullish RSI crossover confirmation.
- Overbought (Default: 70.0): Numerical upper threshold required for bearish RSI crossover confirmation.
- Use_ADX_Filter (Default: false): Enables or disables ADX trend strength filtering.
- ADX_Period (Default: 10): Calculation lookback period in bars for ADX indicator.
- ADX_Min_Level (Default: 20.0): Minimum ADX threshold required to confirm adequate market momentum.
- Use_MA_Filter (Default: false): Enables or disables single structural moving average filter.
- MA_Period (Default: 50): Lookback period in bars for structural moving average line.
- MA_Method (Default: MODE_SMA): Averaging calculation method applied to structural moving average.
- MA_Shift (Default: 0): Horizontal displacement in bars for structural moving average.
- Use_Ichimoku_Filter (Default: false): Enables or disables Ichimoku Senkou Span B equilibrium filter.
- Ichimoku_SenkouB (Default: 52): Lookback period in bars for Senkou Span B calculation.
- Ichimoku_Kijun (Default: 26): Historical shift parameter in bars used to synchronize Senkou Span B.
- Use_RSI75_Filter (Default: false): Enables or disables long-cycle 75-period RSI macro momentum filter.
- RSI_Filter_Period (Default: 75): Calculation period in bars for long-cycle Relative Strength Index.
- Use_DoubleMA_Filter (Default: false): Enables or disables dual moving average hierarchy filter.
- MA_A_Period (Default: 30): Lookback period in bars for auxiliary moving average A.
- MA_A_Method (Default: MODE_EMA): Averaging method applied to auxiliary moving average A.
- MA_A_Applied (Default: PRICE_CLOSE): Applied price series utilized for auxiliary moving average A.
- MA_A_Shift (Default: 0): Horizontal displacement in bars for auxiliary moving average A.
- MA_B_Period (Default: 140): Lookback period in bars for auxiliary moving average B.
- MA_B_Method (Default: MODE_EMA): Averaging method applied to auxiliary moving average B.
- MA_B_Applied (Default: PRICE_CLOSE): Applied price series utilized for auxiliary moving average B.
- MA_B_Shift (Default: 0): Horizontal displacement in bars for auxiliary moving average B.
- Use_AO_Filter (Default: false): Master activation switch for Awesome Oscillator filter subsystem.
- Use_AO_Volume_Filter (Default: false): Activates absolute minimum histogram amplitude threshold filtering.
- AO_Buy_Min (Default: 4.0): Minimum positive histogram amplitude value required for Buy validation.
- AO_Sell_Max (Default: -4.0): Maximum negative histogram amplitude value required for Sell validation.
- Use_AO_Color_Filter (Default: false): Activates histogram bar-to-bar slope directional color validation.
- Use_AO_Zero_Filter (Default: false): Activates zero-line polarity combined with momentum slope expansion.
- Use_SAR_Filter (Default: false): Enables or disables trailing Parabolic Stop and Reverse filter.
- SAR_Step (Default: 0.02): Incremental acceleration factor step for SAR price boundary projection.
- SAR_Maximum (Default: 0.2): Maximum acceleration factor ceiling for Parabolic SAR calculation.
- Use_HeikenAshi_Filter (Default: false): Enables or disables synthetic Heiken Ashi candle body validation.
- Use_CCI_Filter (Default: false): Enables or disables Commodity Channel Index zero-line polarity filtering.
- CCI_Period (Default: 50): Lookback period in bars for trend CCI calculation.
- CCI_Applied (Default: PRICE_CLOSE): Applied price series utilized for trend CCI computation.
- Use_CCI_OBOS_Filter (Default: false): Enables or disables fast CCI momentum boundary penetration filtering.
- CCI_OBOS_Period (Default: 14): Lookback period in bars for fast OB/OS Commodity Channel Index.
- CCI_OBOS_Applied (Default: PRICE_CLOSE): Applied price series utilized for fast OB/OS CCI computation.
- CCI_Overbought (Default: 100.0): Numerical upper threshold for bullish expansion confirmation.
- CCI_Oversold (Default: -100.0): Numerical lower threshold for bearish expansion confirmation.
- Use_RVI_Filter (Default: false): Enables or disables long-cycle Relative Vigor Index zero-line filtering.
- RVI_Period (Default: 75): Lookback period in bars for trend Relative Vigor Index calculation.
- Use_RVI_Signal_Filter (Default: false): Enables or disables RVI main line versus signal line crossover filtering.
- RVI_Signal_Period (Default: 20): Lookback period in bars for dynamic RVI signal crossover calculation.
- Use_MACD_Filter (Default: false): Enables or disables MACD histogram differential separation filtering.
- MACD_FastEMA (Default: 12): Fast exponential moving average calculation period for MACD.
- MACD_SlowEMA (Default: 26): Slow exponential moving average calculation period for MACD.
- MACD_SignalSMA (Default: 9): Signal line simple moving average calculation period for MACD.
- MACD_Applied (Default: PRICE_CLOSE): Applied price series utilized for MACD calculation.
- Use_MACD_Zero_Filter (Default: false): Enables or disables MACD main line zero-level polarity filtering.
- Use_SR_Filter (Default: false): Enables or disables dynamic support and resistance zone filtering.
- SR_Period (Default: 50): Historical lookback window in bars scanned to identify structural highs/lows.
- SR_Zone_Points (Default: 80.0): Buffer zone width in points projected around detected SR levels.
- Use_Fib_Filter (Default: false): Enables or disables algorithmic ZigZag Fibonacci retracement filtering.
- Fib_Level_1 (Default: 0.382): Inner fractional boundary ratio for target Fibonacci pullback zone.
- Fib_Level_2 (Default: 0.618): Outer fractional boundary ratio for target Fibonacci pullback zone.
- ZigZag_Depth (Default: 12): Minimum bar interval parameter used in swing pivot detection.
- ZigZag_Deviation (Default: 5): Minimum price deviation threshold in points required for swing pivot.
- ZigZag_Backstep (Default: 3): Minimum intervening bars required between consecutive swing pivots.
4. Signal Display Settings Group (=== SIGNAL SETTINGS ===):
- SignalOffset (Default: 12): Vertical pixel/point spacing between candle extrema and plotted arrow graphics.
- BuyArrowCode (Default: 233): Wingdings character symbol code for bullish signal arrow (upward pointing).
- SellArrowCode (Default: 234): Wingdings character symbol code for bearish signal arrow (downward pointing).
5. Alert & Notification Settings Group (=== ALERT & NOTIFICATION ===):
- EnableAlertPopup (Default: true): Enables native on-screen MetaTrader 5 dialog box alert.
- EnableAlertSound (Default: true): Enables acoustic sound playback upon signal generation.
- AlertSoundFile (Default: "alert.wav"): Audio file filename located within terminal Sounds directory.
- EnablePushNotify (Default: true): Enables instant push notification dispatch to mobile terminals.
- EnableEmailAlert (Default: false): Enables automated email transmission via terminal SMTP configuration.
Risk Disclaimer:
Trading foreign exchange, commodities, indices, and financial derivatives involves substantial risk of loss and is not suitable for every investor. The high degree of financial leverage can work against you as well as for you. Before deciding to trade financial markets, you should carefully consider your investment objectives, level of experience, and risk appetite. Past performance of any indicator, algorithm, or methodology does not guarantee future results. MultiFilter MA Crossover Signals Trend Alerts MT5 is an analytical and operational indicator tool designed solely to assist traders in objective technical analysis and systematic chart evaluation; it does not provide financial advice, automated profit guarantees, or investment management services. Users must thoroughly evaluate and backtest the indicator on a demo account under realistic simulated trading conditions prior to deploying it within any live trading environment.
