Overlap Studies Functions
ACCBANDS - Acceleration Bands
upperband, middleband, lowerband = ACCBANDS(high, low, close, timeperiod=20)
BBANDS - Bollinger Bands
upperband, middleband, lowerband = BBANDS(close, timeperiod=20, nbdevup=2, nbdevdn=2, matype=0)
DEMA - Double Exponential Moving Average
real = DEMA(close, timeperiod=30)
DONCHIAN - Donchian Channels
upperband, middleband, lowerband = DONCHIAN(high, low, timeperiod=20)
EMA - Exponential Moving Average
NOTE: The EMA function has an unstable period.
real = EMA(close, timeperiod=30)
HMA - Hull Moving Average
real = HMA(close, timeperiod=20)
HT_TRENDLINE - Hilbert Transform - Instantaneous Trendline
NOTE: The HT_TRENDLINE function has an unstable period.
real = HT_TRENDLINE(close)
KAMA - Kaufman Adaptive Moving Average
NOTE: The KAMA function has an unstable period.
real = KAMA(close, timeperiod=30)
KC - Keltner Channels
upperband, middleband, lowerband = KC(high, low, close, timeperiod=20, atrperiod=10, nbdev=2)
MA - Moving average
real = MA(close, timeperiod=30, matype=0)
MAMA - MESA Adaptive Moving Average
NOTE: The MAMA function has an unstable period.
mama, fama = MAMA(close, fastlimit=0, slowlimit=0)
MAVP - Moving average with variable period
real = MAVP(close, periods, minperiod=2, maxperiod=30, matype=0)
MIDPOINT - MidPoint over period
real = MIDPOINT(close, timeperiod=14)
MIDPRICE - Midpoint Price over period
real = MIDPRICE(high, low, timeperiod=14)
RMA - Wilder's Smoothed Moving Average
NOTE: The RMA function has an unstable period.
real = RMA(close, timeperiod=30)
SAR - Parabolic SAR
real = SAR(high, low, acceleration=0, maximum=0)
SAREXT - Parabolic SAR - Extended
real = SAREXT(high, low, startvalue=0, offsetonreverse=0, accelerationinitlong=0, accelerationlong=0, accelerationmaxlong=0, accelerationinitshort=0, accelerationshort=0, accelerationmaxshort=0)
SMA - Simple Moving Average
real = SMA(close, timeperiod=30)
SUPERTREND - SuperTrend
supertrend, trend = SUPERTREND(high, low, close, timeperiod=10, multiplier=3)
T3 - Triple Exponential Moving Average (T3)
NOTE: The T3 function has an unstable period.
real = T3(close, timeperiod=5, vfactor=0)
TEMA - Triple Exponential Moving Average
real = TEMA(close, timeperiod=30)
TRIMA - Triangular Moving Average
real = TRIMA(close, timeperiod=30)
VWMA - Volume Weighted Moving Average
real = VWMA(close, volume, timeperiod=30)
WMA - Weighted Moving Average
real = WMA(close, timeperiod=30)
ZLEMA - Zero-Lag Exponential Moving Average
real = ZLEMA(close, timeperiod=30)