79261859

Date: 2024-12-08 04:47:13
Score: 0.5
Natty:
Report link

I encountered the same issue.

I am using several drawing indicators in my strategy, as shown below:

        bt.indicators.ExponentialMovingAverage(self.datas[0], period=25)
        bt.indicators.WeightedMovingAverage(self.datas[0], period=25,subplot=True)
        # bt.indicators.StochasticSlow(self.datas[0])
        bt.indicators.MACDHisto(self.datas[0])
        rsi = bt.indicators.RSI(self.datas[0])
        bt.indicators.SmoothedMovingAverage(rsi, period=10)
        bt.indicators.ATR(self.datas[0], plot=False)

When I comment out bt.indicators.StochasticSlow(self.datas[0]), the problem does not occur. I don't have enough time to research it, but I hope this information is helpful to you.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Cedar