WilliamsR Overview
Williams %R measures where the current close sits relative to the highest high over n periods, on a -100 to 0 scale. It’s essentially an inverted Stochastic Oscillator — values near 0 indicate overbought (close near high), values near -100 indicate oversold (close near low).
Williams %R is faster and more sensitive than Stochastic because it has no smoothing — it reports raw position within the range, making it useful for quick reversal detection.
How Williams %R Works
Section titled “How Williams %R Works”Core Concept
Section titled “Core Concept”- Calculate WilliamsR value from the input price/volume data
- Apply smoothing if applicable
- Compare to threshold or signal line for signal generation
- Interpret: Signals indicate momentum direction or extremes
Key Characteristics:
- Momentum Indicator = Measures momentum direction and strength
- Signal Line Available = Yes
- Bounded = Yes (-100 – 0)
Visual Interpretation
Section titled “Visual Interpretation”WilliamsR Behavior:
- Overbought — potential reversal
- Oversold — potential reversal
- Signal line crossovers provide timing signals
Trading Signals Available on Reversion
Section titled “Trading Signals Available on Reversion”These are the signal names you select when configuring WilliamsR in the algorithm builder or via the MCP agent:
| Signal | Triggers When | Typical Use |
|---|---|---|
williamsR_above_threshold | Williams %R rises above threshold (e.g., -20) | Overbought — potential reversal |
williamsR_below_threshold | Williams %R falls below threshold (e.g., -80) | Oversold — potential reversal |
williamsR_above_signalLine | Williams %R crosses above signal line | Momentum improving |
williamsR_below_signalLine | Williams %R crosses below signal line | Momentum declining |
Display: Separate pane
Category: Momentum
Threshold range: -100 – 0
Key Characteristics
Section titled “Key Characteristics”What Williams %R Does Well:
- Clear Overbought/Oversold Signals
- Combines well with trend filters
- Signal line crossovers signals for entry timing
What to Watch Out For:
- Lagging: Smoothing introduces delay
- Context needed: Combine with trend indicators for direction
When to Use Williams %R:
- Mean Reversion Strategies: Trade WilliamsR extremes/crossovers with trend confirmation
- Filter for Other Indicators: Use as confirmation alongside price-based signals
When NOT to Use Williams %R:
- Standalone System: Always combine with trend context
- Ignoring Market Regime: Different behavior in trends vs ranges