Extremum Filter
- Indicatori
- Versione: 7.99
- Attivazioni: 5
Extremum Filter Pro (Evolution of 3-Level ZZ Semafor)
Extremum Filter Pro is not just another arrow indicator—it is a deep modernization and evolution of the legendary 3_Level_ZZ_Semafor algorithm. We took the strongest concept of multi-level market extremum detection and transformed it into a professional trading system by adding multi-timeframe trend filters, closed-bar Price Action confirmation, smart RSI divergence detection, and an interactive control panel right on the chart.
The original 3_Level_ZZ_Semafor is a great mathematical concept, but in its raw form it is a notorious "account killer" due to its habit of endlessly repainting signals as price continues moving. In Extremum Filter Pro, we solved the core pain points of traders and turned raw math into a complete, strictly non-repainting trading system:
Key Features
-
100% Causal Non-Repainting Core: Unlike classic ZigZag-based indicators that erase historical arrows when price makes a new high or low, all extremum levels, Price Action patterns, RSI divergences, and higher-timeframe EMA values are calculated strictly on closed bars with zero lookahead. Once a signal arrow prints, it never disappears or shifts upon chart refresh—history matches Strategy Tester and live trading bar-for-bar.
-
Three-Level Extremum Confluence: Tracks multi-scale turning points (Depth 1 / Depth 2 / Depth 3 ) and separates them into standard (x2 ) and high-confluence (x3 ) signals.
-
Interactive On-Chart Control Panel: Toggle x2 signal visibility, cycle the higher-timeframe EMA (TF ), and adjust the EMA period (- / + or direct keyboard input) directly on the chart without opening indicator settings.
-
Persistent Per-Chart Panel State: Your on-chart selections (x2 , EMA timeframe, and EMA period) are automatically saved for the current chart window and do not reset when switching timeframes or symbols.
-
Closed-Bar Price Action Confirmation: Validates extrema using strict candlestick rules (Pin Bar, Engulfing, and Extremum Candle Breakout).
-
MTF Trend & Flat Filtering: Combines a closed-bar higher-timeframe EMA (checking both price position and slope) with an ADX filter to separate trend-following setups from counter-trend and flat-market noise.
-
Smart RSI Divergence Scanner: Automatically marks bullish and bearish divergences directly on valid extrema.
-
EA-Ready Architecture: All signal arrows, divergence markers, and the MTF EMA line are exposed via dedicated indicator buffers for straightforward iCustom integration.
Signal Guide
-
Large Lime / Red Arrows ( x3 ): Strongest trend-following signals where all 3 extremum levels coincide with MTF EMA trend, ADX momentum, and Price Action confirmation. Always active.
-
Medium Blue / Pink Arrows ( x2 ): Secondary trend-following signals where 2 extremum levels coincide. Can be toggled on or off anytime via the on-chart x2 button without affecting internal wave logic.
-
Small Gray Arrows (Counter-Trend / Flat): Valid Price Action extrema formed against the higher-timeframe EMA trend, during trend transition zones, or when ADX is below the minimum threshold. Useful for partial profit-taking or spotting momentum exhaustion. Can be dimmed (TREND_DIM ) or completely hidden (TREND_HIDE ).
-
Yellow Dots (RSI Divergence): Indicate bullish or bearish RSI divergence at the signal bar (displayed on both trend and counter-trend arrows). Can be made mandatory via RequireDiv .
-
Dotted Blue Line: Optional visual plot of the active MTF Trend EMA (ShowTrendEMA ).
On-Chart Control Bar
Located in the bottom-left corner of the chart:
-
x2: ON / OFF — Shows or hides x2 arrows on the fly.
-
TF: ... — Cycles the trend EMA timeframe from the current chart timeframe upwards (M1 to W1 ).
-
- / [Period] / + — Adjusts the EMA period using EMA_Step , or click the box to type any exact period (5–1000) and press Enter.
Input Parameters
-
Extremum Depth Levels: InpDepth1 (5), InpDepth2 (13), InpDepth3 (34) — lookback periods for the three causal extremum tiers.
-
Signal Display Rules:
-
ShowLevel2Start — initial state of the x2 button.
-
OneSignalPerSwing — limits signals to one per directional wave (a stronger x3 signal can still print after an x2 ).
-
MatchTolerance — causal lookback tolerance (in bars) for matching extremum levels.
-
-
Indicator Widths: Individual arrow thickness controls for x3 , x2 , Divergence dots, and Counter-trend arrows.
-
Trend Filter (EMA): TrendMode (TREND_OFF , TREND_HIDE , TREND_DIM ), TrendTF , TrendEMA , TrendSlopeBars , ShowTrendEMA , and EMA_Step .
-
Flat Filter (ADX): UseADXFilter , ADX_Period , ADX_MinLevel .
-
Price Action Confirmation: UsePriceAction — enables/disables Pin Bar, Engulfing, and Breakout validation.
-
RSI Divergence: UseRSI_Div , RequireDiv , RSI_Period , DivLookback , DivMinGap .
-
Alerts: Separate toggles for x3 , x2 , and Counter-trend signals (AlertOnLevel3 , AlertOnLevel2 , AlertOnCounter ), plus Popup, Sound, and Push notification options.
-
Other: MaxBars — maximum historical bars processed for optimal terminal performance.
Usage Recommendations
-
Works on all symbols (Forex, Metals/XAUUSD, Indices, Crypto) and timeframes from M1 to D1 .
-
Use the on-chart TF and EMA period controls to align the trend filter with your preferred trading horizon (for example, H1 EMA on M5 –M15 charts, or H4 /D1 EMA on H1 charts).
-
Combine x3 signals with yellow RSI divergence dots for higher-conviction setups, and use gray counter-trend arrows as early exit or partial take-profit cues.
Disclaimer: Technical indicators are analytical tools and do not guarantee future profits. Always test settings on a demo account and apply proper risk management.
