Standard Deviation (StdDev)
Standard Deviation measures the dispersion of price from its mean. Higher values indicate greater volatility. It is the mathematical foundation of Bollinger Bands.
TL;DR
- StdDev is a volatility indicator used in technical analysis
- Rising StdDev = increasing volatility. Falling StdDev = decreasing volatility (potential breakout ahead). Spike in StdDev often accompanies trend-starting moves.
- Best timeframes: H1, H4, D1
- Skip to API docs →
What is Standard Deviation?
Standard Deviation measures the dispersion of price from its mean. Higher values indicate greater volatility. It is the mathematical foundation of Bollinger Bands.
How StdDev is Calculated
StdDev = √(Σ(xi - x̄)² / n)
where xi = price, x̄ = mean price, n = period
Default period: 20 How to Interpret StdDev
Rising StdDev = increasing volatility. Falling StdDev = decreasing volatility (potential breakout ahead). Spike in StdDev often accompanies trend-starting moves.
Trading Strategies Using StdDev
Strategy 1: Volatility Breakout
Trade when StdDev spikes from low levels, indicating a new trend starting.
Entry Rules
Enter in the direction of the breakout when StdDev rises above its 20-bar average from a low level.
Exit Rules
Exit when StdDev begins declining from elevated levels.
Combining StdDev with Other Indicators
StdDev works best when combined with complementary indicators:
- StdDev + Bollinger Bands: Combine for stronger confluence signals
- StdDev + ATR: Combine for stronger confluence signals
StdDev Across Different Timeframes
StdDev works across all 7 timeframes but performs best on H1, H4, D1 for most trading styles.
Accessing StdDev via TickAtlas API
https://tickatlas.com/v1/indicator Python Example
import requests
url = "https://tickatlas.com/v1/indicator"
headers = {"X-API-Key": "YOUR_API_KEY"}
params = {
"symbol": "EURUSD",
"indicator": "StdDev_20",
"timeframe": "H1"
}
response = requests.get(url, headers=headers, params=params)
data = response.json()
print(data) Sample Response
{
"symbol": "EURUSD",
"indicator": "StdDev_20",
"timeframe": "H1",
"timestamp": "2026-03-21T14:00:00Z",
"value": 58.43,
"signal": "neutral"
} Common Mistakes to Avoid
- 1
Confusing high StdDev with directional bias — volatility has no direction
- 2
Not normalizing StdDev across different price levels when comparing symbols
Frequently Asked Questions
How does StdDev relate to Bollinger Bands?
Bollinger Bands are built using StdDev. The upper/lower bands are placed at ±2 standard deviations from the SMA. Higher StdDev = wider bands.
Continue learning
More volatility indicators
Ready to use StdDev data in your application?
Start your free trial and access real-time StdDev data across 7 timeframes.