I reviewed the code("RateOfChange100") and found it doesn't pass period to ROC.
def __init__(self):
self.l.roc100 = 100.0 * ROC(self.data) # not pass period to ROC
super(RateOfChange100, self).__init__()
Correct it:
def __init__(self):
self.l.roc100 = 100.0 * ROC(self.data, period=self.p.period)
super(RateOfChange100, self).__init__()
If there is anything I misunderstand, pls feel free to let me know.
-Le