TA-Lib Documentation

Ta-Lib Function List


ADD - Vector Arithmetic Add

talib.ADD(params)

Input parameters:

  • inReal0 - array of floats
  • inReal1 - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

DIV - Vector Arithmetic Div

talib.DIV(params)

Input parameters:

  • inReal0 - array of floats
  • inReal1 - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

MAX - Highest value over a specified period

talib.MAX(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

MAXINDEX - Index of highest value over a specified period

talib.MAXINDEX(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • outInteger

MIN - Lowest value over a specified period

talib.MIN(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

MININDEX - Index of lowest value over a specified period

talib.MININDEX(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • outInteger

MINMAX - Lowest and highest values over a specified period

talib.MINMAX(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • outMin outMax

MINMAXINDEX - Indexes of lowest and highest values over a specified period

talib.MINMAXINDEX(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • outMinIdx outMaxIdx

MULT - Vector Arithmetic Mult

talib.MULT(params)

Input parameters:

  • inReal0 - array of floats
  • inReal1 - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

SUB - Vector Arithmetic Substraction

talib.SUB(params)

Input parameters:

  • inReal0 - array of floats
  • inReal1 - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

SUM - Summation

talib.SUM(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

ACOS - Vector Trigonometric ACos

talib.ACOS(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

ASIN - Vector Trigonometric ASin

talib.ASIN(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

ATAN - Vector Trigonometric ATan

talib.ATAN(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

CEIL - Vector Ceil

talib.CEIL(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

COS - Vector Trigonometric Cos

talib.COS(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

COSH - Vector Trigonometric Cosh

talib.COSH(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

EXP - Vector Arithmetic Exp

talib.EXP(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

FLOOR - Vector Floor

talib.FLOOR(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

LN - Vector Log Natural

talib.LN(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

LOG10 - Vector Log10

talib.LOG10(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

SIN - Vector Trigonometric Sin

talib.SIN(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

SINH - Vector Trigonometric Sinh

talib.SINH(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

SQRT - Vector Square Root

talib.SQRT(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

TAN - Vector Trigonometric Tan

talib.TAN(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

TANH - Vector Trigonometric Tanh

talib.TANH(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

ACCBANDS - Acceleration Bands

talib.ACCBANDS(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • outRealUpperBand outRealMiddleBand outRealLowerBand

BBANDS - Bollinger Bands

talib.BBANDS(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod
  • optInNbDevUp
  • optInNbDevDn
  • optInMAType

Returns:

  • outRealUpperBand outRealMiddleBand outRealLowerBand

DEMA - Double Exponential Moving Average

talib.DEMA(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

EMA - Exponential Moving Average

talib.EMA(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

HT_TRENDLINE - Hilbert Transform - Instantaneous Trendline

talib.HT_TRENDLINE(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

KAMA - Kaufman Adaptive Moving Average

talib.KAMA(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

MA - Moving average

talib.MA(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod
  • optInMAType

Returns:

  • array of floats

MAMA - MESA Adaptive Moving Average

talib.MAMA(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInFastLimit
  • optInSlowLimit

Returns:

  • outMAMA outFAMA

MAVP - Moving average with variable period

talib.MAVP(params)

Input parameters:

  • inReal - array of floats
  • inPeriods
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInMinPeriod
  • optInMaxPeriod
  • optInMAType

Returns:

  • array of floats

MIDPOINT - MidPoint over period

talib.MIDPOINT(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

MIDPRICE - Midpoint Price over period

talib.MIDPRICE(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

SAR - Parabolic SAR

talib.SAR(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInAcceleration
  • optInMaximum

Returns:

  • array of floats

SAREXT - Parabolic SAR - Extended

talib.SAREXT(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInStartValue
  • optInOffsetOnReverse
  • optInAccelerationInitLong
  • optInAccelerationLong
  • optInAccelerationMaxLong
  • optInAccelerationInitShort
  • optInAccelerationShort
  • optInAccelerationMaxShort

Returns:

  • array of floats

SMA - Simple Moving Average

talib.SMA(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

T3 - Triple Exponential Moving Average (T3)

talib.T3(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod
  • optInVFactor

Returns:

  • array of floats

TEMA - Triple Exponential Moving Average

talib.TEMA(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

TRIMA - Triangular Moving Average

talib.TRIMA(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

WMA - Weighted Moving Average

talib.WMA(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

ATR - Average True Range

talib.ATR(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

NATR - Normalized Average True Range

talib.NATR(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

TRANGE - True Range

talib.TRANGE(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

ADX - Average Directional Movement Index

talib.ADX(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

ADXR - Average Directional Movement Index Rating

talib.ADXR(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

APO - Absolute Price Oscillator

talib.APO(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInFastPeriod
  • optInSlowPeriod
  • optInMAType

Returns:

  • array of floats

AROON - Aroon

talib.AROON(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • outAroonDown outAroonUp

AROONOSC - Aroon Oscillator

talib.AROONOSC(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

BOP - Balance Of Power

talib.BOP(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

CCI - Commodity Channel Index

talib.CCI(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

CMO - Chande Momentum Oscillator

talib.CMO(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

DX - Directional Movement Index

talib.DX(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

IMI - Intraday Momentum Index

talib.IMI(params)

Input parameters:

  • open - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

MACD - Moving Average Convergence/Divergence

talib.MACD(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInFastPeriod
  • optInSlowPeriod
  • optInSignalPeriod

Returns:

  • outMACD outMACDSignal outMACDHist

MACDEXT - MACD with controllable MA type

talib.MACDEXT(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInFastPeriod
  • optInFastMAType
  • optInSlowPeriod
  • optInSlowMAType
  • optInSignalPeriod
  • optInSignalMAType

Returns:

  • outMACD outMACDSignal outMACDHist

MACDFIX - Moving Average Convergence/Divergence Fix 12/26

talib.MACDFIX(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInSignalPeriod

Returns:

  • outMACD outMACDSignal outMACDHist

MFI - Money Flow Index

talib.MFI(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • volume - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

MINUS_DI - Minus Directional Indicator

talib.MINUS_DI(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

MINUS_DM - Minus Directional Movement

talib.MINUS_DM(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

MOM - Momentum

talib.MOM(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

PLUS_DI - Plus Directional Indicator

talib.PLUS_DI(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

PLUS_DM - Plus Directional Movement

talib.PLUS_DM(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

PPO - Percentage Price Oscillator

talib.PPO(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInFastPeriod
  • optInSlowPeriod
  • optInMAType

Returns:

  • array of floats

ROC - Rate of change : ((price/prevPrice)-1)*100

talib.ROC(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

ROCP - Rate of change Percentage: (price-prevPrice)/prevPrice

talib.ROCP(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

ROCR - Rate of change ratio: (price/prevPrice)

talib.ROCR(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

ROCR100 - Rate of change ratio 100 scale: (price/prevPrice)*100

talib.ROCR100(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

RSI - Relative Strength Index

talib.RSI(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

STOCH - Stochastic

talib.STOCH(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInFastK_Period
  • optInSlowK_Period
  • optInSlowK_MAType
  • optInSlowD_Period
  • optInSlowD_MAType

Returns:

  • outSlowK outSlowD

STOCHF - Stochastic Fast

talib.STOCHF(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInFastK_Period
  • optInFastD_Period
  • optInFastD_MAType

Returns:

  • outFastK outFastD

STOCHRSI - Stochastic Relative Strength Index

talib.STOCHRSI(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod
  • optInFastK_Period
  • optInFastD_Period
  • optInFastD_MAType

Returns:

  • outFastK outFastD

TRIX - 1-day Rate-Of-Change (ROC) of a Triple Smooth EMA

talib.TRIX(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

ULTOSC - Ultimate Oscillator

talib.ULTOSC(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod1
  • optInTimePeriod2
  • optInTimePeriod3

Returns:

  • array of floats

WILLR - Williams' %R

talib.WILLR(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

HT_DCPERIOD - Hilbert Transform - Dominant Cycle Period

talib.HT_DCPERIOD(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

HT_DCPHASE - Hilbert Transform - Dominant Cycle Phase

talib.HT_DCPHASE(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

HT_PHASOR - Hilbert Transform - Phasor Components

talib.HT_PHASOR(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInPhase outQuadrature

HT_SINE - Hilbert Transform - SineWave

talib.HT_SINE(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outSine outLeadSine

HT_TRENDMODE - Hilbert Transform - Trend vs Cycle Mode

talib.HT_TRENDMODE(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

AD - Chaikin A/D Line

talib.AD(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • volume - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

ADOSC - Chaikin A/D Oscillator

talib.ADOSC(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • volume - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInFastPeriod
  • optInSlowPeriod

Returns:

  • array of floats

OBV - On Balance Volume

talib.OBV(params)

Input parameters:

  • inReal - array of floats
  • volume - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

CDL2CROWS - Two Crows

talib.CDL2CROWS(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDL3BLACKCROWS - Three Black Crows

talib.CDL3BLACKCROWS(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDL3INSIDE - Three Inside Up/Down

talib.CDL3INSIDE(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDL3LINESTRIKE - Three-Line Strike

talib.CDL3LINESTRIKE(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDL3OUTSIDE - Three Outside Up/Down

talib.CDL3OUTSIDE(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDL3STARSINSOUTH - Three Stars In The South

talib.CDL3STARSINSOUTH(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDL3WHITESOLDIERS - Three Advancing White Soldiers

talib.CDL3WHITESOLDIERS(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLABANDONEDBABY - Abandoned Baby

talib.CDLABANDONEDBABY(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInPenetration

Returns:

  • outInteger

CDLADVANCEBLOCK - Advance Block

talib.CDLADVANCEBLOCK(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLBELTHOLD - Belt-hold

talib.CDLBELTHOLD(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLBREAKAWAY - Breakaway

talib.CDLBREAKAWAY(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLCLOSINGMARUBOZU - Closing Marubozu

talib.CDLCLOSINGMARUBOZU(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLCONCEALBABYSWALL - Concealing Baby Swallow

talib.CDLCONCEALBABYSWALL(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLCOUNTERATTACK - Counterattack

talib.CDLCOUNTERATTACK(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLDARKCLOUDCOVER - Dark Cloud Cover

talib.CDLDARKCLOUDCOVER(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInPenetration

Returns:

  • outInteger

CDLDOJI - Doji

talib.CDLDOJI(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLDOJISTAR - Doji Star

talib.CDLDOJISTAR(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLDRAGONFLYDOJI - Dragonfly Doji

talib.CDLDRAGONFLYDOJI(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLENGULFING - Engulfing Pattern

talib.CDLENGULFING(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLEVENINGDOJISTAR - Evening Doji Star

talib.CDLEVENINGDOJISTAR(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInPenetration

Returns:

  • outInteger

CDLEVENINGSTAR - Evening Star

talib.CDLEVENINGSTAR(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInPenetration

Returns:

  • outInteger

CDLGAPSIDESIDEWHITE - Up/Down-gap side-by-side white lines

talib.CDLGAPSIDESIDEWHITE(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLGRAVESTONEDOJI - Gravestone Doji

talib.CDLGRAVESTONEDOJI(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLHAMMER - Hammer

talib.CDLHAMMER(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLHANGINGMAN - Hanging Man

talib.CDLHANGINGMAN(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLHARAMI - Harami Pattern

talib.CDLHARAMI(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLHARAMICROSS - Harami Cross Pattern

talib.CDLHARAMICROSS(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLHIGHWAVE - High-Wave Candle

talib.CDLHIGHWAVE(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLHIKKAKE - Hikkake Pattern

talib.CDLHIKKAKE(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLHIKKAKEMOD - Modified Hikkake Pattern

talib.CDLHIKKAKEMOD(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLHOMINGPIGEON - Homing Pigeon

talib.CDLHOMINGPIGEON(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLIDENTICAL3CROWS - Identical Three Crows

talib.CDLIDENTICAL3CROWS(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLINNECK - In-Neck Pattern

talib.CDLINNECK(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLINVERTEDHAMMER - Inverted Hammer

talib.CDLINVERTEDHAMMER(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLKICKING - Kicking

talib.CDLKICKING(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLKICKINGBYLENGTH - Kicking - bull/bear determined by the longer marubozu

talib.CDLKICKINGBYLENGTH(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLLADDERBOTTOM - Ladder Bottom

talib.CDLLADDERBOTTOM(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLLONGLEGGEDDOJI - Long Legged Doji

talib.CDLLONGLEGGEDDOJI(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLLONGLINE - Long Line Candle

talib.CDLLONGLINE(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLMARUBOZU - Marubozu

talib.CDLMARUBOZU(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLMATCHINGLOW - Matching Low

talib.CDLMATCHINGLOW(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLMATHOLD - Mat Hold

talib.CDLMATHOLD(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInPenetration

Returns:

  • outInteger

CDLMORNINGDOJISTAR - Morning Doji Star

talib.CDLMORNINGDOJISTAR(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInPenetration

Returns:

  • outInteger

CDLMORNINGSTAR - Morning Star

talib.CDLMORNINGSTAR(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInPenetration

Returns:

  • outInteger

CDLONNECK - On-Neck Pattern

talib.CDLONNECK(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLPIERCING - Piercing Pattern

talib.CDLPIERCING(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLRICKSHAWMAN - Rickshaw Man

talib.CDLRICKSHAWMAN(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLRISEFALL3METHODS - Rising/Falling Three Methods

talib.CDLRISEFALL3METHODS(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLSEPARATINGLINES - Separating Lines

talib.CDLSEPARATINGLINES(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLSHOOTINGSTAR - Shooting Star

talib.CDLSHOOTINGSTAR(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLSHORTLINE - Short Line Candle

talib.CDLSHORTLINE(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLSPINNINGTOP - Spinning Top

talib.CDLSPINNINGTOP(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLSTALLEDPATTERN - Stalled Pattern

talib.CDLSTALLEDPATTERN(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLSTICKSANDWICH - Stick Sandwich

talib.CDLSTICKSANDWICH(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLTAKURI - Takuri (Dragonfly Doji with very long lower shadow)

talib.CDLTAKURI(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLTASUKIGAP - Tasuki Gap

talib.CDLTASUKIGAP(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLTHRUSTING - Thrusting Pattern

talib.CDLTHRUSTING(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLTRISTAR - Tristar Pattern

talib.CDLTRISTAR(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLUNIQUE3RIVER - Unique 3 River

talib.CDLUNIQUE3RIVER(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLUPSIDEGAP2CROWS - Upside Gap Two Crows

talib.CDLUPSIDEGAP2CROWS(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

CDLXSIDEGAP3METHODS - Upside/Downside Gap Three Methods

talib.CDLXSIDEGAP3METHODS(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • outInteger

BETA - Beta

talib.BETA(params)

Input parameters:

  • inReal0 - array of floats
  • inReal1 - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

CORREL - Pearson's Correlation Coefficient (r)

talib.CORREL(params)

Input parameters:

  • inReal0 - array of floats
  • inReal1 - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

LINEARREG - Linear Regression

talib.LINEARREG(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

LINEARREG_ANGLE - Linear Regression Angle

talib.LINEARREG_ANGLE(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

LINEARREG_INTERCEPT - Linear Regression Intercept

talib.LINEARREG_INTERCEPT(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

LINEARREG_SLOPE - Linear Regression Slope

talib.LINEARREG_SLOPE(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

STDDEV - Standard Deviation

talib.STDDEV(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod
  • optInNbDev

Returns:

  • array of floats

TSF - Time Series Forecast

talib.TSF(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

VAR - Variance

talib.VAR(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod
  • optInNbDev

Returns:

  • array of floats

AVGPRICE - Average Price

talib.AVGPRICE(params)

Input parameters:

  • open - array of floats
  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

AVGDEV - Average Deviation

talib.AVGDEV(params)

Input parameters:

  • inReal - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data
  • optInTimePeriod

Returns:

  • array of floats

MEDPRICE - Median Price

talib.MEDPRICE(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

TYPPRICE - Typical Price

talib.TYPPRICE(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats

WCLPRICE - Weighted Close Price

talib.WCLPRICE(params)

Input parameters:

  • high - array of floats
  • low - array of floats
  • close - array of floats
  • startIdx - start index for input data
  • endIdx - end index for input data

Returns:

  • array of floats