@@ -142,7 +142,19 @@ cdef np.ndarray make_int_array(np.npy_intp length, int lookback):
142142@ wraparound (False ) # turn off relative indexing from end of lists
143143@ boundscheck (False ) # turn off bounds-checking for entire function
144144def ACCBANDS ( np.ndarray high not None , np.ndarray low not None , np.ndarray close not None , int timeperiod = - 2 ** 31 ):
145- """ ACCBANDS(high, low, close[, timeperiod=?])"""
145+ """ ACCBANDS(high, low, close[, timeperiod=?])
146+
147+ Acceleration Bands (Overlap Studies)
148+
149+ Inputs:
150+ prices: ['high', 'low', 'close']
151+ Parameters:
152+ timeperiod: 20
153+ Outputs:
154+ upperband
155+ middleband
156+ lowerband
157+ """
146158 cdef:
147159 np.npy_intp length
148160 int begidx, endidx, lookback
@@ -585,7 +597,17 @@ def AVGPRICE( np.ndarray open not None , np.ndarray high not None , np.ndarray l
585597@ wraparound (False ) # turn off relative indexing from end of lists
586598@ boundscheck (False ) # turn off bounds-checking for entire function
587599def AVGDEV ( np.ndarray real not None , int timeperiod = - 2 ** 31 ):
588- """ AVGDEV(real[, timeperiod=?])"""
600+ """ AVGDEV(real[, timeperiod=?])
601+
602+ Average Deviation (Price Transform)
603+
604+ Inputs:
605+ real: (any ndarray)
606+ Parameters:
607+ timeperiod: 14
608+ Outputs:
609+ real
610+ """
589611 cdef:
590612 np.npy_intp length
591613 int begidx, endidx, lookback
@@ -3225,7 +3247,17 @@ def HT_TRENDMODE( np.ndarray real not None ):
32253247@ wraparound (False ) # turn off relative indexing from end of lists
32263248@ boundscheck (False ) # turn off bounds-checking for entire function
32273249def IMI ( np.ndarray open not None , np.ndarray close not None , int timeperiod = - 2 ** 31 ):
3228- """ IMI(open, close[, timeperiod=?])"""
3250+ """ IMI(open, close[, timeperiod=?])
3251+
3252+ Intraday Momentum Index (Momentum Indicators)
3253+
3254+ Inputs:
3255+ prices: ['open', 'close']
3256+ Parameters:
3257+ timeperiod: 14
3258+ Outputs:
3259+ real
3260+ """
32293261 cdef:
32303262 np.npy_intp length
32313263 int begidx, endidx, lookback
0 commit comments