Plotting Bollinger Bands with Plotly Graph Objects

Photo by Maxim Hopman on Unsplash

For this blog, I will demonstrate how to plot Bollinger Bands using Plotly. Bollinger bands contain upper/lower bounds(±2 standard deviations) from the moving average of stock data. I will break down this tutorial blog into three steps:

  1. Obtain Data
    Use AlphaVantage for IBM historical data
  2. Calculate Moving Averages and Standard Deviation
    Calculate the…