SFI – Swing Failure Index
Page contents
What Makes SFI Unique?
The Swing Failure Index stands out from other momentum indicators by:
- Dual Momentum Analysis: Separately tracks momentum for both highs and lows
- Relative Strength Assessment: Compares current momentum against historical averages
- Failure Detection: Identifies when momentum is “failing” relative to recent performance
- Trend Reversal Focus: Specifically designed to catch momentum shifts before major trend changes
How SFI Works
Core Concept
The SFI operates on the principle that trend reversals often begin with momentum failures before they become apparent in price action. By tracking the rate of change in both highs and lows over a specified period and comparing these to their recent averages, the indicator can identify when momentum is beginning to deteriorate.
Mathematical Foundation
The calculation involves four key steps:
- Current Momentum Calculation:
- High Momentum = ((Current High – Previous High[Period]) / Previous High[Period]) × 100
- Low Momentum = ((Current Low – Previous Low[Period]) / Previous Low[Period]) × 100
- Average Momentum Calculation:
- Average High Momentum = Sum of High Momentum values over Period / Period
- Average Low Momentum = Sum of Low Momentum values over Period / Period
- Failure Detection:
- High Failure = Current High Momentum – Average High Momentum
- Low Failure = Current Low Momentum – Average Low Momentum
- SFI Value:
- SFI = (High Failure – Low Failure) / 2
- Applied with smoothing: SFI = 0.7 × Current SFI + 0.3 × Previous SFI
Indicator Parameters
Period (Default: 14)
- Range: 5 to 1000
- Recommended Settings: 14, 20, 30, 50
- Effect: Shorter periods provide more sensitive signals but may generate more false signals. Longer periods provide smoother signals but may lag trend changes.
Preset Configurations
The indicator comes with optimized parameter sets:
- Short-term Trading: Period = 14
- Medium-term Analysis: Period = 20, 30
- Long-term Perspective: Period = 50
Signal Interpretation
Reading SFI Values
Positive Values (+):
- Indicate upward momentum strength
- Suggest highs are outperforming their average while lows are underperforming
- Potential bullish conditions
Negative Values (-):
- Indicate downward momentum strength
- Suggest lows are outperforming their average while highs are underperforming
- Potential bearish conditions
Near Zero Values:
- Indicate momentum equilibrium
- Suggest consolidation or indecision in the market
Trading Signals
Bullish Signals
- SFI crosses above zero: Momentum shifting to the upside
- Rising SFI from negative territory: Downward momentum weakening
- SFI making higher lows: Building bullish momentum
Bearish Signals
- SFI crosses below zero: Momentum shifting to the downside
- Falling SFI from positive territory: Upward momentum weakening
- SFI making lower highs: Building bearish momentum
Divergence Signals
- Bullish Divergence: Price makes lower lows while SFI makes higher lows
- Bearish Divergence: Price makes higher highs while SFI makes lower highs
Practical Trading Applications
1. Trend Reversal Detection
Use SFI crossovers of the zero line to identify potential trend changes:
- Long Entry: SFI crosses above 0 with confirmation from price action
- Short Entry: SFI crosses below 0 with confirmation from price action
2. Momentum Confirmation
Combine SFI with trend-following indicators:
- Trend Continuation: SFI remains positive during uptrends, negative during downtrends
- Momentum Weakening: SFI approaching zero warns of potential trend exhaustion
3. Overbought/Oversold Conditions
While SFI ranges from -100 to +100, extreme readings can indicate:
- Extreme Positive Values (>50): Potentially overbought conditions
- Extreme Negative Values (<-50): Potentially oversold conditions
Best Practices
Timeframe Considerations
- Intraday Trading: Use Period = 14 for more responsive signals
- Daily Charts: Period = 20 or 30 for balanced sensitivity and reliability
- Weekly Charts: Period = 50 for longer-term trend analysis
Confirmation Techniques
Always combine SFI signals with:
- Price Action: Support/resistance levels, candlestick patterns
- Volume: Confirm momentum shifts with volume spikes
- Other Indicators: Moving averages, RSI, or MACD for additional confirmation
Risk Management
- Stop Losses: Place stops beyond recent swing points
- Position Sizing: Reduce size when SFI signals are weak or conflicting
- Market Context: Consider overall market conditions and volatility
Common Pitfalls to Avoid
- Over-reliance on Zero-line Crossovers: Not all crossovers lead to significant moves
- Ignoring Market Context: SFI works best in trending markets, may whipsaw in sideways markets
- Inadequate Confirmation: Always seek additional confirmation before entering trades
- Wrong Timeframe: Match the Period setting to your trading timeframe and strategy
Advanced Techniques
Multi-Timeframe Analysis
- Use higher timeframe SFI for trend direction
- Use lower timeframe SFI for precise entry timing
SFI Divergence Patterns
- Monitor for divergences between SFI and price over multiple swings
- Combine with other momentum divergences for stronger signals
Volatility Adjustments
- Consider increasing Period during high volatility periods
- Reduce Period during low volatility for more sensitive signals
Conclusion
The Swing Failure Index offers traders a unique perspective on market momentum by focusing on the relative performance of price swings. Its ability to detect momentum failures before they become apparent in price action makes it a valuable tool for identifying potential trend reversals.
Like all technical indicators, SFI should not be used in isolation but rather as part of a comprehensive trading strategy that includes proper risk management, confirmation techniques, and an understanding of market context. When used correctly, the SFI can provide early warning signals of trend changes and help traders position themselves ahead of significant market moves.
Remember that successful trading requires practice and experience. Start by backtesting the SFI on historical data and paper trading before implementing it with real capital. The indicator’s effectiveness may vary across different markets and timeframes, so it’s important to find the parameter settings and confirmation techniques that work best for your specific trading style and market focus.
Indicator Availability:
This indicator is implemented for MT4, MT5, TradeStation, and MultiCharts.
Using Custom Blocks for Conditions:
You can easily define your own conditions in StrategyQuant X using Custom Blocks. This allows you to set up parameters such as periods or steps to fine-tune the indicator to your strategy. For more detailed information, refer to the following resources:
Importing Custom Indicators into SQX:
To import custom indicators into StrategyQuant X, follow the step-by-step instructions provided here:
Import & Export Custom Indicators and Other Snippets
Very interesting!! Thank you