Heiken Ashi Pro Signal Arrow Smart Filters Alerts
- Indicatori
- Versione: 1.70
- Aggiornato: 26 ottobre 2026
- Attivazioni: 5
Product Overview: Heiken Ashi Multi-Filter Suite MT5
The Heiken Ashi Multi-Filter Suite is an analytical trading indicator developed natively for MetaTrader 5, designed to provide directional price smoothing, structural reversal detection, and rule-based signal confirmation. By merging modified Heiken Ashi bar calculations with a modular 14-indicator filtering engine, the tool eliminates transient market noise and provides traders with disciplined visual signals. The indicator is built around two selectable algorithmic entry architectures: standard color change transitions and a strict reversal with zero-wick confirmation model. These entry models work in tandem with a comprehensive, built-in filter architecture containing 14 classical technical indicators, including RSI, ADX, SMA, EMA, Ichimoku Senkou Span B, Awesome Oscillator, Parabolic SAR, CCI, RVI, MACD, Dynamic Support and Resistance channels, and automated ZigZag-based Fibonacci Retracement zones. Every analytical component operates with complete execution transparency, functioning entirely without repainting on closed candles.
Technical Architecture and Operating Principles
1. Heiken Ashi Smoothing Formula: The indicator calculates candlestick geometry through the traditional four-point average Heiken Ashi algorithm: HA_Close = (Open + High + Low + Close) / 4.0; HA_Open = (HA_Open[previous bar] + HA_Close[previous bar]) / 2.0; HA_High = Maximum of (High, HA_Open, HA_Close); HA_Low = Minimum of (Low, HA_Open, HA_Close). A candle is defined as bullish when HA_Close is greater than or equal to HA_Open, and bearish when HA_Close is strictly less than HA_Open.
2. Selectable Signal Entry Modes: Traders can switch between two distinct signal generation models via the InpEntryMode parameter:
- Mode 1: Color Change Only (ENTRY_COLOR_CHANGE): Triggers on bar shift i when the current candle turns bullish (HA_Close[i] >= HA_Open[i]) while the immediately preceding candle was bearish (HA_Close[i+1] < HA_Open[i+1]). Conversely, a candidate Sell signal is triggered when the current candle turns bearish while the previous candle was bullish.
- Mode 2: Reversal + No Wick Confirmation (ENTRY_COLOR_NO_WICK): Implements a two-stage state machine designed for conservative trend entries. When a color flip occurs, the engine transitions into an active waiting state (waitingBull or waitingBear). A confirmed Buy arrow is printed only when a bullish candle forms with zero lower shadow (normalized HA_Low equals normalized HA_Open). For Sell entries, the engine waits for a bearish candle with zero upper shadow (normalized HA_High equals normalized HA_Open). Once a valid zero-wick bar satisfies all active secondary filters, the signal fires and the internal trigger resets immediately.
3. Signal Integrity and Non-Repainting Engine: While bar 0 fluctuates dynamically with incoming ticks, all notification alerts and final signal confirmations are locked exclusively upon the complete close of the bar (evaluated at index 1). Once bar 1 closes and prints an arrow, that arrow will never change position, vanish, or recalculate on historical bars. The indicator does not utilize unconfirmed future bars, centering filters, or forward-looking algorithms. Signal arrows are projected at an adjustable point distance (InpArrowOffset) below the lowest price point for Buy arrows, and above the highest price point for Sell arrows. If Heiken Ashi candles are displayed, the offset anchor dynamically takes the extrema of either standard wicks or smoothed HA wicks.
The Modular 14-Filter Framework
All entry triggers generated by the core Heiken Ashi logic must pass through the multi-filter validation gate. The suite includes 14 independent analytical filters, each with its own dedicated toggle and mathematical settings. When a filter is set to false, it is completely bypassed without computational overhead. When one or multiple filters are set to true, a signal must satisfy every single active condition simultaneously (strict logical AND conjunction).
- Filter 1: RSI Level Cross Filter: For Buy, RSI must have crossed upward above the oversold boundary from below. For Sell, RSI must have crossed downward below the overbought boundary from above.
- Filter 2: ADX Trend Strength Filter: Signals are permitted only if the main ADX line is strictly greater than or equal to the minimum threshold value (ADX_Min_Level) to filter out sideways consolidation.
- Filter 3: Single Moving Average Baseline: Buy requires candle close to be strictly above the moving average; Sell requires candle close to be strictly below the moving average (supports SMA, EMA, SMMA, LWMA).
- Filter 4: Ichimoku Senkou Span B Cloud Filter: Buy signals require price to reside strictly above Span B; Sell signals require price to reside strictly below Span B.
- Filter 5: RSI 75 Centerline Bias Filter: Employs an extended 75-period RSI as a macro-trend filter. Buy requires RSI 75 > 50.0; Sell requires RSI 75 < 50.0.
- Filter 6: Double Moving Average Dual-Crossover Filter: Buy requires the fast MA line to be strictly above the slow MA line; Sell requires the fast MA line to be strictly below the slow MA line.
- Filter 7: Awesome Oscillator (AO) Multi-Condition Filter: Evaluates momentum via three selectable sub-modes: Minimum Volume Threshold (AO exceeds numerical boundary), Directional Color (AO rising for Buy, falling for Sell), and Zero-Line Confluence (AO rising and positive for Buy, falling and negative for Sell).
- Filter 8: Parabolic SAR Trailing Bias: Buy requires closing price strictly above the SAR level; Sell requires closing price strictly below the SAR level.
- Filter 9: Heiken Ashi Secondary Filter: Verifies that Heiken Ashi candle close remains strictly above the open for Buys, and strictly below the open for Sells.
- Filter 10: CCI Trend Direction Filter: Buy requires CCI line to be positive (> 0.0); Sell requires CCI line to be negative (< 0.0).
- Filter 11: CCI Overbought and Oversold Rebound Filter: Evaluates cyclical turning points using fast CCI. Buy requires CCI to cross above the oversold line; Sell requires CCI to cross below the overbought line.
- Filter 12: Relative Vigor Index (RVI) Direction and Signal Line Cross: Evaluates main RVI above 0.0 for Buy and below 0.0 for Sell, with an optional signal line crossover condition (RVI Main > RVI Signal).
- Filter 13: MACD Histogram and Zero-Line Confluence: Evaluates MACD Histogram (Main - Signal > 0 for Buy, < 0 for Sell) and MACD Zero Filter (Main line > 0 for Buy, < 0 for Sell).
- Filter 14: Dynamic Support/Resistance & Fibonacci Retracement Levels: Dynamic S/R constructs a price tolerance zone around historical extrema within a defined lookback window. Automated Fibonacci retracement identifies swings via ZigZag logic and validates whether price is testing the 38.2% - 61.8% golden retracement band.
Operational Setup and Recommendations
- Supported Instruments: Compatible with all liquid assets including Major/Minor Forex pairs (EURUSD, GBPUSD, USDJPY, AUDUSD), Precious Metals (XAUUSD, XAGUSD), Crude Oil (USOIL, UKOIL), Indices (US30, US500, USTEC, GER40), and liquid Cryptocurrencies.
- Recommended Timeframes: M1-M5 for scalping (Mode 1 paired with Single MA or CCI), M15-H1 for day trading (Mode 2 paired with Double MA, MACD, or ADX), and H4-D1 for swing trading (Mode 2 paired with Ichimoku Span B, RSI 75, or Fibonacci).
- Account Specifications: Operates on both Hedging and Netting accounts across ECN/STP environments. Memory-efficient architecture calculates only updated bars without loading unneeded historical data.
Complete Input Parameters Documentation
=== HEIKEN ASHI DISPLAY & CORE SETTINGS ===
- InpEntryMode (Default: ENTRY_COLOR_NO_WICK): Signal algorithm mode (ENTRY_COLOR_CHANGE = color transition only; ENTRY_COLOR_NO_WICK = color reversal followed by zero-wick confirmation).
- InpShowHA (Default: true): Toggles visual rendering of smoothed Heiken Ashi candles over the main chart.
- InpBullColor (Default: clrDodgerBlue): Visual color of bullish Heiken Ashi candles.
- InpBearColor (Default: clrRed): Visual color of bearish Heiken Ashi candles.
=== SIGNAL ARROWS SETTINGS ===
- InpBuyArrowColor (Default: clrAqua): Visual color of the Buy signal arrow.
- InpSellArrowColor (Default: clrRed): Visual color of the Sell signal arrow.
- InpArrowCodeBuy (Default: 233): Wingdings character code for the Buy arrow (233 = up arrow).
- InpArrowCodeSell (Default: 234): Wingdings character code for the Sell arrow (234 = down arrow).
- InpArrowOffset (Default: 600): Spacing distance in points between candle extrema and printed arrows.
=== ALERTS & NOTIFICATIONS ===
- InpShowAlert (Default: false): Enables pop-up alert dialog in the MetaTrader terminal.
- InpPlaySound (Default: false): Enables sound notification on signal bar close.
- InpAlertSound (Default: "alert.wav"): Audio file name for sound notification.
- InpPushNotify (Default: false): Sends push notifications to mobile MetaTrader 5 devices.
- InpSendEmail (Default: false): Sends email notifications via terminal SMTP settings.
=== 1. RSI CROSS FILTER ===
- Use_RSI_Cross_Filter (Default: false): Toggles RSI crossover filter.
- RSI_Length (Default: 14): Averaging period for RSI calculation.
- RSI_Price_Source (Default: PRICE_CLOSE): Applied price array for RSI.
- RSI_Oversold (Default: 30.0): Oversold boundary level for Buy crossover.
- RSI_Overbought (Default: 70.0): Overbought boundary level for Sell crossover.
=== 2. ADX FILTER ===
- Use_ADX_Filter (Default: false): Toggles ADX trend strength filter.
- ADX_Period (Default: 10): Lookback period for ADX calculation.
- ADX_Min_Level (Default: 20.0): Minimum ADX threshold required to allow signals.
=== 3. SINGLE MA FILTER ===
- Use_MA_Filter (Default: false): Toggles Single Moving Average baseline filter.
- MA_Period (Default: 50): Lookback period for moving average.
- MA_Method (Default: MODE_SMA): Moving average calculation method.
- MA_Shift (Default: 0): Horizontal bar shift for moving average.
=== 4. ICHIMOKU SENKOU SPAN B FILTER ===
- Use_Ichimoku_Filter (Default: false): Toggles Ichimoku Senkou Span B cloud filter.
- Ichimoku_Tenkan (Default: 9): Period for Tenkan-sen calculation.
- Ichimoku_Kijun (Default: 26): Period for Kijun-sen calculation.
- Ichimoku_SenkouB (Default: 52): Period for Senkou Span B calculation.
=== 5. RSI 75 FILTER ===
- Use_RSI75_Filter (Default: false): Toggles extended 75-period RSI baseline filter.
- RSI_Filter_Period (Default: 75): Lookback period for macro RSI calculation.
=== 6. DOUBLE MA FILTER ===
- Use_DoubleMA_Filter (Default: false): Toggles dual moving average trend alignment.
- MA_A_Period (Default: 30): Lookback period for Fast Moving Average (MA A).
- MA_A_Method (Default: MODE_EMA): Calculation method for MA A.
- MA_A_Applied (Default: PRICE_CLOSE): Applied price source for MA A.
- MA_A_Shift (Default: 0): Horizontal bar shift for MA A.
- MA_B_Period (Default: 140): Lookback period for Slow Moving Average (MA B).
- MA_B_Method (Default: MODE_EMA): Calculation method for MA B.
- MA_B_Applied (Default: PRICE_CLOSE): Applied price source for MA B.
- MA_B_Shift (Default: 0): Horizontal bar shift for MA B.
=== 7. AWESOME OSCILLATOR FILTER ===
- Use_AO_Filter (Default: false): Master toggle for Awesome Oscillator evaluation.
- Use_AO_Volume_Filter (Default: false): Toggles absolute numerical threshold evaluation.
- AO_Buy_Min (Default: 4.0): Minimum positive AO value required for Buy.
- AO_Sell_Max (Default: -4.0): Maximum negative AO value required for Sell.
- Use_AO_Color_Filter (Default: false): Toggles AO bar slope (rising for Buy, falling for Sell).
- Use_AO_Zero_Filter (Default: false): Toggles AO zero-line alignment (rising > 0 for Buy, falling < 0 for Sell).
=== 8. PARABOLIC SAR FILTER ===
- Use_SAR_Filter (Default: false): Toggles Parabolic SAR directional filter.
- SAR_Step (Default: 0.02): Incremental step factor for SAR acceleration.
- SAR_Maximum (Default: 0.2): Maximum ceiling limit for SAR acceleration.
=== 9. HEIKEN ASHI FILTER ===
- Use_HeikenAshi_Filter (Default: false): Secondary check confirming HA close is above open for Buy and below open for Sell.
=== 10. CCI TREND FILTER ===
- Use_CCI_Filter (Default: false): Toggles CCI zero-line trend filter (CCI > 0 for Buy, CCI < 0 for Sell).
- CCI_Period (Default: 50): Lookback period for CCI trend calculation.
- CCI_Applied (Default: PRICE_CLOSE): Applied price data type for CCI computation.
=== 11. CCI OB & OS FILTER ===
- Use_CCI_OBOS_Filter (Default: false): Toggles cyclical overbought/oversold rebound filter.
- CCI_OBOS_Period (Default: 14): Lookback period for cyclical CCI calculation.
- CCI_OBOS_Applied (Default: PRICE_CLOSE): Applied price data type for cyclical CCI.
- CCI_Overbought (Default: 100.0): Overbought barrier for Sell crossover.
- CCI_Oversold (Default: -100.0): Oversold barrier for Buy crossover.
=== 12. RVI FILTERS ===
- Use_RVI_Filter (Default: false): Toggles baseline RVI directional filter (RVI > 0 for Buy, RVI < 0 for Sell).
- RVI_Period (Default: 75): Calculation period for baseline RVI.
- Use_RVI_Signal_Filter (Default: false): Toggles RVI line cross filter (Main > Signal for Buy, Main < Signal for Sell).
- RVI_Signal_Period (Default: 20): Calculation period for RVI signal line.
=== 13. MACD FILTERS ===
- Use_MACD_Filter (Default: false): Toggles MACD histogram filter (Histogram > 0 for Buy, < 0 for Sell).
- MACD_FastEMA (Default: 12): Fast EMA period for MACD.
- MACD_SlowEMA (Default: 26): Slow EMA period for MACD.
- MACD_SignalSMA (Default: 9): Signal SMA period for MACD.
- MACD_Applied (Default: PRICE_CLOSE): Applied price type for MACD.
- Use_MACD_Zero_Filter (Default: false): Toggles MACD zero-line filter (Main MACD > 0 for Buy, < 0 for Sell).
=== 14. SR & FIBONACCI FILTERS ===
- Use_SR_Filter (Default: false): Toggles dynamic Support and Resistance zone validation.
- SR_Period (Default: 50): Historical lookback window for identifying price extrema.
- SR_Zone_Points (Default: 80): Boundary thickness around Support/Resistance levels in points.
- Use_Fib_Filter (Default: false): Toggles automated Fibonacci retracement zone filter.
- Fib_Level_1 (Default: 0.382): Upper/lower Fibonacci ratio boundary (38.2%).
- Fib_Level_2 (Default: 0.618): Upper/lower Fibonacci ratio boundary (61.8%).
- ZigZag_Depth (Default: 12): Depth parameter for swing point identification.
- ZigZag_Deviation (Default: 5): Minimum deviation threshold for swing validation.
- ZigZag_Backstep (Default: 3): Minimum bar spacing between consecutive swing points.
Signal Interpretation and Execution Guidelines
1. Candlestick Color Semantics: Blue Candlestick Body represents bullish market structure (HA_Close >= HA_Open); Red Candlestick Body represents bearish market structure (HA_Close < HA_Open); Aqua Upward Arrow represents confirmed Buy entry signal; Red Downward Arrow represents confirmed Sell entry signal.
2. Filter Presets: Scalping Setup (Mode 1, Single EMA 50, ADX 14 > 22); Day Trading Setup (Mode 2, Double EMA 20/100, MACD Histogram); Swing Trading Setup (Mode 2, Fibonacci 38.2-61.8%, RSI 14 Cross).
3. Exit and Risk Management Guidelines: As an analytical indicator without automated trade execution, users must establish explicit risk controls. Place Stop Loss beyond recent swing levels or moving average baselines, and determine Take Profit via opposing candle flips, structural S/R levels, or fixed reward-to-risk ratios.
Risk Disclaimer
Trading foreign exchange, CFDs, commodities, equities, and cryptocurrencies carries significant risk and may not be suitable for all investors. The high degree of leverage available in financial markets can work against you as well as for you. Before deciding to trade any financial instrument, carefully consider your investment objectives, level of experience, and risk appetite. Past performance of any indicator, algorithm, or methodology is not indicative of future results. This software is an analytical and operational tool designed to assist traders in technical analysis; it does not guarantee financial profit or provide direct investment advice. Always test the product thoroughly on a demo account before considering deployment in live market environments.
