Learn how K, D, and J lines work together to show momentum shifts and reversal timing.
Educational content only — not financial advice. Trading involves risk.
The KDJ indicator (also known as the Stochastic Oscillator) is a momentum indicator that compares a security's closing price to its price range over a specific period. It consists of three lines: %K (fast line), %D (slow line), and %J (signal line). Originally developed by George Lane in the 1950s, KDJ helps identify overbought/oversold conditions and potential trend reversals with greater sensitivity than many other oscillators.
Visual: KDJ Indicator Structure & Components
Chart showing %K, %D, %J lines with price action
The Three Components:
Core Philosophy:
George Lane's observation: "Price closes near the highs in uptrends and near the lows in downtrends." KDJ measures this positioning within the recent range to gauge momentum strength.
Formula:
%K = [(Close - Lowest Low) ÷ (Highest High - Lowest Low)] × 100
Where:
Formula:
%D = 3-period SMA of %K
Interpretation:
Formula:
%J = (3 × %K) - (2 × %D)
Characteristics:
Visual: KDJ Calculation Step-by-Step
Animated showing how each component is derived
Visual Examples: KDJ Buy/Sell Signals
Multiple chart examples with marked signals
Chart: KDJ Reversal Signals at Extremes
Visual showing entries at 20/80 levels with crossovers
Buy Setup (Oversold):
Sell Setup (Overbought):
Important Rules:
The %J Warning:
When %J exceeds 100 or drops below 0, it signals extreme momentum. These are often excellent reversal points if combined with price action confirmation.
Chart: KDJ in Trending Markets
Visual showing KDJ staying overbought/oversold in trends
Uptrend Rules:
Downtrend Rules:
The 50-Level Rule:
In trending markets, the 50 level on KDJ acts as dynamic support (uptrend) or resistance (downtrend). Price often respects this level before continuing in trend direction.
Chart: KDJ Bullish/Bearish Divergence Examples
Visual showing divergence patterns with price action
Bullish Hidden Divergence
Bearish Hidden Divergence
Regular vs Hidden Divergence:
Regular Divergence signals potential trend reversal. Hidden Divergence signals trend continuation. Hidden divergences are often more reliable in trending markets.
Chart: KDJ on Multiple Timeframes
Visual showing daily, 4H, 1H KDJ alignment
The Alignment Method:
Crypto-Specific Settings:
High-Probability Buy Signal
High-Probability Sell Signal
Chart: KDJ + EMA Confluence Examples
1. High Volatility Benefits
Crypto's extreme volatility creates frequent and pronounced KDJ signals. The %J line often reaches extremes (>120 or <-20) that rarely occur in traditional markets, providing clear exhaustion signals.
2. 24/7 Market Signals
No market open/close gaps means smoother KDJ calculations and more reliable signals compared to traditional markets with overnight gaps.
3. Altcoin Momentum Detection
KDJ excels at identifying when altcoins are gaining/losing momentum relative to Bitcoin, helping time entries/exits during altcoin seasons.
Chart: Crypto-Optimized KDJ Settings Comparison
Visual showing different parameter performances
For Bitcoin (Lower Timeframes):
Period: 5, Smoothing: 3, D Period: 3 (more responsive to BTC's moves)
For Altcoins (High Volatility):
Period: 14, Smoothing: 5, D Period: 5 (smoother to filter noise)
For Swing Trading (4H-Daily):
Period: 21, Smoothing: 7, D Period: 7 (fewer but higher quality signals)
Adjust Overbought/Oversold:
For crypto trends: Use 85/15 instead of 80/20 (accounts for extended moves)
Mistake 1: Trading Against the Trend
Taking oversold buy signals in strong downtrends or overbought sell signals in strong uptrends. KDJ can stay in extremes during trends.
Mistake 2: No Confirmation
Entering trades solely on KDJ crossovers without price action or volume confirmation.
Mistake 3: Ignoring %J Line
Only watching %K and %D while ignoring the most sensitive %J line, which often provides early warnings.
Mistake 4: Wrong Timeframe Settings
Using 5-period KDJ for swing trading or 21-period KDJ for scalping. Match settings to trading style.
Chart: Proper KDJ Usage Examples
Visual showing filtered, confirmed signals
Practice 1: Use %J as Early Warning
When %J reaches extremes (>110 or <-10), prepare for potential reversal. Enter only when %K and %D confirm.
Practice 2: Wait for Pullback in Trends
In trending markets, wait for KDJ to pull back to 40-60 zone before entering in trend direction.
Practice 3: Combine with Price Action
Only enter KDJ signals that align with candlestick patterns (pin bars, engulfing, doji at S/R).
Practice 4: Adjust for Market Conditions
Use faster settings (5,3,3) in ranging markets, slower settings (14,3,3) in trending markets.
| Signal | KDJ Condition | Interpretation | Action |
|---|---|---|---|
| Oversold | %K & %D < 20 | Potential bullish reversal | ⚠️ Look for buy after %K > %D cross |
| Overbought | %K & %D > 80 | Potential bearish reversal | ⚠️ Look for sell after %K < %D cross |
| Bullish Cross | %K crosses above %D | Momentum turning bullish | ✅ Consider long with confirmation |
| Bearish Cross | %K crosses below %D | Momentum turning bearish | ✅ Consider short with confirmation |
| %J Extreme High | %J > 100 | Extreme bullish momentum, exhaustion possible | 🎯 Prepare for potential reversal |
| %J Extreme Low | %J < 0 | Extreme bearish momentum, exhaustion possible | 🎯 Prepare for potential reversal |
| Bullish Divergence | Price lower low, KDJ higher low | Momentum shift upward | ✅ Strong buy with confirmation |
| Bearish Divergence | Price higher high, KDJ lower high | Momentum shift downward | ✅ Strong sell with confirmation |
Default Settings
Period: 9, Smoothing: 3, D Period: 3
Best Use
Momentum & overbought/oversold detection
Crypto Strength
Excellent for crypto's high momentum moves
"KDJ measures where price closes within its recent range. In uptrends, it closes near highs; in downtrends, near lows. Your job is to identify when this pattern is about to change." - Adapted from George Lane