def __init__(self, name=None, period=100): ''' Constructor ''' if not name: name = 'ATR' Indicator.__init__(self,name) self._period = period
def __init__(self, name, feed, talibfunc, talibhelper, *parameters): ''' Constructor ''' Indicator.__init__(self, name) self._feed = feed self._talibfunc = talibfunc self._talibhelper = talibhelper self._parms = parameters
def __init__(self, name, feed, talibfunc, talibhelper, *parameters): ''' Constructor ''' Indicator.__init__(self,name) self._feed = feed self._talibfunc = talibfunc self._talibhelper = talibhelper self._parms = parameters
def __init__(self, name=None, period=2, baseIndicator=None): ''' Constructor ''' if not name: name = 'CUM' Indicator.__init__(self,name) self._period = period if baseIndicator == None: raise Exception("Cannot instantiate PriceVelocity indicator without a base indicator!") self._base = baseIndicator
def __init__(self, name=None, period=2, baseIndicator=None): ''' Constructor ''' if not name: name = 'CUM' Indicator.__init__(self, name) self._period = period if baseIndicator == None: raise Exception( "Cannot instantiate PriceVelocity indicator without a base indicator!" ) self._base = baseIndicator