Divergent Stochastic Filter II
- 지표
- Ebrah Ssali
- 버전: 2.10
- 활성화: 5
Divergent Stochastic Filter II
Catch Reversals Early, Filter Noise, Trade with Confidence
The Edge: Why This Stochastic is Different
Every trader knows the Stochastic oscillator. But knowing when to trust its signals, that's the real challenge. The Divergent Stochastic Filter II transforms this classic indicator into a precision reversal detection system by adding critical elements: divergence intelligence, signal filtering and exhaustion detection.
While standard Stochastic oscillators fire signals everywhere, leaving you guessing which ones matter, this indicator mathematically identifies when price and momentum disagree, and that's where the biggest moves begin particularly in exhaustion OverBought/OverSold regions/levels it intuitively alerts user about in a timely manner.
What Makes This Indicator Unique?
| Standard Stochastic | Divergent Stochastic Filter II |
|---|---|
| 100+ signals, 90% noise | Intelligent filtering - only high-probability setups |
| No divergence detection | 4 divergence types - regular AND hidden |
| Repaints on recalculation | Non-repainting - signals persist |
| Arrow spam in overbought/oversold | Intelligent arrow filter - prevents overtrading |
| Manual analysis required | EA-ready buffers - automate your edge |
The Questions Every Trader Asks Answered Instantly
1. "What's the trend structure?"
The %K and %D lines create an instant visual hierarchy:
- %K above %D and rising: Bullish momentum
- %K below %D and falling: Bearish momentum
- Mid-level (50): The battle line between bulls and bears
The optional Mid-Level Filter ensures you only trade WITH the dominant trend, buy signals only below 50, sell signals only above 50.
2. "Where's the best entry?"
Six arrow types guide every decision:
Primary Entries (Crossover Signals):
- SkyBlue Arrows: %K crosses ABOVE %D - BUY signal
- Magenta Arrows: %K crosses BELOW %D - SELL signal
High-Conviction Entries (Divergence Signals):
- Lime Arrows: REGULAR BULLISH DIVERGENCE - Price makes LOWER low, Stoch makes HIGHER low → STRONG reversal UP
- Orange Arrows: REGULAR BEARISH DIVERGENCE - Price makes HIGHER high, Stoch makes LOWER high → STRONG reversal DOWN
Trend Continuation Entries (Hidden Divergence):
- Green Arrows: HIDDEN BULLISH DIVERGENCE - Price makes HIGHER low, Stoch makes LOWER low → Pullback within uptrend
- Red Arrows: HIDDEN BEARISH DIVERGENCE - Price makes LOWER high, Stoch makes HIGHER high → Pullback within downtrend
Exhaustion Signals (Level Arrows):
- Magenta Arrows: Overbought zone (>80) - warning of potential reversal
- SkyBlue Arrows: Oversold zone (<20) - warning of potential reversal
3. "How strong is the signal?"
Signal strength is determined by confluence, the more arrows align, the higher the probability:
| Confluence Level | Signal Strength | Action |
|---|---|---|
| Crossover + Regular Divergence | TIER 1 - MAXIMUM | Full position, tight stop |
| Crossover + Hidden Divergence | TIER 2 - HIGH | Enter with trend |
| Crossover + Mid-Level Filter | TIER 3 - GOOD | Standard momentum trade |
| Divergence alone | TIER 4 - WATCH | Prepare, wait for crossover |
| Level arrow alone | TIER 5 - CAUTION | Potential reversal forming |
4. "What are my risks?"
Three automatic warning systems:
1. Overbought Level (80) : Market extended upward - avoid buying, prepare for potential sell signals
2. Oversold Level (20) : Market extended downward - avoid selling, prepare for potential buy signals
3. Exhaustion Arrow Filter: Reduces false signals during prolonged extremes
5. "What should I do NOW?"
The indicator tells you exactly what to do:
- BUY NOW: SkyBlue arrow + Bullish divergence + Price below mid-level (even better with OverSold arrow indicating exhaustion)
- SELL NOW: Magenta arrow + Bearish divergence + Price above mid-level (even better with OverBought arrow indicating exhaustion)
- WAIT: Divergence forming but no crossover yet
- ⚠️ CAUTION: In overbought/oversold zone with no divergence
Signal Hierarchy: Confidence in Confluence
TIER 1: The "Golden Setup" (Maximum Confidence)
Regular Divergence + Crossover Signal + Mid-Level Filter
- Price made extreme, Stoch disagreed
- Crossover confirms momentum shift
- Enter immediately
- Success Rate: Highest
TIER 2: The Trend Continuation Setup (High Confidence)
Hidden Divergence + Crossover Signal + Mid-Level Filter
- Pullback within established trend
- Hidden divergence confirms trend strength
- Enter with trend direction
- Success Rate: Very High
TIER 3: The Momentum Setup (Good Confidence)
Crossover Signal + Mid-Level Filter
- Pure momentum play
- Faster entries, faster exits
- Best for shorter timeframes
- Success Rate: Good
TIER 4: The Watch Setup (Prepare)
Divergence Forming + Price at Level
- Warning of potential reversal
- Wait for crossover confirmation
- Do NOT enter without confirmation
- Success Rate: Monitor only
Risk Management Built-In
Intelligent Arrow Filters - No More Overtrading
The biggest problem with traditional Stochastic oscillators? They fire overbought/oversold arrows on every single bar in extreme zones, leading to overtrading and losses.
The Divergent Stochastic Filter II solves this with an optional intelligent filters:
How it works:
- After an oversold arrow appears, no new oversold arrow appears until a buy signal occurs
- After an overbought arrow appears, no new overbought arrow appears until a sell signal occurs
- This prevents "arrow spam" during prolonged extremes (Prevents overtrading in extreme zones)
- Mid-Level Filter enables 'Trend is your Friend' trading. Trade WITH trend, higher win rate
- Filter can be disabled if you prefer the traditional behaviour
Strategic Stop-Loss Placement
For Bullish Setups:
- Place stop below the recent swing low that triggered the divergence
- If no divergence, place stop below recent pivot low
For Bearish Setups:
- Place stop above the recent swing high that triggered the divergence
- If no divergence, place stop above recent pivot high
Trailing Stops:
- Follow the %D line for trend-following trades
- Exit when %K crosses %D in opposite direction
Take-Profit Targeting
Primary Targets:
- Level 1: Opposite extreme level (80 for shorts, 20 for longs)
- Level 2: Mid-level (50) for counter-trend moves
- Level 3: Trail with %D line break
Divergence Exits:
- Exit long when bearish divergence forms
- Exit short when bullish divergence forms
Position Sizing Guide
| Signal Tier | Position Size | Risk Per Trade |
|---|---|---|
| TIER 1 | Full (100%) | 1-2% |
| TIER 2 | 75% | 1% |
| TIER 3 | 50% | 0.5-1% |
| TIER 4 | 0% (Watch only) | NA |
EA-Ready Architecture
For algorithmic traders, this indicator is a dream:
Accessible Buffers:
Buffer 0: Buy Arrows (UpArrowBuffer)
Buffer 1: Sell Arrows (DownArrowBuffer)
Buffer 2: Main Line (%K)
Buffer 3: Signal Line (%D)
Buffer 4: Bullish Divergence Arrows
Buffer 5: Bearish Divergence Arrows
Buffer 6: Hidden Bullish Divergence Arrows
Buffer 7: Hidden Bearish Divergence Arrows
Buffer 8: Price High (for divergence reference)
Buffer 9: Price Low (for divergence reference)
Buffer 10: Overbought Exhaustion Arrows
Buffer 11: Oversold Exhaustion Arrows
Sophisticated Divergence Detection:
The indicator doesn't just find any divergence, it mathematically validates each one:
- Regular Bullish: Price makes lower low, Stoch makes higher low → Reversal up
- Regular Bearish: Price makes higher high, Stoch makes lower high → Reversal down
- Hidden Bullish: Price makes higher low, Stoch makes lower low → Trend continuation up
- Hidden Bearish: Price makes lower high, Stoch makes higher high → Trend continuation down
Each divergence is validated with:
- Minimum separation between peaks/troughs
- Significance checks (near overbought/oversold levels)
- Magnitude thresholds to filter noise
Zero-Lag Automation:
- Real-time buffer updates on every tick
- No recalculation needed, signals appear instantly
- Perfect for expert advisors, scanners, and alert systems
Minimal Configuration, Maximum Impact
Despite its sophistication, setup is refreshingly simple:
K_Period: 5 (default - optimized)
D_Period: 3 (default)
Slowing: 3 (default)
Overbought: 80 (customizable)
Oversold: 20 (customizable)
MidLevelFilter: ON (recommended - trades WITH trend)
Enable_Arrow_Filter: ON (prevents overtrading, filters Oversold/Bought Exhaustion Arrows to recur only after a different arrow type)
Alert_Delay: 10 minutes (prevents alert spam)
That's it. The indicator handles the complex divergence detection internally.
Optimal Performance Through Intelligent Resource Management
We've engineered this indicator for speed:
- Efficient buffer management: Only processes necessary bars
- Smart recalculation: Only new bars processed on each tick
- Auto-delete old trend lines: Prevents chart clutter (configurable age limit)
- Limited object creation: Prevents performance degradation
Result? Smooth performance even on lower-end systems or multiple charts.
Visual Intelligence
The interface isn't just pretty, it's informational:
- %K Line: SkyBlue - shows current momentum
- %D Line: Magenta - crossover signals at a glance
- Colored Divergence Lines: Drawn on BOTH price and indicator windows for slope comparison
- Level Lines: Magenta (80), Gold (50), SkyBlue (20) - complete risk spectrum
- Exhaustion Arrows: Magenta (overbought), SkyBlue (oversold) - warning signals distinguished by different arrow type
🔔 Alert System: Never Miss a Trade
Four alert categories, fully customizable:
1. Crossover Alerts: %K crosses %D
2. Level Alerts: Overbought (80), Oversold (20)
3. Divergence Alerts: All four divergence types
4. Filter Status: When filter prevents an arrow (educational)
Configurable cooldown prevents alert fatigue while keeping you informed.
Still Have Questions?
"Will this work on any timeframe?"
Absolutely. The Stochastic oscillator works on all timeframes and all liquid markets such as forex, crypto, stocks, indices, commodities.
"Is it repainting?"
NO. Once a signal appears, it remains. Back test with confidence.
"Can I use this for automated trading?"
YES. All 12 buffers are accessible for EA development, including divergence signals.
"How much configuration do I need?"
Minimal. The default settings work beautifully on most instruments.
"What if I don't want the arrow filters?"
Simply set `Enable_Arrow_Filter = false` for traditional behaviour.
The Bottom Line
Most Stochastic indicators are noisy, lagging, and untrustworthy. They fire signals everywhere, leaving you to guess which ones matter. The Divergent Stochastic Filter II transforms this classic oscillator into a precision instrument by adding:
- Divergence intelligence to catch reversals early
- Intelligent filtering to eliminate noise
- Visual clarity with dual trend lines
- Actionable signals with clear hierarchy
You're not just buying an indicator, you're buying:
- Clarity in chaotic markets
- Confidence in your entries
- Control over your risk
- Consistency in your results
Why Choose This Over Other Stochastic Indicators?
Your Trading Journey Transformed
| Before | After |
|---|---|
|
- Overtrading in extreme zones - Inconsistent results | - Only high-probability setups - Early reversal detection - Filtered, quality signals (ntelligent overtrading prevention) - Repeatable edge |
The Trader's Edge
The Stochastic oscillator tells you where price has been. Divergence tells you where price is going. Combine them, and you have an unfair advantage.
Keywords
Stochastic oscillator, divergence indicator, MT5 indicator, trading system, reversal signals, hidden divergence, regular divergence, overbought oversold, mid-level filter, arrow filter, algorithmic trading, EA compatible, MQL5, forex indicator, crypto trading, stock indicator, automated trading, price action, technical analysis, trading edge, risk management, stop loss placement, take profit levels, multi-timeframe analysis, trend following, mean reversion, professional trading tool, non-repainting indicator.
Don't Just Follow the Stochastic, Understand Its Divergences and Exhaustion points. Transform Your Trading Today.
