Know Sure Thing
systemic:core-kstIndicatorsInputs
| Name | Type | Description |
|---|---|---|
| Long Rate Of Change | Whole number | The number of bars to look back for the **longest-term** Rate of Change. |
| Short Rate Of Change | Whole number | The number of bars to look back for the **shortest-term** Rate of Change. |
| Medium Short Rate Of Change | Whole number | The number of bars to look back for the **medium short-term** Rate of Change. |
| Medium Long Rate Of Change | Whole number | The number of bars to look back for the **medium long-term** Rate of Change. |
| Short Window | Whole number | The number of bars in the Simple Moving Average that **smooths** the Short Rate of Change (ROC₁). |
| Medium Short Window | Whole number | The number of bars in the Simple Moving Average that **smooths** the Medium Short Rate of Change (ROC₂). |
| Medium Long Window | Whole number | The number of bars in the Simple Moving Average that **smooths** the Medium Long Rate of Change (ROC₃). |
| Long Window | Whole number | The number of bars in the Simple Moving Average that **smooths** the Long Rate of Change (ROC₄). |
| Signal Period | Whole number | The number of bars used to calculate the **Signal Line** (a Simple Moving Average of the KST). |
| Price Data | Number series | The price series used to calculate momentum over four lookback lengths. |
Outputs
| Name | Type | Description |
|---|---|---|
| KST | Number series | The main output: the weighted sum of four smoothed Rate of Change values. |
| Signal Line | Number series | A smoothed version of the KST: its Simple Moving Average over the Signal Period. |
| Difference | Number series | The KST value minus its Signal Line. |
Cost
0.213 + 0.0174·n credits for n bars, rounded up. The marks are each plan's limit of bars.
Overview
The Know Sure Thing (KST) is a momentum oscillator developed by Martin Pring and first published in 1992 in Stocks & Commodities magazine. Originally called the "Summed Rate of Change," the KST was designed to solve a fundamental problem in technical analysis: how to capture momentum across multiple time horizons in a single, actionable indicator.
Simple momentum indicators look at one lookback window. The KST combines four Rate of Change (ROC) calculations, from short-term to long-term cycles. It gives more weight to longer-term momentum. The result is a smoothed view of momentum that is less sensitive to noise but still reacts to real trend changes.
Key Insight: The KST oscillates above and below zero. Positive values indicate bullish momentum; negative values indicate bearish momentum. The magnitude reflects the strength of that momentum.
The Formula
The KST calculation proceeds in three stages:
Stage 1: Calculate Four Rate of Change Values
The Rate of Change measures the percentage change in price over a given number of bars:
Stage 2: Smooth Each ROC with a Simple Moving Average
Each ROC is smoothed using a Simple Moving Average (SMA) to reduce noise:
Stage 3: Weight and Sum the Smoothed Values
The four smoothed ROC values are combined with fixed weights:
The Signal Line is an SMA of the KST over the Signal Period (classically 9 bars):
The Difference output is the KST minus its Signal Line:
Multi-Timeframe Architecture
The KST measures momentum in layers. This diagram shows how the price data flows through the calculation:
flowchart TB
subgraph INPUT["📊 Price Data"]
P[Close Prices]
end
subgraph ROC["⚡ Rate of Change Calculations"]
direction LR
ROC1["ROC₁<br/>Short Period"]
ROC2["ROC₂<br/>Mid-Short Period"]
ROC3["ROC₃<br/>Mid-Long Period"]
ROC4["ROC₄<br/>Long Period"]
end
subgraph SMA["📉 SMA Smoothing"]
direction LR
SMA1["SMA₁"]
SMA2["SMA₂"]
SMA3["SMA₃"]
SMA4["SMA₄"]
end
subgraph WEIGHT["⚖️ Weighting"]
direction LR
W1["×1"]
W2["×2"]
W3["×3"]
W4["×4"]
end
subgraph OUTPUT["📈 Outputs"]
KST["KST Value"]
SIG["Signal Line<br/>SMA of KST"]
DIFF["Difference<br/>KST − Signal"]
end
P --> ROC1 & ROC2 & ROC3 & ROC4
ROC1 --> SMA1 --> W1
ROC2 --> SMA2 --> W2
ROC3 --> SMA3 --> W3
ROC4 --> SMA4 --> W4
W1 & W2 & W3 & W4 --> KST
KST --> SIG --> DIFF
KST --> DIFF
Why Multiple Timeframes?
Financial markets move in cycles of different lengths:
| Timeframe | Typical Cycle | KST Component | Weight |
|---|---|---|---|
| Short-term | Days to weeks | ROC₁ (10 bars) | 1 (10%) |
| Mid-short | Weeks to months | ROC₂ (15 bars) | 2 (20%) |
| Mid-long | Months | ROC₃ (20 bars) | 3 (30%) |
| Long-term | Months to quarters | ROC₄ (30 bars) | 4 (40%) |
The weights (1, 2, 3, 4) give longer-term momentum the greatest influence on the KST value. Longer-term momentum tends to be more reliable for identifying major trends.
Classic Parameters
The module has no built-in defaults: you set every value. The classic KST settings, as specified by Martin Pring, use the notation:
KST(10, 15, 20, 30, 10, 10, 10, 15, 9)
| Parameter | Description | Classic value |
|---|---|---|
| Short Rate Of Change | Short-term ROC lookback | 10 |
| Medium Short Rate Of Change | Mid-short-term ROC lookback | 15 |
| Medium Long Rate Of Change | Mid-long-term ROC lookback | 20 |
| Long Rate Of Change | Long-term ROC lookback | 30 |
| Short Window | SMA window for ROC₁ | 10 |
| Medium Short Window | SMA window for ROC₂ | 10 |
| Medium Long Window | SMA window for ROC₃ | 10 |
| Long Window | SMA window for ROC₄ | 15 |
| Signal Period | SMA window for the Signal Line | 9 |
Timeframe-Specific Settings
Martin Pring recommends different settings for different horizons:
| Analysis Type | Data | Settings |
|---|---|---|
| Short-term | Daily | (10, 15, 20, 30, 10, 10, 10, 15, 9) |
| Medium-term | Weekly | (10, 13, 15, 20, 10, 13, 15, 20, 9) |
| Long-term | Monthly | (9, 12, 18, 24, 6, 6, 6, 9, 9) |
Interpreting KST Signals
1. Centerline Crossovers
The zero line acts as a momentum boundary:
| Condition | Interpretation |
|---|---|
| KST > 0 | Bullish momentum dominates |
| KST < 0 | Bearish momentum dominates |
| KST crosses above 0 | Potential bullish trend beginning |
| KST crosses below 0 | Potential bearish trend beginning |
2. Signal Line Crossovers
The most commonly used signals:
flowchart LR
subgraph BULL["🟢 Bullish Signal"]
B1["KST crosses<br/>ABOVE Signal Line"]
B2["Consider buying<br/>or holding long"]
end
subgraph BEAR["🔴 Bearish Signal"]
C1["KST crosses<br/>BELOW Signal Line"]
C2["Consider selling<br/>or holding short"]
end
B1 --> B2
C1 --> C2
Stronger signals occur when:
- Bullish crossover happens below zero (momentum reversing from bearish to bullish)
- Bearish crossover happens above zero (momentum reversing from bullish to bearish)
3. Divergences
Divergences between price and KST can signal potential reversals:
| Type | Price Action | KST Action | Implication |
|---|---|---|---|
| Bullish Divergence | Lower lows | Higher lows | Downtrend may be weakening |
| Bearish Divergence | Higher highs | Lower highs | Uptrend may be weakening |
Caution: Confirm divergences with other signals. KST divergences, like those in MACD or RSI, can last a long time before price reverses, or may not lead to a reversal at all.
Practical Applications
Trend Confirmation Strategy
The KST is good at confirming whether momentum supports a price trend:
- Identify the trend using price action or moving averages
- Confirm with KST: Ensure KST is positive (uptrend) or negative (downtrend)
- Use signal line crossovers to time entries in the direction of the trend
- Avoid counter-trend trades when KST strongly supports the opposite direction
Multi-Asset Momentum Comparison
The KST is built from percentage changes, so it can be used to compare momentum across assets. An asset with a higher KST value may have stronger bullish momentum than one with a lower value. This can help with asset selection.
Cycle Analysis
The KST combines several horizons, which makes it useful for studying market cycles. Looking at which ROC components contribute most to the KST value shows which cycle lengths dominate:
- If short-term ROC is high but long-term is low: Short-term rally within a longer downtrend
- If long-term ROC is high: Established trend with strong foundational momentum
Edge Cases and Considerations
Behavior in Strong Trends
During strong, persistent trends, the KST may:
- Remain positive (or negative) for extended periods without crossing zero
- Generate signal line crossovers that suggest momentum is slowing, not reversing
A signal line crossover in a strong trend often means a pause or consolidation, not a true reversal. In these conditions, trend-following logic works better than counter-trend trades.
Data Requirements
The KST needs enough history for all four ROC values and their SMAs. The first KST value appears on bar:
With the classic settings: . Bars 1 to 44 are empty and the first KST value is on bar 45. The Signal Line needs Signal Period − 1 more bars (bar 53). The run fails if the price series has fewer bars than the largest window setting.
Not Suitable for Overbought/Oversold
Unlike bounded oscillators (RSI, Stochastics), the KST has no fixed upper or lower limit. This makes it unsuitable for identifying overbought or oversold conditions. A high KST value only shows strong momentum. It does not predict a reversal.
Missing Data
Missing bars in price_data (weekends, holidays, missing data) are empty on every output. They are never filled with an earlier or a later value:
| Scenario | Output |
|---|---|
| Closed-market gap | Empty on that bar. Every ROC and SMA stage uses only the bars that have data, so Friday and Monday count as neighbours (an "N-bar" window means N bars with data, not N calendar days) |
Warm-up (not enough bars with data yet for a ROC/SMA stage, or fewer than signal_period KST values for the Signal Line) | Empty — never an average over a partial window |
| All bars missing | Every bar of all 3 outputs is empty; the run does not fail |
Data Alignment in Systemic
KST has one series input, price_data, so there is nothing to align inside the module. The output has one value per bar of that series.
Example: With daily Bitcoin prices, a Long Rate Of Change of 30 looks back 30 daily bars. With hourly prices, the same setting looks back 30 hours.
The KST parameters (rate_of_change_*, window_*, signal_period) are constants: one fixed value for the whole run.
Indicator Profile
This chart compares how useful KST is for stocks and for cryptocurrencies:
quadrantChart
title KST Indicator Profile
x-axis Low Popularity --> High Popularity
y-axis Low Reliability --> High Reliability
quadrant-1 High potential
quadrant-2 Established leaders
quadrant-3 Niche tools
quadrant-4 Popular but risky
KST - Stocks: [0.45, 0.70]
KST - Crypto: [0.35, 0.65]
Dimension Ratings
| Dimension | Stocks | Crypto | Notes |
|---|---|---|---|
| Popularity | 4.5/10 | 3.5/10 | Well-known among technical analysts but overshadowed by MACD and RSI. Less adoption in crypto communities. |
| Reliability | 7.0/10 | 6.5/10 | Multi-timeframe synthesis reduces false signals. Slightly less reliable in crypto's 24/7 volatile markets. |
| Complexity | 6.0/10 | 6.0/10 | Requires understanding of ROC, SMA, and weighted sums. More parameters than simpler oscillators. |
| Versatility | 7.0/10 | 6.5/10 | Applicable across timeframes and asset classes. The classic settings were designed for stocks; crypto may need adjustment. |
| Recent Interest | 4.0/10 | 4.5/10 | Classic indicator with steady niche following. Slight crypto interest due to cyclical market behavior. |
Further Reading
- Pring's Know Sure Thing (KST) - StockCharts ChartSchool — Comprehensive reference with visual examples
- Rate of Change (ROC) - Investopedia — Understanding the foundation of KST
- Simple Moving Average (SMA) - Investopedia — The smoothing mechanism used in KST