Skip to content

Instantly share code, notes, and snippets.

@mementum
Created July 19, 2019 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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