Currently, I have 2 data series at my cerebro.plot(). I would like to show BuySell signals in both of the plots. However, buysell signals are assigned to the first plot only.
cerebro = bt.Cerebro() cerebro.adddata(data0) cerebro.addstrategy(TestStrategy) data1 = data0.clone() data1.addfilter(bt.filters.HeikinAshi) cerebro.adddata(data1)
I tried different combinations of kwargs in plotinfo of buysell.py
plotinfo = dict(plot=True, subplot=False, plotlinelabels=True)
I also tried to include the buysell signal into the second data series by adding the observers into the data series like indicators.
self.buysell = bt.observers.BuySell(self.datas)
but the expected result is not found.