Skip to content
All library documents

Choosing Bollinger Bands, MACD, and Stochastic Oscillators

Article Quant Q&A · Author: user2874945

Summary

The document explains that common technical indicators answer different questions, so choosing among them depends on the market behavior being examined rather than assigning one a universal higher weight. Bollinger Bands use a moving average and price standard deviation to show when prices are unusually high or low relative to a recent range, while their width reflects changing volatility.

MACD compares two exponentially smoothed averages and adds a smoothed signal line; traders may use crossings or divergence to interpret momentum and trend conditions. The stochastic oscillator compares the latest close with a recent high-low range, with bounded %K and smoothed %D lines used to identify relative positioning and crossings. These are descriptions of conventional technical-analysis interpretations, not evidence that the signals predict returns. The document provides no comparative tests, weighting method, or guidance for combining indicators, so their usefulness would need to be assessed in the intended market and strategy.

Key ideas

  • Bollinger Bands relate price extremes to a moving average and recent standard deviation.
  • Band width expands and contracts as measured price volatility changes.
  • MACD uses the difference between smoothed averages and a separate signal line.
  • The stochastic oscillator locates a close within a recent high-low range.
  • Indicator choice depends on the market behavior being analyzed; the document does not establish a weighting rule.

Tags

Full text
# How to weigh many factors using a SMA/EMA


# How to weigh many factors using a SMA/EMA












I'm learning about the SMA/EMA technical analysis, as well as, indicators such as Bollinger Bands, Stochastic Oscillators, MACD, etc.

How do you know which one to use and which to weigh more over each other?

## Answer by phdstudent (score 1)

https://quant.stackexchange.com/a/19412

They are different things, it depends on what you are looking for:

Bollinger bands are constructed based on the standard deviation of closing prices over the last n periods. An analyst can draw high and low bands a chosen number of standard deviations (typically two) above and below the n-period moving average. The bands move away from one another when price volatility increases and move closer together when prices are less volatile. Bollinger bands are viewed as useful for indicating when prices are extreme by recent standards on either the high or low side. Prices at or above the upper Bollinger band may be viewed as indicating an overbought market, one that is "too high" and likely to decrease in the near term. Likewise, prices at or below the lower Bollinger band may be viewed as indicating an oversold market, one that is "too low" and likely to increase in the near term.

Moving average convergence/divergence. MACD oscillators are drawn using exponentially smoothed moving averages, which place greater weight on more recent observations. The "'MACD line" is the difference between two exponentially smoothed moving averages of the price, and the "signal line" is an exponentially smoothed moving average of the MACD line. The lines oscillate around zero but are not bounded. The MACD oscillator can be used to indicate overbought or oversold conditions or to identify convergence or divergence with the price trend. Points where the two lines cross can be used as trading signals. The MACD line crossing above the smoother signal line is viewed as a buy signal and the MACD line crossing below the signal line is viewed as a sell signal.

Stochastic oscillator. A stochastic oscillator is calculated from the latest closing price and highest and lowest prices reached in a recent period, such as 14 days. In a sustainable uptrend, prices tend to close nearer to the recent high, and in a sustainable downtrend, prices tend to close nearer to the recent low. Stochastic oscillators use two lines that are bounded by 0 and 100. The "%Ku line is the difference between the latest price and the recent low as a percentage of the difference between the recent high and low. The "%D" line is a 3-period average of the %K line. Technical analysts typically use stochastic oscillators to identify overbought and oversold markets. Points where the %K line crosses the %D line can also be used as trading signals in the same way as the MACD lines.

From: Schwerser Notes - adapted

Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.