title: How to Plot Candlestick chart and indicators Using quantmod?
body: <p>A few days back, accidentally, I  was able to plot technical indicators using these codes</p>
  <blockquote>
  <p>ch.add_BBANDS()</p>
  <p>ch.add_RSI(14)</p>
  </blockquote>
  <p>But now I am not able to do so as I am having a problem installing quantmod.</p>
  <p>I know we can plot candlestick chart by using plotly but with quantmod there seems to be a single line code which would be easier.</p>
  <p>I realized that the problem is in Installing and importing <a href="https://github.com/jackluo/py-quantmod" rel="nofollow noreferrer">quantmod</a> as it says:</p>
  <p><em>ImportError:
  The plotly.plotly module is deprecated,
  please install the chart-studio package and use the
  chart_studio.plotly module instead.</em></p>
  <p>I also tried to degrade my plotly version as mentioned <a href="https://github.com/plotly/plotly.py/issues/1660" rel="nofollow noreferrer">here</a> but nothing worked. I want to know if someone has been able to install and import quantmod in jupyter notebook and plot some of the  charts as indicated by following codes. I would appreciate if you show me the correct way to get quantmod working in my jupyter notebook.</p>
  <blockquote>
  <p>ch = qm.Chart(df)</p>
  <p>ch.to_figure(type='ohlc', dimensions=(2560,1440))</p>
  <p>ch = qm.Chart(df)</p>
  <p>ch.add_BBANDS()</p>
  <p>ch.add_RSI(14)</p>
  <p>ch.to_figure(type='candlestick', title='EQUITY')</p>
  </blockquote>