talib

62 functions. Each has a page of its own.

FunctionSummary
talib.almaAn Arnaud Legoux moving average of source over length bars.
talib.atrAverage true range over length bars. Read it as a measure of how far the market has been travelling, not as a price level.
talib.barssinceCounts the bars that have gone by since condition was last true.
talib.bbBollinger bands for source over length bars, with mult setting how far the outer bands sit from the middle one.
talib.bbwBollinger band width: the same calculation as talib.bb, delivered as one number instead of three bands.
talib.cciCommodity Channel Index for source over length bars.
talib.changeThe difference between the current value of source and its value length bars back.
talib.cmoChande Momentum Oscillator for source over length bars.
talib.cogCentre of gravity of source across a window of length bars.
talib.correlationCorrelation between two series, source1 and source2, measured over length bars.
talib.crossTrue on a bar where source1 and source2 cross, in either direction.
talib.crossoverFlags the bar on which source1 crosses above source2. Crosses the other way are ignored.
talib.crossunderThe mirror of talib.crossover: true on the bar where source1 crosses below source2.
talib.cumAccumulates source as the script advances through the chart.
talib.dcDonchian channel over length bars.
talib.dcwDonchian channel width over length bars, as a single figure.
talib.devA deviation measure for source over length bars.
talib.dmiThe directional movement family in one call, calculated from the chart’s own bars.
talib.emaExponential moving average of source over length bars, weighted so that recent bars count for more than older ones.
talib.fallingAsks the same question as talib.rising in the other direction: has source been falling across length bars?
talib.highestThe highest value source reached in the last length bars.
talib.highestbarsLocates the highest value of source within the last length bars and returns its position rather than its value.
talib.hmaHull moving average of source over length bars.
talib.kcKeltner channels for source over length bars, with mult setting the distance to the outer bands.
talib.kcwKeltner channel width for source over length bars: one figure in place of the three the channel call returns.
talib.linregFits a linear regression to source across length bars and returns a value from that fit.
talib.lowestThe lowest value source reached in the last length bars.
talib.lowestbarsGives the position of the lowest value of source within the last length bars, not the value itself.
talib.macdMoving average convergence/divergence for source, from three lengths: fastlen, slowlen and siglen.
talib.medianThe middle value of the last length values of source.
talib.mfiMoney Flow Index for source over length bars.
talib.modeOf the last length values of source, this reports the one that recurs most often.
talib.nviNegative volume index for the chart’s bars.
talib.obvOn-balance volume for the chart’s bars.
talib.percentile_linear_interpolationThe requested percentile of source over length bars, interpolating between the two values that straddle the rank.
talib.percentile_nearest_rankTakes the requested percentile of source over length bars at the nearest rank, without interpolating.
talib.percentrankRanks where source now stands against the last length bars of itself.
talib.pivothighFinds a pivot high — a bar that stands above leftBars bars on one side and rightBars bars on the other.
talib.pivotlowThe low-side counterpart to talib.pivothigh: a bar that stands below leftBars bars on one side and rightBars on the other.
talib.psarParabolic SAR, controlled by three numbers rather than a bar count: where the calculation starts, how much it moves on each step, and how far it is allowed to go.
talib.pviPositive volume index for the chart’s bars, the counterpart of talib.nvi.
talib.pvtPrice-volume trend for the chart’s bars.
talib.rangeHow much ground source covered over the last length bars, expressed as one figure.
talib.risingTests whether source has been rising across length bars.
talib.rmaRolling moving average of source over length bars.
talib.rocRate of change of source measured across length bars.
talib.rsiRelative Strength Index for source over length bars.
talib.smaSimple moving average of source over length bars: every bar in the window counts for the same.
talib.stdevStandard deviation of source over length bars.
talib.stochStochastic reading that places source inside the span set by high and low over length bars.
talib.sumAdds up the last length values of source.
talib.supertrendSupertrend from a multiplier and an atrLength, calculated on the chart’s own bars.
talib.swmaSymmetrically weighted moving average of source.
talib.trTrue range for the bar the script is on, taken from the chart’s own bars.
talib.tsiTrue Strength Index for source, smoothed by two lengths, r and s.
talib.valuewhenReads source from the bar on which condition was true, going back as far as occurrence says.
talib.varianceVariance of source over length bars.
talib.vwapVolume-weighted average price built on source.
talib.vwmaVolume-weighted moving average of source over length bars: bars that traded more count for more.
talib.wmaWeighted moving average of source over length bars.
talib.wprWilliams %R over length bars.
talib.wvadWilliams variable accumulation/distribution over length bars, calculated on the chart’s own bars.

Part of the function index.

Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.
Upgrade