|
|
|
Log In | Sign Up | ||
Standard DeviationStandard deviation is a statistical measure of how widely values are spread around their average. In technical analysis it is applied to closing prices over a set number of bars to measure volatility: when prices swing far from their average, standard deviation is high; when they hold close to it, standard deviation is low. It is used less as a signal of its own than as a building block, most famously in Bollinger Bands. How it is calculatedMean = SMA(N) of the close Standard deviation = square root of ( sum of (close - mean)² over N bars / N ) Take the simple moving average over N bars (20 is common). For each bar, square the difference between the close and that average, add the squares up, divide by N and take the square root. Squaring makes large moves count much more than small ones. The result is in price units. A $500 stock and a $20 stock will have very different readings even if they are equally volatile, so to compare stocks, divide by the price: 100 × standard deviation / price gives volatility as a percentage. How to read it
Settings and common mistakes
Live chart: SPY (S&P 500 ETF), daily, with the 20-day standard deviation of the close. The chart updates every trading day. Screen for it on MarketInOutStandard deviation is exch(nyse,nasdaq) and type(stock) and price > 1 and advol(21) > 1 and stddev(20) new_low 126 and price > sma(200) Quiet stocks, with a standard deviation under 1% of the price, that are pushing to a one-month high: exch(nyse,nasdaq) and type(stock) and price > 1 and advol(21) > 1 and 100 * stddev(20) / price < 1 and price > sma(200) and price new_high 21
Open the formula screener
Bollinger squeeze stocks
Most volatile stocks
All standard deviation screens
Related: Bollinger Bands, Average True Range, Moving averages. |
Disclaimer - Privacy Policy - Terms of Service - Cookies - FAQ - Affiliates - Blog |