Plot candlestick chart with indicators #289
-
Hi!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Every plotting function returns a figure, which you can provide to another plotting function (similar to matplotlib). On how to set up individual traces please refer to the Plotly documentation. fig = ohlcv_df.vbt.ohlcv.plot()
df['vwap'].vbt.plot(fig=fig, trace_kwargs=dict(line_color='blue'))
df['vwap_upper'].vbt.plot(fig=fig, trace_kwargs=dict(line_color='green'))
# etc.
fig.show() |
Beta Was this translation helpful? Give feedback.
Every plotting function returns a figure, which you can provide to another plotting function (similar to matplotlib). On how to set up individual traces please refer to the Plotly documentation.