First of all, I want to say thank you! The interactivity of these plots is exactly what I was looking for. I am having an issue with custom indicators plotting on the same subplot. I am attempting to plot three "custom indicators" on the same subplot. However, when using Bokeh, the indicators plot on a seperate axis with the plotmaster param set.
Here is the code:
self.iv30 = self.datas.iv30
self.iv30_90p = self.datas.iv30_90p
self.iv30_10p = self.datas.iv30_10p
iv30 = bt.indicators.SMA(self.iv30, period=1, plotname = 'iv30', subplot=True)
bt.indicators.SMA(self.iv30_90p, period=1, plotname = '90th', subplot=True, plotmaster=iv30)
bt.indicators.SMA(self.iv30_10p, period=1, plotname = '10th', subplot=True, plotmaster=iv30)
When I plot it with the standard cerebro.plot(), it plots as desired (all indicators on same subplot).
However, plotting the strategy with Bokeh provides:
Even with messing with the SMA params (setting subplot = False for SMAs with plotmaster set to iv30) I cannot get the subplots to plot on the same axis using Bokeh.
Please excuse me if it is something simple. I am still very much an amateur in python.