Skip to content

Instantly share code, notes, and snippets.

@mementum
Created July 19, 2019 08:54
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/c31e8e61933fdeea7ad7033431576a15 to your computer and use it in GitHub Desktop.
Save mementum/c31e8e61933fdeea7ad7033431576a15 to your computer and use it in GitHub Desktop.
class MyMFIStrategy2(bt.Strategy):
def __init__(self):
MFI_MultipleInputs(self.data)
MFI_MultipleInputs(self.data.high,
self.data.low,
self.data.close * 5.0,
self.data.volume,
plotname='MFI Close * 5.0')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment