WAE Waddah Attar Explosion Volatility Multi Filter
- Indicatori
- Versione: 1.0
- Attivazioni: 5
WAE Waddah Attar Explosion Volatility Multi Filter
Overview
Waddah Attar Explosion Multi Filter is a technical analysis indicator for MetaTrader 4 that integrates momentum and volatility expansion measurement with a modular 15-filter confirmation suite and automated ATR-based price level projections. Built for structured trend-following and breakout analysis, the indicator plots a dual-color momentum histogram alongside dynamic volatility and dead-zone thresholds in a dedicated sub-window, while displaying directional entry arrows and risk-reward reference lines directly on the main price chart.
Operating Principle and Signal Logic
The indicator evaluates market momentum by tracking directional shifts in MACD values relative to volatility expansion derived from Bollinger Bands width, filtered against a minimum Dead Zone threshold to separate valid breakouts from low-volume market noise.
- Bullish Signal (Buy): Generated on a completed candle when bullish histogram momentum expands above both the Explosion Line and the Dead Zone threshold, validated by optional momentum acceleration checks and all enabled modules in the 15-filter framework.
- Bearish Signal (Sell): Generated on a completed candle when bearish histogram momentum expands above both the Explosion Line and the Dead Zone threshold, validated by optional momentum acceleration checks and all enabled modules in the 15-filter framework.
- Repainting Behavior and Bar Calculation: All entry arrows, alert triggers, and Stop Loss or Take Profit projections are evaluated strictly on closed candles (Bar 1 and historical completed bars). Once a candle closes and a signal arrow is rendered on the chart, it does not repaint, disappear, or shift position. The sub-window histogram and lines on the active candle (Bar 0) update dynamically in real time with incoming ticks until the candle closes. Note that if the optional Fibonacci Retracement filter is enabled, internal swing detection relies on ZigZag peak-and-trough confirmation.
Visual Interface and Chart Elements
To provide clear visual interpretation without chart clutter, the indicator separates oscillator diagnostics from price action references across two chart zones:
- Sub-Window Bullish Histogram (Default: Lime): Indicates positive directional momentum expansion when the current momentum reading is above zero.
- Sub-Window Bearish Histogram (Default: Magenta): Indicates negative directional momentum expansion when the current momentum reading is below zero.
- Sub-Window Explosion Line (Default: Aqua): Represents dynamic market volatility width calculated from Bollinger Bands; momentum bars exceeding this line signify a volatility breakout condition.
- Sub-Window Dead Zone Line (Default: Red Dash-Dot): Represents the minimum baseline threshold required to filter out flat, low-volatility consolidation phases.
- Main Chart Directional Arrows (Default: Aqua for Buy, Red for Sell): Plotted below candle lows for confirmed bullish breakouts and above candle highs for confirmed bearish breakouts.
- Main Chart ATR Target Projections: Displays horizontal reference segments with right-aligned price labels for Entry (Gold), Stop Loss (Red), TP1 at 1R (Lime Green), TP2 at 2R (Medium Sea Green), and TP3 at 3R (Dodger Blue) exclusively for the most recent confirmed signal to keep historical chart views clean.
Modular 15-Filter Confirmation Architecture
Traders can activate any single filter or combine multiple filters simultaneously using strict logical conjunction (all active filters must agree before a signal is plotted):
- 1. RSI Cross Filter: Requires the Relative Strength Index to cross upward from the oversold zone for Buy signals or downward from the overbought zone for Sell signals.
- 2. ADX Trend Filter: Verifies that the Average Directional Index main line is above a user-defined minimum level, ensuring sufficient directional trend strength.
- 3. Single MA Filter: Confirms structural trend alignment by requiring price closure above a configurable Moving Average for Buy setups and below it for Sell setups.
- 4. Ichimoku Senkou Span B Filter: Uses the leading Senkou Span B cloud boundary as a long-term equilibrium baseline to allow Buy signals only above the cloud boundary and Sell signals below it.
- 5. RSI 75 Midline Filter: Applies a long-period RSI filter around the 50.0 neutral equilibrium level to align entries with broader macro momentum bias.
- 6. Double MA Filter: Evaluates trend alignment between a faster Moving Average and a slower Moving Average, permitting Buy signals during bullish alignment and Sell signals during bearish alignment.
- 7. Awesome Oscillator (AO) Filter: Offers three independent confirmation sub-modes checking minimum AO amplitude thresholds, bar-over-bar histogram slope direction, and zero-line polarity.
- 8. Parabolic SAR Filter: Validates trend direction by checking whether closing price resides above the Parabolic SAR trail for Buy signals or below it for Sell signals.
- 9. Heiken Ashi Filter: Computes internal smoothed Heiken Ashi candles to ensure bullish candle polarity (close above open) for Buy entries and bearish polarity (close below open) for Sell entries.
- 10. CCI Trend Filter: Uses a medium-term Commodity Channel Index relative to the zero line to confirm positive or negative cyclical momentum bias.
- 11. CCI OB and OS Filter: Evaluates short-term CCI momentum breakouts beyond configured overbought and oversold threshold levels.
- 12. RVI Trend and Signal Filters: Combines a long-period Relative Vigor Index zero-line regime check with a shorter-period RVI main-versus-signal line crossover alignment.
- 13. MACD Histogram and Zero Filters: Adds a secondary independent MACD confirmation layer checking both histogram polarity and main-line position relative to the zero level.
- 14. Support/Resistance and Fibonacci Filters: Evaluates price interaction near recent structural swing highs/lows within a defined point tolerance, alongside optional Fibonacci retracement zone validation derived from internal swing points.
- 15. Supertrend Filter: Integrates an ATR-based Supertrend regime algorithm using Wilder smoothing to permit Buy signals strictly during bullish regimes and Sell signals strictly during bearish regimes.
Key Technical Features and Resource Efficiency
- Automated Risk-to-Reward Mapping: Eliminates manual pip calculation by projecting Entry, Stop Loss, and three scaled Take Profit targets (1R, 2R, 3R) immediately upon signal confirmation using live ATR volatility.
- Multi-Channel Alert Routing: Supports terminal pop-up dialog alerts, customizable WAV audio alerts for Buy and Sell events, mobile push notifications via MetaQuotes ID, and SMTP email alerts, triggered once per closed bar to prevent duplicate alert spam.
- Optimized Computation Engine: Employs incremental bar calculation on live market ticks and single-pass historical buffer initialization. Internal series arrays for Heiken Ashi and Supertrend are updated efficiently without creating external chart object overhead, maintaining responsive terminal performance when running across multiple currency pairs.
Operation, Setup, and Calibration Recommendations
- Supported Instruments: Suitable for major and minor Forex pairs (such as EURUSD, GBPUSD, USDJPY, AUDUSD), metals and commodities (such as XAUUSD), stock indices, and liquid cryptocurrencies.
- Recommended Timeframes: Operates on all standard MetaTrader 4 timeframes from M1 to MN1. Timeframes M15, M30, H1, and H4 are recommended for balanced signal frequency and structural trend reliability. Lower timeframes (M1, M5) require stricter filter combinations to reduce intraday noise.
- Parameter Calibration Guide: Because DeadZonePip and ArrowOffsetPips are scaled in broker points/pips, adjust DeadZonePip according to the average pip range of the selected instrument (for example, using higher values on XAUUSD or indices compared to EURUSD). Similarly, adjust ATR_SL_Multiplier to match your preferred stop-loss buffer relative to current market volatility.
- Account Environment: Compatible with both hedging and netting account types across standard, ECN, and raw-spread brokers.
Input Parameters Documentation
[1] Entry Logic and Core WAE Parameters
- InpSection1 (Default: "=== [LOGIC] MACD Settings (WAE) ===") -> Section header label for core MACD momentum settings.
- Fast_MA (Default: 20) -> Fast EMA period used in the core MACD momentum calculation (in bars).
- Slow_MA (Default: 50) -> Slow EMA period used in the core MACD momentum calculation (in bars).
- InpSection2 (Default: "=== [LOGIC] Bollinger Bands (WAE) ===") -> Section header label for volatility band settings.
- BBPeriod (Default: 20) -> Lookback period for Bollinger Bands calculation to measure volatility expansion (in bars).
- BBDeviation (Default: 2.0) -> Standard deviation multiplier for upper and lower Bollinger Bands width.
- InpSection3 (Default: "=== [LOGIC] Waddah Settings ===") -> Section header label for sensitivity and threshold parameters.
- Sensetive (Default: 150) -> Multiplier coefficient applied to scale momentum histogram amplitude visually and numerically.
- DeadZonePip (Default: 30) -> Minimum volatility and momentum threshold level expressed in points to filter low-volume consolidation.
- InpSection4 (Default: "=== [LOGIC] Power Filter (Optional) ===") -> Section header label for optional momentum acceleration filtering.
- UsePowerFilter (Default: false) -> Enables or disables secondary momentum and explosion rate-of-change validation.
- ExplosionPower (Default: 15) -> Minimum expansion rate threshold required for the Explosion line when Power Filter is active.
- TrendPower (Default: 15) -> Minimum expansion rate threshold required for the Trend histogram when Power Filter is active.
[2] ATR and Target Levels (SL/TP) Parameters
- InpSection5 (Default: "=== [C] ATR & TARGET LEVELS (SL/TP) ===") -> Section header label for ATR target projection settings.
- Show_SL_TP_Lines (Default: true) -> Toggles the display of Entry, Stop Loss, and Take Profit lines on the main chart for the latest signal.
- ATR_Period (Default: 7) -> Lookback period for Average True Range volatility calculation (in bars).
- ATR_SL_Multiplier (Default: 1.5) -> Multiplier applied to the ATR value to determine Stop Loss distance (1R risk unit).
- Line_Extension_Bars (Default: 1) -> Number of bars to extend horizontal target lines to the right of the current active candle.
- Label_Font_Size (Default: 8) -> Font size in points for price and risk-reward text labels displayed beside target lines.
- Entry_Line_Color (Default: clrGold) -> Color of the signal entry reference line.
- SL_Line_Color (Default: clrRed) -> Color of the Stop Loss reference line.
- TP1_Line_Color (Default: clrLimeGreen) -> Color of the first Take Profit target line (1:1 Risk-to-Reward).
- TP2_Line_Color (Default: clrMediumSeaGreen) -> Color of the second Take Profit target line (1:2 Risk-to-Reward).
- TP3_Line_Color (Default: clrDodgerBlue) -> Color of the third Take Profit target line (1:3 Risk-to-Reward).
- Target_Line_Style (Default: STYLE_DASH) -> Line drawing style (solid, dash, dot, dash-dot) for SL and TP levels.
- Target_Line_Width (Default: 1) -> Pixel thickness of the plotted target lines.
[3] Signals and Alerts Parameters
- InpSection6 (Default: "=== [SIGNALS] Chart Arrows ===") -> Section header label for main chart arrow visuals.
- ShowArrows (Default: true) -> Enables or disables plotting Buy and Sell directional arrows on the main price chart.
- BuyArrowColor (Default: clrAqua) -> Color of bullish signal arrows.
- SellArrowColor (Default: clrRed) -> Color of bearish signal arrows.
- ArrowSize (Default: 2) -> Visual size scale (1 to 5) of the signal arrows on the chart.
- ArrowOffsetPips (Default: 30) -> Vertical distance offset of arrows from candle high/low (scaled in pips/points).
- InpSection7 (Default: "=== [ALERTS] Notification Settings ===") -> Section header label for alert routing options.
- AlertWindow (Default: true) -> Enables MetaTrader terminal pop-up alert dialog boxes on confirmed signals.
- AlertSound (Default: true) -> Enables audio sound playback when a confirmed signal occurs.
- SoundBuy (Default: "alert.wav") -> Audio file name located in the MetaTrader Sounds directory for Buy signals.
- SoundSell (Default: "alert.wav") -> Audio file name located in the MetaTrader Sounds directory for Sell signals.
- PushNotification (Default: true) -> Sends push notifications to the MetaTrader mobile application via MetaQuotes ID.
- SendMailAlert (Default: false) -> Sends signal notifications via configured terminal SMTP email settings.
- AlertLong (Default: true) -> Allows alerts to trigger on confirmed bullish signals.
- AlertShort (Default: true) -> Allows alerts to trigger on confirmed bearish signals.
[4] Universal 15-Filter Framework Input Parameters
- InpFilter1 (Default: "=== 1. RSI CROSS FILTER ===") -> Section header for Filter 1.
- Use_RSI_Cross_Filter (Default: false) -> Enables RSI oversold/overbought level crossover confirmation.
- RSI_Length (Default: 14) -> Calculation period for the RSI Cross filter (in bars).
- RSI_Price_Source (Default: PRICE_CLOSE) -> Applied price type used for RSI calculations.
- RSI_Oversold (Default: 30.0) -> Oversold threshold level that RSI must cross upward to validate a Buy signal.
- RSI_Overbought (Default: 70.0) -> Overbought threshold level that RSI must cross downward to validate a Sell signal.
- InpFilter2 (Default: "=== 2. ADX FILTER ===") -> Section header for Filter 2.
- Use_ADX_Filter (Default: false) -> Enables Average Directional Index minimum trend strength filtering.
- ADX_Period (Default: 10) -> Calculation period for the ADX main line (in bars).
- ADX_Min_Level (Default: 20.0) -> Minimum ADX value required to confirm sufficient directional trend strength.
- InpFilter3 (Default: "=== 3. SINGLE MA FILTER ===") -> Section header for Filter 3.
- Use_MA_Filter (Default: false) -> Enables closing price position filtering relative to a single Moving Average.
- MA_Period (Default: 50) -> Averaging period for the Single MA filter (in bars).
- MA_Method (Default: MODE_SMA) -> Smoothing method (SMA, EMA, SMMA, LWMA) for the Single MA filter.
- MA_Shift (Default: 0) -> Horizontal shift of the Single MA line (in bars).
- InpFilter4 (Default: "=== 4. ICHIMOKU SENKOU SPAN B FILTER ===") -> Section header for Filter 4.
- Use_Ichimoku_Filter (Default: false) -> Enables trend direction filtering relative to the Ichimoku Senkou Span B cloud boundary.
- Ichimoku_Tenkan (Default: 9) -> Tenkan-sen period for Ichimoku calculation (in bars).
- Ichimoku_Kijun (Default: 26) -> Kijun-sen period for Ichimoku calculation (in bars).
- Ichimoku_SenkouB (Default: 52) -> Senkou Span B period used as the structural trend baseline (in bars).
- InpFilter5 (Default: "=== 5. RSI 75 FILTER ===") -> Section header for Filter 5.
- Use_RSI75_Filter (Default: false) -> Enables long-period RSI 50-level midline trend bias filtering.
- RSI_Filter_Period (Default: 75) -> Lookback period for the midline RSI filter (in bars).
- InpFilter6 (Default: "=== 6. DOUBLE MA FILTER ===") -> Section header for Filter 6.
- Use_DoubleMA_Filter (Default: false) -> Enables dual Moving Average alignment filtering (Fast MA vs. Slow MA).
- MA_A_Period (Default: 30) -> Period for the faster Moving Average A (in bars).
- MA_A_Method (Default: MODE_EMA) -> Smoothing method for Moving Average A.
- MA_A_Applied (Default: PRICE_CLOSE) -> Applied price type for Moving Average A.
- MA_A_Shift (Default: 0) -> Horizontal shift for Moving Average A (in bars).
- MA_B_Period (Default: 140) -> Period for the slower Moving Average B (in bars).
- MA_B_Method (Default: MODE_EMA) -> Smoothing method for Moving Average B.
- MA_B_Applied (Default: PRICE_CLOSE) -> Applied price type for Moving Average B.
- MA_B_Shift (Default: 0) -> Horizontal shift for Moving Average B (in bars).
- InpFilter7 (Default: "=== 7. AWESOME OSCILLATOR FILTER ===") -> Section header for Filter 7.
- Use_AO_Filter (Default: false) -> Enables Bill Williams Awesome Oscillator multi-mode confirmation.
- Use_AO_Volume_Filter (Default: false) -> Requires AO value to exceed minimum amplitude thresholds.
- AO_Buy_Min (Default: 4.0) -> Minimum positive AO value required for Buy validation.
- AO_Sell_Max (Default: -4.0) -> Maximum negative AO value required for Sell validation.
- Use_AO_Color_Filter (Default: false) -> Requires AO histogram slope/color to align with trade direction.
- Use_AO_Zero_Filter (Default: false) -> Requires AO to be above zero with rising momentum for Buy, or below zero with falling momentum for Sell.
- InpFilter8 (Default: "=== 8. PARABOLIC SAR FILTER ===") -> Section header for Filter 8.
- Use_SAR_Filter (Default: false) -> Enables Parabolic SAR dot position trend filtering.
- SAR_Step (Default: 0.02) -> Acceleration factor step increment for Parabolic SAR.
- SAR_Maximum (Default: 0.2) -> Maximum acceleration factor limit for Parabolic SAR.
- InpFilter9 (Default: "=== 9. HEIKEN ASHI FILTER ===") -> Section header for Filter 9.
- Use_HeikenAshi_Filter (Default: false) -> Enables smoothed Heiken Ashi candle polarity confirmation (bullish/bearish body).
- InpFilter10 (Default: "=== 10. CCI TREND FILTER ===") -> Section header for Filter 10.
- Use_CCI_Filter (Default: false) -> Enables Commodity Channel Index zero-line trend bias filtering.
- CCI_Period (Default: 50) -> Lookback period for the CCI Trend filter (in bars).
- CCI_Applied (Default: PRICE_CLOSE) -> Applied price type for the CCI Trend filter.
- InpFilter11 (Default: "=== 11. CCI OB & OS FILTER ===") -> Section header for Filter 11.
- Use_CCI_OBOS_Filter (Default: false) -> Enables CCI momentum breakout filtering beyond overbought/oversold thresholds.
- CCI_OBOS_Period (Default: 14) -> Lookback period for the CCI OB/OS filter (in bars).
- CCI_OBOS_Applied (Default: PRICE_CLOSE) -> Applied price type for the CCI OB/OS filter.
- CCI_Overbought (Default: 100.0) -> Upper CCI threshold level for bullish momentum confirmation.
- CCI_Oversold (Default: -100.0) -> Lower CCI threshold level for bearish momentum confirmation.
- InpFilter12 (Default: "=== 12. RVI FILTERS ===") -> Section header for Filter 12.
- Use_RVI_Filter (Default: false) -> Enables Relative Vigor Index zero-line trend filtering.
- RVI_Period (Default: 75) -> Lookback period for the RVI zero-line trend filter (in bars).
- Use_RVI_Signal_Filter (Default: false) -> Enables RVI main line versus signal line crossover alignment.
- RVI_Signal_Period (Default: 20) -> Lookback period for the RVI signal line filter (in bars).
- InpFilter13 (Default: "=== 13. MACD FILTERS ===") -> Section header for Filter 13.
- Use_MACD_Filter (Default: false) -> Enables secondary MACD histogram polarity filtering (Main vs. Signal).
- MACD_FastEMA (Default: 12) -> Fast EMA period for the secondary MACD filter (in bars).
- MACD_SlowEMA (Default: 26) -> Slow EMA period for the secondary MACD filter (in bars).
- MACD_SignalSMA (Default: 9) -> Signal SMA period for the secondary MACD filter (in bars).
- MACD_Applied (Default: PRICE_CLOSE) -> Applied price type for the secondary MACD filter.
- Use_MACD_Zero_Filter (Default: false) -> Requires secondary MACD main line to be above zero for Buy and below zero for Sell.
- InpFilter14 (Default: "=== 14. SR & FIBONACCI FILTERS ===") -> Section header for Filter 14.
- Use_SR_Filter (Default: false) -> Enables structural Support and Resistance zone proximity filtering.
- SR_Period (Default: 50) -> Lookback window to identify recent swing highs and lows (in bars).
- SR_Zone_Points (Default: 80) -> Tolerance zone radius around Support/Resistance levels (in points).
- Use_Fib_Filter (Default: false) -> Enables Fibonacci retracement zone validation between two configured ratios.
- Fib_Level_1 (Default: 0.382) -> First Fibonacci retracement ratio boundary.
- Fib_Level_2 (Default: 0.618) -> Second Fibonacci retracement ratio boundary.
- ZigZag_Depth (Default: 12) -> Minimum bar depth parameter for internal swing point detection.
- ZigZag_Deviation (Default: 5) -> Minimum price deviation for swing point detection (in points).
- ZigZag_Backstep (Default: 3) -> Minimum bar separation between consecutive swing highs or lows.
- InpFilter15 (Default: "=== 15. SUPERTREND FILTER ===") -> Section header for Filter 15.
- Use_Supertrend_Filter (Default: false) -> Enables ATR-based Supertrend directional regime filtering.
- ST_AtrPeriod (Default: 10) -> Wilder ATR lookback period for Supertrend calculation (in bars).
- ST_Factor (Default: 3.0) -> Volatility band multiplier factor for Supertrend calculation.
Risk Disclaimer
Trading foreign exchange, commodities, indices, and other financial instruments involves significant risk and may not be suitable for all investors. Past performance does not guarantee future results. This indicator is an analytical software tool designed to assist traders in technical chart analysis; it does not execute trades automatically and does not guarantee financial profit. Always test the indicator thoroughly on a demo account to understand its operational behavior and parameter sensitivity before applying it to live trading decisions.
