Skip to content

Instantly share code, notes, and snippets.

@mementum
Created July 19, 2019 08:53
Show Gist options
  • Save mementum/039e27aaf00f12e4fd87cf627490f436 to your computer and use it in GitHub Desktop.
Save mementum/039e27aaf00f12e4fd87cf627490f436 to your computer and use it in GitHub Desktop.
class MyMFIStrategy2(bt.Strategy):
def __init__(self):
MFI_Canonical(self.data)
MFI_MultipleInputs(self.data, plotname='MFI Single Input')
MFI_MultipleInputs(self.data.high,
self.data.low,
self.data.close,
self.data.volume,
plotname='MFI Multiple Inputs')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment