This section hosts a collection ofIndicator implementations which are notpart of thebacktrader core.
To use them:
If copied to a file, import it from the file
frommyfileimportTheIndicator
And use it in your strategy
classMyStrategy(bt.Strategy):def__init__(self):self.myind=TheIndicator(self.data,param1=value1,...)