PSAR Parabolic SAR Signal Arrow MultiFilter Trend
- Indicateurs
- Version: 1.0
- Activations: 5
PSAR Parabolic SAR Signal Arrow MultiFilter Trend
Overview
Parabolic SAR Multi Filter No Repaint Signal MT4 is a technical analysis indicator engineered for the MetaTrader 4 platform. The tool combines classical Parabolic Stop and Reverse (PSAR) directional reversal detection with a modular 15-filter confirmation architecture and automated Average True Range (ATR) target mapping. It is designed to help traders identify confirmed directional shifts on closed candlesticks while filtering out low-momentum or counter-trend price fluctuations across multiple market regimes.
All signal calculations are strictly anchored to completed historical bars, ensuring that plotted BUY and SELL entry arrows do not repaint, shift, or disappear once a candlestick has closed. In addition to directional signal arrows, the indicator dynamically renders horizontal reference levels for Entry, Stop Loss (SL), and three risk-reward Take Profit targets (TP1, TP2, TP3) directly on the price chart, paired with a multi-channel notification system for real-time market monitoring.
Operating Principle and Signal Logic
The indicator operates through a sequential four-stage technical pipeline executed on each newly closed bar:
- Primary Parabolic SAR Reversal Engine: The core module continuously tracks Parabolic SAR acceleration dots relative to candlestick price extremes using configurable step and maximum acceleration parameters. A potential directional transition is registered only when the Parabolic SAR polarity flips from one side of price action to the opposite side across consecutive completed candles.
- Strict Closed-Bar Non-Repainting Architecture: Signal evaluation is restricted exclusively to closed bars (bar index 1 and older). The currently forming live candle (bar index 0) is intentionally excluded from signal arrow plotting. Consequently, no tentative intra-bar arrows appear before candle close, and every confirmed signal arrow remains permanently fixed at its historical bar coordinate.
- Bullish (BUY) Signal Generation Conditions: A BUY arrow is generated upon candle close when the Parabolic SAR dots transition from above price action to below price action, confirming an upward directional shift, AND all user-activated confirmation filters simultaneously validate bullish market alignment on that same closed bar. When all active criteria are satisfied, a BUY arrow is plotted below the signal candle low at a configurable ATR-proportioned offset.
- Bearish (SELL) Signal Generation Conditions: A SELL arrow is generated upon candle close when the Parabolic SAR dots transition from below price action to above price action, confirming a downward directional shift, AND all user-activated confirmation filters simultaneously validate bearish market alignment on that same closed bar. When all active criteria are satisfied, a SELL arrow is plotted above the signal candle high at a configurable ATR-proportioned offset.
- Modular 15-Filter Confluence Gate: Before any Parabolic SAR flip is validated as an actionable chart arrow, the candidate bar passes through an independent multi-filter verification suite. Each of the 15 built-in filter modules evaluates a distinct technical dimension—including oscillator threshold crossovers, directional trend strength, single and dual moving average alignment, Ichimoku cloud boundaries, macro-momentum midlines, Awesome Oscillator histogram dynamics, secondary SAR alignment, Heiken Ashi smoothed candle polarity, Commodity Channel Index regimes, Relative Vigor Index crossovers, MACD histogram and zero-axis polarity, dynamic Support/Resistance zones, Fibonacci retracement clusters, and ATR-based Supertrend direction. Disabled filters are bypassed automatically, while enabled filters operate in logical conjunction so that every active condition must agree before a signal is emitted.
- Dynamic ATR Volatility Risk and Reward Projection: Whenever a valid BUY or SELL signal is confirmed, the indicator samples the signal bar ATR value multiplied by a user-defined risk factor to establish the initial 1R risk distance. From the signal candle closing price, it automatically projects a horizontal Entry level, a protective Stop Loss level at 1R, and three progressive Take Profit levels at 1R (TP1), 2R (TP2), and 3R (TP3).
Key Technical Features
- Closed-Bar Signal Integrity: Evaluates and locks BUY and SELL arrows strictly after candlestick closure, preventing intra-bar signal flickering or historical recalculation drift.
- 15 Independent Confirmation Modules: Integrates 15 distinct technical filters inside a unified input panel, allowing traders to combine trend, momentum, volatility, and price-structure confirmations without attaching external indicators to the chart.
- Automated ATR Target Visualization: Draws clean horizontal segments and right-aligned price labels for Entry, Stop Loss, TP1 (1R), TP2 (2R), and TP3 (3R) anchored to the most recent confirmed signal.
- Granular Visual Customization: Provides full control over Wingdings arrow symbols, arrow line widths, candle-range vertical offsets, target line styles, label font sizes, and individual color assignments for every graphical element.
- Synchronized Multi-Channel Alerts: Supports MetaTrader pop-up alert windows, custom WAV sound playback, mobile push notifications via MetaQuotes ID, and SMTP email alerts triggered once per closed signal bar.
- Lightweight Single-Chart Execution: Encapsulates all 15 filter engines internally within a single compiled indicator file, eliminating template clutter and external file dependencies.
Graphical Interface, Alerts, and Computational Efficiency
- On-Chart Visual Elements and Color Legend:
- Parabolic SAR Dots (Default: DodgerBlue): Dotted trajectory tracking trailing acceleration levels above or below price bars.
- BUY Entry Arrow (Default: Aqua, Wingdings 233): Upward arrow plotted below the confirmed bullish signal candle low.
- SELL Entry Arrow (Default: Red, Wingdings 234): Downward arrow plotted above the confirmed bearish signal candle high.
- Entry Reference Line (Default: Gold, Solid): Horizontal line marking the closing price of the most recent valid signal bar, accompanied by a right-aligned BUY or SELL price label.
- Stop Loss Reference Line (Default: Red, Dashed): Horizontal line indicating the 1R ATR-based invalidation level with an exact SL price label.
- Take Profit Target Lines (Default: LimeGreen for TP1, MediumSeaGreen for TP2, DodgerBlue for TP3, Dashed): Three horizontal reward projection lines displaying 1R, 2R, and 3R price targets.
- Multi-Channel Alert System Behavior:
- Alerts are dispatched exclusively when a newly closed bar (bar index 1) produces a validated BUY or SELL arrow.
- Built-in duplicate suppression tracks the timestamp of the last alerted bar so that each confirmed signal triggers at most one notification per channel, regardless of incoming tick frequency.
- Each alert message includes the signal direction, instrument symbol, active chart timeframe, and exact signal bar timestamp.
- Computational Performance and Terminal Resource Management:
- The indicator requires a minimum history of 100 loaded bars on the active chart to stabilize long-period filters and volatility buffers.
- After initial historical loading, incremental calculation updates only newly formed bars rather than recalculating the entire chart history on every tick.
- On-chart SL/TP lines and labels are rendered only for the single most recent confirmed signal and are automatically removed when the indicator is detached or chart parameters reset, keeping chart object counts minimal.
- When running the indicator simultaneously across numerous open charts with computationally intensive structural filters active (such as Fibonacci ZigZag swing scanning or Support/Resistance lookbacks), users are advised to limit the number of simultaneously open charts according to workstation CPU and memory capacity.
Operation and Setup Recommendations
- Supported Financial Instruments: Suitable for major and minor Forex currency pairs (such as EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD), precious metals (such as XAUUSD), stock indices, and liquid CFDs. Traders should evaluate instrument-specific spread and volatility characteristics before deployment.
- Recommended Timeframes: Compatible with all standard MetaTrader 4 timeframes from M1 to MN1. Intraday traders commonly apply the indicator on M5, M15, and M30 charts using tighter ATR multipliers, while swing traders generally favor H1, H4, and D1 timeframes for broader directional filtering.
- Broker Account and Execution Environment: Operates seamlessly on standard, ECN, and Raw Spread MT4 accounts across both Hedging and Netting account structures. For lower timeframes (M1 to M15), a low-spread ECN broker environment is recommended so that spread costs remain proportional to the projected 1R ATR Stop Loss distance.
- Practical Filter Configuration Workflow: All 15 confirmation filters are disabled by default so users can first observe baseline Parabolic SAR reversal signals. Rather than enabling all 15 filters simultaneously—which can overly restrict signal frequency—traders are encouraged to activate 1 to 3 complementary filters from non-overlapping categories (for example, pairing one macro-trend filter such as Double MA or Supertrend with one momentum filter such as ADX or MACD).
Input Parameters Documentation
All configuration parameters available in the MetaTrader 4 Inputs tab are organized into functional groups below:
Group 1: PSAR Entry Logic Parameters (Section Header: InpGroup1)
- InpStep (Default: 0.02) - Acceleration factor step increment governing how rapidly Parabolic SAR dots converge toward price action during a trend (unit: decimal factor).
- InpMaximum (Default: 0.20) - Upper ceiling limit for the Parabolic SAR acceleration factor (unit: decimal factor).
Group 2: Display Settings (Section Header: InpGroup2)
- InpSARColor (Default: clrDodgerBlue) - Color applied to the primary Parabolic SAR dotted curve plotted on the main chart (unit: color).
- InpBuyColor (Default: clrAqua) - Color applied to confirmed bullish BUY signal arrows (unit: color).
- InpSellColor (Default: clrRed) - Color applied to confirmed bearish SELL signal arrows (unit: color).
- InpArrowCodeBuy (Default: 233) - Wingdings character code defining the graphical icon shape for BUY arrows (unit: integer Wingdings code).
- InpArrowCodeSell (Default: 234) - Wingdings character code defining the graphical icon shape for SELL arrows (unit: integer Wingdings code).
- InpArrowWidth (Default: 2) - Rendering thickness size of BUY and SELL signal arrows, valid from 1 to 5 (unit: pixel width level).
- InpOffsetATR (Default: 0.3) - Vertical spacing offset between the signal candle high/low and the plotted arrow, scaled as a fraction of the signal candle range (unit: candle-range multiplier).
Group 3: Alerts and Notifications (Section Header: InpGroup3)
- InpAlerts (Default: true) - Enables or disables standard MetaTrader terminal pop-up alert dialog boxes on closed-bar signal confirmation (unit: boolean true/false).
- InpAlertSound (Default: true) - Enables or disables audible WAV sound alerts when a valid signal triggers (unit: boolean true/false).
- InpAlertPush (Default: true) - Enables or disables mobile push notifications delivered to iOS/Android MetaTrader apps via MetaQuotes ID (unit: boolean true/false).
- InpAlertEmail (Default: false) - Enables or disables email signal alerts dispatched through the terminal SMTP mail configuration (unit: boolean true/false).
- InpSoundFile (Default: "alert.wav") - Name of the audio file inside the MetaTrader Sounds folder played during sound alerts (unit: text string filename).
Group 4: ATR and Target Levels SL/TP (Section Header: InpGroup4)
- InpShowLines (Default: true) - Toggles on-chart rendering of Entry, Stop Loss, and Take Profit horizontal target lines for the latest signal (unit: boolean true/false).
- InpATRPeriod (Default: 7) - Lookback bar period used to compute the Average True Range volatility baseline at the signal candle (unit: bars).
- InpATRMult (Default: 1.5) - Multiplier applied to the signal bar ATR value to define the 1R Stop Loss risk distance (unit: ATR multiplier).
- InpLineExtendBars (Default: 1) - Number of chart bars to extend the Entry, SL, and TP horizontal lines to the right beyond the current bar (unit: bars).
- InpFontSize (Default: 8) - Typographic font size for the right-aligned price labels attached to Entry, SL, and TP lines (unit: font points).
- InpColorEntry (Default: clrGold) - Color of the solid horizontal Entry price reference line and text label (unit: color).
- InpColorSL (Default: clrRed) - Color of the horizontal Stop Loss reference line and text label (unit: color).
- InpColorTP1 (Default: clrLimeGreen) - Color of the first Take Profit target line and label set at 1R reward distance (unit: color).
- InpColorTP2 (Default: clrMediumSeaGreen) - Color of the second Take Profit target line and label set at 2R reward distance (unit: color).
- InpColorTP3 (Default: clrDodgerBlue) - Color of the third Take Profit target line and label set at 3R reward distance (unit: color).
- InpTargetLineStyle (Default: STYLE_DASH) - Line drawing style (solid, dash, dot, dash-dot) applied to SL, TP1, TP2, and TP3 lines (unit: ENUM_LINE_STYLE enumeration).
- InpLineWidth (Default: 1) - Line thickness applied to Entry, SL, and TP horizontal lines (unit: pixel width).
Filter Module 1: RSI Cross Filter (Section Header: InpFilter1)
- Use_RSI_Cross_Filter (Default: false) - Enables or disables Relative Strength Index threshold crossover validation (unit: boolean true/false).
- RSI_Length (Default: 14) - Averaging lookback period for the RSI oscillator calculation (unit: bars).
- RSI_Price_Source (Default: PRICE_CLOSE) - Applied candlestick price series used for RSI calculation (unit: ENUM_APPLIED_PRICE enumeration).
- RSI_Oversold (Default: 30.0) - Lower RSI boundary level used to confirm bullish recovery crossovers (unit: RSI index points, 0 to 100).
- RSI_Overbought (Default: 70.0) - Upper RSI boundary level used to confirm bearish reversal crossovers (unit: RSI index points, 0 to 100).
Filter Module 2: ADX Trend Filter (Section Header: InpFilter2)
- Use_ADX_Filter (Default: false) - Enables or disables Average Directional Movement Index trend-strength filtering (unit: boolean true/false).
- ADX_Period (Default: 10) - Lookback period for calculating the ADX main strength line (unit: bars).
- ADX_Min_Level (Default: 20.0) - Minimum ADX reading required to confirm active directional trend strength (unit: ADX index points).
Filter Module 3: Single MA Filter (Section Header: InpFilter3)
- Use_MA_Filter (Default: false) - Enables or disables single Moving Average directional price-position filtering (unit: boolean true/false).
- MA_Period (Default: 50) - Lookback averaging period for the baseline Moving Average (unit: bars).
- MA_Method (Default: MODE_SMA) - Averaging smoothing method such as SMA, EMA, SMMA, or LWMA (unit: ENUM_MA_METHOD enumeration).
- MA_Shift (Default: 0) - Horizontal bar shift offset applied to the Moving Average series (unit: bars).
Filter Module 4: Ichimoku Senkou Span B Filter (Section Header: InpFilter4)
- Use_Ichimoku_Filter (Default: false) - Enables or disables Ichimoku Kinko Hyo Senkou Span B cloud boundary trend filtering (unit: boolean true/false).
- Ichimoku_Tenkan (Default: 9) - Tenkan-sen (Conversion Line) calculation period (unit: bars).
- Ichimoku_Kijun (Default: 26) - Kijun-sen (Base Line) calculation period (unit: bars).
- Ichimoku_SenkouB (Default: 52) - Senkou Span B (Leading Span B) calculation period defining the primary cloud boundary (unit: bars).
Filter Module 5: RSI 75 Filter (Section Header: InpFilter5)
- Use_RSI75_Filter (Default: false) - Enables or disables long-period RSI 50-midline macro-trend bias filtering (unit: boolean true/false).
- RSI_Filter_Period (Default: 75) - Extended lookback period for the macro-momentum RSI filter (unit: bars).
Filter Module 6: Double MA Filter (Section Header: InpFilter6)
- Use_DoubleMA_Filter (Default: false) - Enables or disables dual Moving Average directional alignment filtering (unit: boolean true/false).
- MA_A_Period (Default: 30) - Lookback period for the faster Moving Average A (unit: bars).
- MA_A_Method (Default: MODE_EMA) - Smoothing method for the faster Moving Average A (unit: ENUM_MA_METHOD enumeration).
- MA_A_Applied (Default: PRICE_CLOSE) - Applied price source for the faster Moving Average A (unit: ENUM_APPLIED_PRICE enumeration).
- MA_A_Shift (Default: 0) - Horizontal bar shift offset for the faster Moving Average A (unit: bars).
- MA_B_Period (Default: 140) - Lookback period for the slower Moving Average B (unit: bars).
- MA_B_Method (Default: MODE_EMA) - Smoothing method for the slower Moving Average B (unit: ENUM_MA_METHOD enumeration).
- MA_B_Applied (Default: PRICE_CLOSE) - Applied price source for the slower Moving Average B (unit: ENUM_APPLIED_PRICE enumeration).
- MA_B_Shift (Default: 0) - Horizontal bar shift offset for the slower Moving Average B (unit: bars).
Filter Module 7: Awesome Oscillator Filter (Section Header: InpFilter7)
- Use_AO_Filter (Default: false) - Enables or disables the Bill Williams Awesome Oscillator momentum filter group (unit: boolean true/false).
- Use_AO_Volume_Filter (Default: false) - Enables or disables minimum histogram amplitude threshold checks within the AO filter (unit: boolean true/false).
- AO_Buy_Min (Default: 4.0) - Minimum positive AO histogram threshold required for bullish validation when amplitude filtering is active (unit: oscillator points).
- AO_Sell_Max (Default: -4.0) - Maximum negative AO histogram threshold required for bearish validation when amplitude filtering is active (unit: oscillator points).
- Use_AO_Color_Filter (Default: false) - Enables or disables bar-to-bar AO histogram directional slope confirmation (unit: boolean true/false).
- Use_AO_Zero_Filter (Default: false) - Enables or disables zero-line polarity and directional slope confirmation on the AO histogram (unit: boolean true/false).
Filter Module 8: Parabolic SAR Filter (Section Header: InpFilter8)
- Use_SAR_Filter (Default: false) - Enables or disables a secondary Parabolic SAR trend-confirmation filter with independent sensitivity parameters (unit: boolean true/false).
- SAR_Step (Default: 0.02) - Acceleration factor step increment for the secondary Parabolic SAR filter (unit: decimal factor).
- SAR_Maximum (Default: 0.2) - Maximum acceleration factor ceiling for the secondary Parabolic SAR filter (unit: decimal factor).
Filter Module 9: Heiken Ashi Filter (Section Header: InpFilter9)
- Use_HeikenAshi_Filter (Default: false) - Enables or disables smoothed Heiken Ashi candle body polarity confirmation (unit: boolean true/false).
Filter Module 10: CCI Trend Filter (Section Header: InpFilter10)
- Use_CCI_Filter (Default: false) - Enables or disables Commodity Channel Index zero-axis directional trend filtering (unit: boolean true/false).
- CCI_Period (Default: 50) - Lookback period for the trend-bias CCI calculation (unit: bars).
- CCI_Applied (Default: PRICE_CLOSE) - Applied candlestick price source for the trend-bias CCI calculation (unit: ENUM_APPLIED_PRICE enumeration).
Filter Module 11: CCI OB and OS Filter (Section Header: InpFilter11)
- Use_CCI_OBOS_Filter (Default: false) - Enables or disables Commodity Channel Index extreme momentum threshold filtering (unit: boolean true/false).
- CCI_OBOS_Period (Default: 14) - Lookback period for the overbought/oversold CCI calculation (unit: bars).
- CCI_OBOS_Applied (Default: PRICE_CLOSE) - Applied candlestick price source for the overbought/oversold CCI calculation (unit: ENUM_APPLIED_PRICE enumeration).
- CCI_Overbought (Default: 100.0) - Upper CCI threshold level required for bullish momentum confirmation (unit: CCI index points).
- CCI_Oversold (Default: -100.0) - Lower CCI threshold level required for bearish momentum confirmation (unit: CCI index points).
Filter Module 12: RVI Filters (Section Header: InpFilter12)
- Use_RVI_Filter (Default: false) - Enables or disables Relative Vigor Index main-line zero-level directional filtering (unit: boolean true/false).
- RVI_Period (Default: 75) - Lookback period for the RVI zero-level trend filter (unit: bars).
- Use_RVI_Signal_Filter (Default: false) - Enables or disables RVI main-line versus signal-line directional alignment filtering (unit: boolean true/false).
- RVI_Signal_Period (Default: 20) - Lookback period for the RVI main and signal line comparison (unit: bars).
Filter Module 13: MACD Filters (Section Header: InpFilter13)
- Use_MACD_Filter (Default: false) - Enables or disables Moving Average Convergence Divergence histogram polarity filtering (unit: boolean true/false).
- MACD_FastEMA (Default: 12) - Fast exponential moving average period for MACD calculation (unit: bars).
- MACD_SlowEMA (Default: 26) - Slow exponential moving average period for MACD calculation (unit: bars).
- MACD_SignalSMA (Default: 9) - Signal line simple moving average period for MACD calculation (unit: bars).
- MACD_Applied (Default: PRICE_CLOSE) - Applied candlestick price source for MACD calculation (unit: ENUM_APPLIED_PRICE enumeration).
- Use_MACD_Zero_Filter (Default: false) - Enables or disables MACD main-line zero-axis directional trend filtering (unit: boolean true/false).
Filter Module 14: SR and Fibonacci Filters (Section Header: InpFilter14)
- Use_SR_Filter (Default: false) - Enables or disables dynamic lookback Support and Resistance proximity zone validation (unit: boolean true/false).
- SR_Period (Default: 50) - Historical bar lookback window scanned to determine local Support and Resistance extremes (unit: bars).
- SR_Zone_Points (Default: 80) - Proximity tolerance band around detected Support or Resistance levels within which signal candles are validated (unit: broker points).
- Use_Fib_Filter (Default: false) - Enables or disables automatic swing-based Fibonacci retracement zone validation (unit: boolean true/false).
- Fib_Level_1 (Default: 0.382) - First Fibonacci retracement ratio boundary defining the active pullback zone (unit: decimal ratio).
- Fib_Level_2 (Default: 0.618) - Second Fibonacci retracement ratio boundary defining the active pullback zone (unit: decimal ratio).
- ZigZag_Depth (Default: 12) - Minimum bar depth parameter used to identify structural swing highs and lows for Fibonacci anchoring (unit: bars).
- ZigZag_Deviation (Default: 5) - Minimum price deviation threshold required to confirm a new swing pivot (unit: broker points).
- ZigZag_Backstep (Default: 3) - Minimum bar separation required between consecutive swing pivots (unit: bars).
Filter Module 15: Supertrend Filter (Section Header: InpFilter15)
- Use_Supertrend_Filter (Default: false) - Enables or disables ATR-based Supertrend directional regime filtering (unit: boolean true/false).
- ST_AtrPeriod (Default: 10) - Smoothed ATR lookback period used to compute Supertrend volatility bands (unit: bars).
- ST_Factor (Default: 3.0) - ATR band multiplier governing Supertrend trailing sensitivity (unit: ATR multiplier).
Risk Disclaimer
Trading foreign exchange, commodities, indices, and other leveraged financial instruments carries a high level of risk and may not be suitable for all investors. Past performance and historical signal behavior do not guarantee future results. This indicator is an analytical software utility designed solely to assist traders with technical chart analysis and does not constitute financial or investment advice, nor does it guarantee financial profit. Always test the indicator thoroughly on a demo account to understand its operational behavior and parameter interactions before applying it in a live trading environment.
