Created
July 19, 2019 08:50
-
-
Save mementum/d70def1d45b3e7a1a92d32177e65e020 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyMFIStrategy2(bt.Strategy): | |
def __init__(self): | |
wclose = self.data.close * 5.0 | |
mfi = bt.MFI_Canonical(self.data.high, self.data.low, wclose, self.data.volume) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment