Expand description
Built-in indicators. Every indicator implements crate::Indicator.
Modules are listed alphabetically; the canonical family taxonomy lives in
FAMILIES. Every public name is re-exported flat from this module and
from the crate root for convenience.
Structs§
- Abandoned
Baby - Abandoned Baby — a strong 3-bar reversal where a doji is “abandoned” by price gaps on both sides, isolating it from the candles before and after.
- Abcd
- AB=CD — the simplest four-point harmonic pattern: an A→B leg, a B→C retracement, and a C→D leg that mirrors A→B in length:
- Absolute
Breadth Index - Absolute Breadth Index (ABI) — the absolute value of net advancing issues,
|advancers - decliners|. - Acceleration
Bands - Acceleration Bands (Price Headley): SMA-smoothed bands that widen with each
bar’s relative range
(high − low) / (high + low). - Acceleration
Bands Output - Acceleration Bands output: SMA of close with momentum-biased envelopes driven by the bar’s high/low geometry.
- Accelerator
Oscillator - Accelerator Oscillator — Bill Williams’ gauge of momentum’s acceleration.
- AdOscillator
- Larry Williams’ Accumulation/Distribution — a cumulative volume-less price flow that classifies each bar as accumulation or distribution based on its close relative to the previous close, then sums the directional component.
- AdVolume
Line - Advance/Decline Volume Line (AD Volume Line) — the running cumulative sum of net advancing volume across a universe.
- Adaptive
Cci - Adaptive CCI — Lambert’s Commodity Channel Index whose centre line is an efficiency-ratio-adaptive moving average of typical price instead of a plain SMA, so it leads in trends and stays calm in chop.
- Adaptive
Cycle - Ehlers’ Adaptive Cycle Indicator.
- Adaptive
Laguerre Filter - John Ehlers’ Adaptive Laguerre Filter — a four-stage Laguerre polynomial
smoother whose damping factor
gammais recomputed every bar from how well the filter is currently tracking price. - Adaptive
Rsi - Adaptive RSI — Wilder’s RSI in which the smoothing of the average gain and average loss adapts to trendiness via Kaufman’s efficiency ratio, so the oscillator reacts fast in a clean move and smooths through chop.
- Adl
- Accumulation/Distribution Line — Marc Chaikin’s cumulative volume-flow indicator.
- Advance
Block - Advance Block — a 3-bar bearish warning: three green candles still pushing to higher closes, but visibly running out of steam — each real body shrinks while the upper shadows lengthen, hinting the advance is about to stall.
- Advance
Decline - Advance/Decline Line (A/D Line) — the running cumulative sum of net advancing issues across a universe.
- Advance
Decline Ratio - Advance/Decline Ratio (ADR) — the number of advancing symbols divided by the number of declining symbols across a universe.
- Adx
- Wilder’s Average Directional Index.
- AdxOutput
- ADX output: the three Wilder lines.
- Adxr
- Wilder’s Average Directional Movement Index Rating.
- Alligator
- Bill Williams’ Alligator: three
SMMAs of the median price(high + low) / 2with different periods. Classic parameters are(jaw = 13, teeth = 8, lips = 5). - Alligator
Output - Alligator output: three smoothed moving averages of the median price
(high + low) / 2. - Alma
- Arnaud Legoux Moving Average — a Gaussian-weighted moving average.
- Alpha
- Rolling Jensen’s Alpha.
- Amihud
Illiquidity - Amihud Illiquidity — the average absolute log return per unit of traded
value over the last
periodtrades (Amihud, 2002). - Anchored
Rsi - Anchored RSI — a cumulative Relative Strength Index whose averaging begins at a user-chosen anchor bar rather than over a fixed Wilder period.
- Anchored
Vwap - Anchored VWAP — a cumulative VWAP whose accumulation begins at a user-chosen anchor bar rather than the session open.
- Andrews
Pitchfork - Andrews Pitchfork — Alan Andrews’ median-line tool drawn from the three most recent swing pivots, projected forward to the current bar.
- Andrews
Pitchfork Output - Output of
AndrewsPitchfork: the three pitchfork lines projected to the current bar. - Apo
- Absolute Price Oscillator — the raw difference between a fast and a slow
EMA. This is MACD’s line without the signal-EMA — useful when only the momentum-direction reading is needed. - Aroon
- Aroon indicator: tracks how many bars since the highest high and lowest low
inside a
period + 1-bar window. Returned as a percentage. - Aroon
Oscillator - Aroon Oscillator — the single-line difference
AroonUp − AroonDown. - Aroon
Output - Aroon output: up and down strengths in [0, 100].
- Atr
- Average True Range with Wilder smoothing.
- AtrBands
- ATR Bands: a close-anchored envelope of width
multiplier · ATR. - AtrBands
Output - ATR Bands output.
- AtrRatchet
- ATR Ratchet — Perry Kaufman’s time-based volatility stop that tightens by a fixed fraction of ATR every bar, whether or not price moves.
- AtrRatchet
Output - Output of
AtrRatchet: the active stop level and the trend direction. - AtrTrailing
Stop - ATR Trailing Stop — a stop level that trails price by a fixed ATR multiple and ratchets in the direction of the trend.
- AutoFib
- Auto-Fibonacci (
AutoFib). - Auto
FibOutput - Auto-Fibonacci retracement levels for the dominant recent swing leg.
- Autocorrelation
- Rolling lag-
lagautocorrelation of the lastperiodinputs. - Autocorrelation
Periodogram - Ehlers’ Autocorrelation Periodogram — measures the dominant cycle period of the market by correlating a roofing-filtered price with lagged copies of itself and reading off the spectral peak.
- Average
Daily Range - Average Daily Range over the last
periodcompleted sessions. - Average
Drawdown - Rolling Average Drawdown.
- AvgPrice
- Average Price (
AVGPRICE) — the bar’s(open + high + low + close) / 4. - Awesome
Oscillator - Awesome Oscillator:
SMA(median_price, 5) - SMA(median_price, 34). - Awesome
Oscillator Histogram - “Awesome Oscillator Histogram” — the difference between the Awesome
Oscillator and its
sma_period-barSMA. Positive bars meanAOis trending up (bullish acceleration); negative bars meanAOis trending down (bearish acceleration). - Balance
OfPower - Balance of Power — where the close settled within the bar’s range relative to the open.
- Bandpass
Filter - Ehlers’ Bandpass Filter — a two-pole resonator that passes the cyclic content
around a target
periodand rejects both the trend (low frequencies) and the noise (high frequencies). - Bat
- Bat — a 5-point (X-A-B-C-D) harmonic pattern with a shallow B and a deep
0.886D completion: - Belt
Hold - Belt-hold — a single-bar reversal: a long candle that opens at one extreme of its range (an “opening marubozu”) and runs the other way.
- Beta
- Rolling Beta of an
assetseries relative to abenchmarkseries. - Beta
Neutral Spread - The beta-neutral spread between two assets — the residual of a rolling
ordinary-least-squares regression of
aonb. - Better
Volume - Better Volume — a Volume-Spread-Analysis (VSA) “effort versus result” oscillator: how much volume (effort) a bar spent relative to the price range (result) it achieved, both normalised against their own recent averages.
- Bipower
Variation - Realized Bipower Variation — the sum of adjacent absolute log-return
products over the trailing
periodreturns, scaled to estimate integrated variance. - Body
Size Pct - Body Size Percent — the absolute body as a fraction of the bar’s range.
- Bollinger
Bands - Bollinger Bands with SMA middle band and population standard deviation envelopes.
- Bollinger
Bandwidth - Bollinger Bandwidth — the width of the Bollinger Bands relative to the middle band.
- Bollinger
Output - Bollinger Bands output.
- Bomar
Bands - Bomar Bands: percentage bands whose width adapts so that a fixed
coveragefraction of recent closes falls inside them. - Bomar
Bands Output - Bomar Bands output.
- Breadth
Thrust - Breadth Thrust (Zweig) — a simple moving average of the advancing-issues
share,
advancers / (advancers + decliners). - Breakaway
- Breakaway — a 5-bar reversal that fades an exhausted run. A trend gaps away on the second bar, drifts two more bars in the same direction, then the fifth bar snaps the other way and closes back inside the body gap left between the first and second bars, signalling the move has broken away from the crowd and is turning.
- Bullish
Percent Index - Bullish Percent Index (BPI) — the percentage of symbols in a universe that are currently on a point-and-figure buy signal.
- Butterfly
- Butterfly — a 5-point (X-A-B-C-D) harmonic pattern with a
0.786B and an extended D that overshoots X: - Calendar
Spread - Calendar Spread — the relative spread between a dated (e.g. quarterly) futures price and the perpetual mark price.
- Calmar
Ratio - Rolling Calmar Ratio.
- Camarilla
- Camarilla Pivot Points — Nick Stott’s four-tier range-based level set.
Anchored on the prior close rather than the typical price, with widths
scaled by the constant
1.1divided by{12, 6, 4, 2}. - Camarilla
Pivots Output - Camarilla Pivot Points output: four resistances, the pivot, four supports.
- Candle
Volume - CandleVolume — the candlestick analogue of
Equivolume: each bar’s body (close − open) paired with a width proportional to its volume relative to the recent average. - Candle
Volume Output - Output of
CandleVolume: the signed candle body and its volume-relative width. - Cci
- Commodity Channel Index.
- Center
OfGravity - Ehlers’ Center of Gravity (CG) oscillator.
- Central
Pivot Range - Central Pivot Range (CPR) — the classic pivot point flanked by two “central” levels whose separation gauges the day’s expected character.
- Central
Pivot Range Output - Output of
CentralPivotRange: the pivot and the two central lines that bracket it. - Cfo
- Tushar Chande’s Forecast Oscillator — the percentage difference between
the close and the endpoint of an
n-bar linear-regression forecast of the close. - Chaikin
Money Flow - Chaikin Money Flow — Marc Chaikin’s
period-window money-flow oscillator. - Chaikin
Oscillator - Chaikin Oscillator — the MACD of the Accumulation/Distribution Line.
- Chaikin
Volatility - Chaikin Volatility — the rate of change of a smoothed high-low spread.
- Chande
Kroll Stop - Chande Kroll Stop — Tushar Chande and Stanley Kroll’s two-stage ATR stop.
- Chande
Kroll Stop Output - Chande Kroll Stop output: the long-side and short-side stop levels.
- Chandelier
Exit - Chandelier Exit — Chuck LeBeau’s ATR trailing stop, hung from the highest high (for longs) or the lowest low (for shorts) of the lookback window.
- Chandelier
Exit Output - Chandelier Exit output: the long-side and short-side trailing stops.
- Choppiness
Index - Choppiness Index — is the market trending or just chopping sideways?
- Classic
Pivots - Classic (Floor-Trader) Pivot Points — the standard pivot/resistance/support levels computed from a completed candle’s high, low and close.
- Classic
Pivots Output - Classic Pivot Points output: pivot plus three resistances and three supports.
- Close
VsOpen - Close vs Open — the bar’s body as a signed fraction of its open price.
- Closing
Marubozu - Closing Marubozu — a single-bar strong-momentum candle with a long body and no shadow on the close end. A white closing marubozu closes right at the high (no upper shadow) and may carry an opening shadow below; a black one closes right at the low (no lower shadow) and may carry an opening shadow above. The shaved close end shows the move ran unopposed into the bell.
- Cmo
- Chande Momentum Oscillator — Tushar Chande’s bounded momentum gauge.
- Coefficient
OfVariation - Coefficient of Variation — the rolling population standard deviation divided by the rolling mean.
- Cointegration
- Rolling cointegration test for a pair of assets (Engle–Granger two-step).
- Cointegration
Output - Output of
Cointegration. - Composite
Profile - Composite Profile — a multi-session volume profile reduced to its point of control and value area, built over a long composite window.
- Composite
Profile Output - Output of
CompositeProfile: the point of control and the value-area bounds. - Concealing
Baby Swallow - Concealing Baby Swallow — a rare 4-bar bullish reversal. Two black marubozu lead a steep decline; the third is a black candle that gaps down on the open yet throws a long upper shadow back up into the second body; the fourth is a large black candle that completely engulfs the third, shadows included. The relentless selling that can no longer make ground signals capitulation.
- Conditional
Value AtRisk - Rolling Conditional Value-at-Risk (Expected Shortfall).
- Connors
Rsi - Larry Connors’ RSI — average of three short-term mean-reversion components,
each individually bounded in
[0, 100]so the aggregate is too: - Coppock
- Coppock Curve — Edwin Coppock’s long-term momentum indicator.
- Correlation
Trend Indicator - Ehlers’ Correlation Trend Indicator (CTI) — the Pearson correlation coefficient between price and a perfectly straight ramp over the lookback.
- Counterattack
- Counterattack — a 2-bar reversal where the second bar storms back to close right where the first bar closed. A long candle runs with the trend, then an opposite-coloured long candle opens far in the trend direction and rallies (or sells off) all the way back to the prior close — the two closes meeting forms the “counterattack line”.
- Crab
- Crab — a 5-point (X-A-B-C-D) harmonic pattern with the deepest D completion
of the family, an
1.618extension of XA: - Cumulative
Volume Delta - Cumulative Volume Delta (CVD) — the running sum of signed volume.
- Cumulative
Volume Index - Cumulative Volume Index (CVI) — the running total of volume-normalised net advancing volume across a universe.
- CupAnd
Handle - Cup-and-Handle / Inverse — a rounded base (the cup) followed by a shallow pullback (the handle) near the rim, then a breakout in the cup’s direction.
- Cybernetic
Cycle - Ehlers’ Cybernetic Cycle Component (CCC).
- Cypher
- Cypher — a 5-point (X-A-B-C-D) harmonic pattern whose C leg is measured
against XA (not AB) and whose D retraces the XC leg by
0.786: - DayOf
Week Profile - Mean bar return bucketed by local weekday (Monday
0.. Sunday6). - DayOf
Week Profile Output - Day-of-Week Profile output: the per-weekday mean return.
- Decycler
- Ehlers’ Decycler: price minus the dominant cycle component.
- Decycler
Oscillator - Difference between a fast and a slow
Decycler, producing a smoothed oscillator that crosses zero at trend changes. - Dema
- Double Exponential Moving Average:
2 * EMA - EMA(EMA). - Demand
Index - James Sibbet’s Demand Index — a smoothed ratio of buying pressure to selling pressure, classifying each bar’s volume by whether the close rose or fell relative to the previous close.
- Demark
Pivots DeMarkPivot Points — TomDeMark’s conditional pivot formulation, derived from a sumXthat depends on whether the bar closed up, down or flat.- Demark
Pivots Output DeMarkPivot Points output: a single resistance, pivot and support.- Depth
Slope - Depth Slope — the average rate at which cumulative resting size grows with distance from the mid, across the bid and ask sides of the book.
- Derivative
Oscillator - Derivative Oscillator — Constance Brown’s double-smoothed RSI histogram.
- Detrended
StdDev - Detrended (residual) standard deviation over the last
periodinputs. - Disparity
Index - Disparity Index — the percentage gap between price and its moving average.
- Distance
Ssd - Sum of squared deviations between two price series, normalised to a common start — the classic Gatev et al. pairs-selection distance.
- Doji
- Doji — a candle whose body is negligible relative to its range.
- Doji
Star - Doji Star — a 2-bar reversal warning. A long trending body is followed by a doji whose tiny body gaps away in the direction of the trend, the indecision hinting the move is about to turn.
- Donchian
- Donchian Channels: rolling highest high / lowest low envelopes.
- Donchian
Output - Donchian Channels output.
- Donchian
Stop - Donchian Channel Stop — the original Turtle-trader exit rule. A long is
trailed at the lowest low of the last
periodbars; a short at the highest high. There is no ATR, no multiplier, and no flip-bit — the two levels are always emitted and the caller selects whichever side matches the position. - Donchian
Stop Output - Donchian Channel Stop output: the long-side and short-side trailing stops.
- Double
Bollinger - Double Bollinger Bands: two concentric Bollinger envelopes (Kathy Lien).
- Double
Bollinger Output - Double Bollinger Bands output: two concentric bands at
k_innerandk_outerstandard deviations around a shared SMA middle. - Double
TopBottom - Double Top / Double Bottom — a two-peak (or two-trough) reversal pattern.
- Downside
GapThree Methods - Downside Gap Three Methods — a 3-bar bearish continuation. Two black candles decline with a downside body gap between them, then a white candle opens inside the second body and closes inside the first body, partially filling the gap without erasing the prior decline.
- Dpo
- Detrended Price Oscillator — strips the trend out of price to expose its shorter cycles.
- Dragonfly
Doji - Dragonfly Doji — a single-bar bullish reversal. Open, close, and high sit at the top of the bar while a long lower shadow shows price was driven down hard and then bid all the way back to the open — buyers rejecting the lows.
- Drawdown
Duration - Cumulative drawdown duration in bars.
- Dumpling
Top - Dumpling Top — the bearish mirror of the
FryPanBottom: a gently rounded top (dome) across the window, confirmed by a close back below where it started. - Dx
- Wilder’s Directional Movement Index (
DX). - Dynamic
Momentum Index - Dynamic Momentum Index — Tushar Chande’s RSI whose lookback shrinks in volatile markets and lengthens in calm ones.
- Ease
OfMovement - Richard Arms’ Ease of Movement — how far price travels per unit of volume.
- Effective
Spread - Effective Spread — twice the signed deviation of an executed trade price from the prevailing mid, expressed in basis points of the mid.
- Ehlers
Stochastic - Ehlers’ Adaptive Stochastic.
- Ehma
- Exponential Hull Moving Average: the Hull construction built from EMAs instead of WMAs.
- Elder
Impulse - Alexander Elder’s Impulse System — a tri-state momentum gauge combining the
slope of an
EMAtrend filter with the slope of theMACDhistogram. - Elder
Ray - Elder Ray — Alexander Elder’s Bull Power / Bear Power oscillator.
- Elder
RayOutput - One Elder Ray reading: the bull and bear power for a bar.
- Elder
Safe Zone - Elder
SafeZoneStop — Alexander Elder’s stop placed a multiple of the average market noise away from price. - Elder
Safe Zone Output - Output of
ElderSafeZone: the active stop level and the trend direction. - Ema
- Exponential Moving Average with smoothing factor
alpha = 2 / (period + 1). - Empirical
Mode Decomposition - Ehlers’ adaptation of Empirical Mode Decomposition (EMD).
- Engulfing
- Engulfing — a 2-bar reversal pattern. The current candle’s body fully engulfs the prior candle’s body and points in the opposite direction.
- Equivolume
- Equivolume — Richard Arms’ charting style rendered as numbers: each bar is a “box” whose height is its price range and whose width is its volume relative to the recent average.
- Equivolume
Output - Output of
Equivolume: the box’s price height and its volume-relative width. - Estimated
Leverage Ratio - Estimated Leverage Ratio (ELR) — open interest relative to the aggregate long+short position size, a proxy for how leveraged outstanding positions are.
- Even
Better Sinewave - Ehlers’ Even Better Sinewave (EBSW) — a self-normalising cycle oscillator
that swings cleanly in
[−1, +1]regardless of price amplitude. - Evening
Doji Star - Evening Doji Star — a 3-bar bearish top reversal. A long white bar extends the advance, a doji gaps up above it (the star of indecision), then a black bar gaps back down and closes deep into the first body, confirming the turn.
- Evwma
- Christian P. Fries’ Elastic Volume-Weighted Moving Average.
- Ewma
Volatility - EWMA Volatility — the
RiskMetricsexponentially-weighted estimate of the volatility of log returns. - Expectancy
- Expectancy — the expected return per trade expressed in units of average
loss (the “R-multiple” expectancy) over the last
periodreturns. - Falling
Three Methods - Falling Three Methods — a 5-bar bearish continuation. A long black candle is followed by three small bars that drift up but stay inside its range (a brief rest), then a second long black candle closes below the first, resuming the decline.
- Fama
- Scalar wrapper that exposes only the FAMA line from a
Mamaindicator. - FibArcs
- Fibonacci Arcs (
FibArcs). - FibArcs
Output - Fibonacci Arc prices evaluated at the current bar.
- FibChannel
- Fibonacci Channel (
FibChannel). - FibChannel
Output - Fibonacci Channel line prices evaluated at the current bar.
- FibConfluence
- Fibonacci Confluence (
FibConfluence). - FibConfluence
Output - The strongest Fibonacci confluence zone found across recent swing legs.
- FibExtension
- Fibonacci Extension (
FibExtension). - FibExtension
Output - Fibonacci Extension levels for the most recent swing leg.
- FibFan
- Fibonacci Fan (
FibFan). - FibFan
Output - Fibonacci Fan line prices evaluated at the current bar.
- FibProjection
- Fibonacci Projection (
FibProjection). - FibProjection
Output - Fibonacci Projection levels (the C→D target zone of a measured move).
- FibRetracement
- Fibonacci Retracement (
FibRetracement). - FibRetracement
Output - Fibonacci Retracement levels for the most recent swing leg.
- FibTime
Zones - Fibonacci Time Zones (
FibTimeZones). - FibTime
Zones Output - Where the current bar sits relative to the Fibonacci time-zone grid anchored on the most recent confirmed pivot.
- Fibonacci
Pivots - Fibonacci Pivot Points — the classic pivot plus three resistances and supports spaced by the Fibonacci ratios 0.382 / 0.618 / 1.000 applied to the prior bar’s range.
- Fibonacci
Pivots Output - Fibonacci Pivot Points output: pivot plus three Fib-spaced resistances and supports.
- Fisher
Rsi - Fisher RSI — the Fisher transform applied to a normalised
Rsi. - Fisher
Transform - Ehlers’ Fisher Transform of price.
- Flag
Pennant - Flag / Pennant — a brief consolidation against a sharp prior move (the “pole”), resolving in the pole’s direction.
- Footprint
- Footprint — the buy/sell volume profile of a bar, bucketed by price.
- Footprint
Level - One price bucket of a
Footprint: the buy- and sell-initiated volume that traded there since the last reset. - Footprint
Output - The full footprint of a bar: one
FootprintLevelper touched price bucket, sorted ascending by price. - Force
Index - Alexander Elder’s Force Index — price change scaled by volume, EMA-smoothed.
- Fractal
Chaos Bands - Fractal Chaos Bands: a step-function envelope of the most recent Bill Williams fractal highs and lows.
- Fractal
Chaos Bands Output - Fractal Chaos Bands output.
- Frama
- Ehlers’ Fractal Adaptive Moving Average.
- FryPan
Bottom - Frying Pan Bottom — a gently rounded bottom across the lookback window: prices decline, flatten near the centre, then recover above where they started.
- Funding
Basis - Funding Basis — the relative basis between the perpetual mark price and the spot index it tracks.
- Funding
Implied Apr - Funding-Implied APR — the perpetual’s per-interval funding rate scaled to an annualised rate.
- Funding
Rate - Funding Rate — the funding rate carried by each derivatives tick.
- Funding
Rate Mean - Funding Rate Rolling Mean — the arithmetic mean of the funding rate over the
trailing window of
windowticks. - Funding
RateZ Score - Funding Rate Z-Score — the latest funding rate expressed in standard
deviations from its rolling mean over the trailing window of
windowticks. - Gain
Loss Ratio - Rolling Gain/Loss Ratio.
- GapSide
BySide White - Gap Side-by-Side White Lines — a 3-bar continuation. After a gap away from the first bar, two white candles of similar size open at roughly the same level (side by side) and hold the gap open, signalling the trend resumes in the gap direction.
- Garch11
- GARCH(1,1) conditional volatility — the square root of the generalized-autoregressive-conditional-heteroskedasticity variance recursion.
- Garman
Klass Volatility - Garman-Klass Volatility — an OHLC realised-volatility estimator.
- Gartley
- Gartley — the classic 5-point (X-A-B-C-D) harmonic pattern, recognised from confirmed swing pivots when the legs fall inside the Gartley Fibonacci windows:
- Gator
Oscillator - Bill Williams’ Gator Oscillator: a convergence/divergence view of the
Alligatorlines. The upper bar is the absolute gap between Jaw and Teeth; the lower bar is the negated absolute gap between Teeth and Lips. - Gator
Oscillator Output - Gator Oscillator output: the two histogram bars drawn above and below the zero line.
- Generalized
Dema - Generalized DEMA — the building block of Tillson’s
T3, exposed on its own. - Geometric
Ma - Geometric Moving Average — the rolling geometric mean of the last
periodinputs. - Golden
Pocket - Golden Pocket (
GoldenPocket). - Golden
Pocket Output - The golden-pocket zone of the most recent swing leg.
- Granger
Causality - Granger causality of
bonaover a rolling window, as an F-statistic. - Gravestone
Doji - Gravestone Doji — a single-bar bearish reversal. Open, close, and low sit at the bottom of the bar while a long upper shadow shows price was pushed up hard and then sold all the way back to the open — sellers rejecting the highs.
- Hammer
- Hammer — a single-bar bullish reversal candidate.
- Hanging
Man - Hanging Man — a single-bar bearish reversal candidate.
- Harami
- Harami — a 2-bar reversal pattern. The current candle’s body sits entirely inside the previous candle’s body and points in the opposite direction.
- Harami
Cross - Harami Cross — large-body-then-contained-doji reversal detector.
- Hasbrouck
Information Share - Hasbrouck Information Share — the share of price-discovery attributable to the first of two synchronised price series (e.g. the same asset on two venues).
- Head
AndShoulders - Head-and-Shoulders / Inverse Head-and-Shoulders — a five-pivot reversal pattern with a central extreme (the head) flanked by two lower/higher shoulders at a similar level, joined by a roughly horizontal neckline.
- Heikin
Ashi - Streaming Heikin-Ashi transform.
- Heikin
Ashi Oscillator - Heikin-Ashi Oscillator — the body of the
HeikinAshicandle (ha_close − ha_open), optionally EMA-smoothed, as an oscillator around zero. - Heikin
Ashi Output - One Heikin-Ashi candle.
- HiLo
Activator HiLoActivator — Robert Krausz’s adaptation of Linda Bradford Raschke and Larry Connors’ “HiLo” rule, popularised by Toby Crabel. Two simple moving averages — of the high and of the low — bracket price; the trailing stop for a long sits at the SMA-of-low, and for a short at the SMA-of-high.- High
LowIndex - High-Low Index — a simple moving average of the record high percent,
100 * new_highs / (new_highs + new_lows). - High
LowRange - High-Low Range — the bar’s high-low range expressed as a fraction of its close price.
- High
LowVolume Nodes - High/Low Volume Nodes — the price levels of greatest and least acceptance in a rolling volume profile.
- High
LowVolume Nodes Output - Output of
HighLowVolumeNodes: the price of the highest- and lowest-volume node in the profile. - High
Wave - High-Wave — a single-bar extreme-indecision signal. A small body with very long shadows on both sides: price swung far up and far down yet finished near the open, a sign that trend conviction has evaporated.
- Highpass
Filter - Ehlers’ two-pole Highpass Filter — strips the low-frequency trend from a price series, leaving the higher-frequency cyclic and noise content.
- Hikkake
- Hikkake — a 3-bar trap. An inside bar (bar2 fully contained by bar1) sets up a breakout that immediately fails on bar3, trapping breakout traders and pointing the opposite way.
- Hikkake
Modified - Modified Hikkake — a close-confirmed variant of the
Hikkaketrap. An inside bar is followed by a bar that breaks out and is immediately rejected: it pierces the inside bar’s range intrabar but closes back inside, a stronger signal than the plain breakout setup. - Hilbert
Dominant Cycle - Ehlers’ Hilbert Transform–based Dominant Cycle period estimator.
- Historical
Volatility - Historical Volatility — the annualised standard deviation of log returns.
- Hma
- Hull Moving Average:
WMA(2 * WMA(n/2) - WMA(n), sqrt(n)). - Holt
Winters - Holt’s linear method — double exponential smoothing with a level and a trend component.
- Homing
Pigeon - Homing Pigeon — a 2-bar bullish reversal. Two black candles in a decline, the second a small body sitting entirely inside the first body (a same-colour harami). The shrinking range signals selling pressure is fading.
- HtDc
Phase - Ehlers’ Hilbert Transform Dominant Cycle Phase (
HT_DCPHASE). - HtPhasor
- Ehlers’ Hilbert Transform Phasor (
HT_PHASOR). - HtPhasor
Output - In-phase and quadrature components of the Hilbert transform phasor.
- HtTrend
Mode - Ehlers’ Hilbert Transform Trend Mode (
HT_TRENDMODE). - Hurst
Channel - Hurst Channel: an SMA centerline wrapped by a rolling high-low range.
- Hurst
Channel Output - Hurst Channel output.
- Hurst
Exponent - Hurst Exponent of the last
periodvalues, estimated by rescaled-range (R/S) analysis. - Ichimoku
- Ichimoku Kinko Hyo indicator.
- Ichimoku
Output - All five Ichimoku lines at one step.
- Identical
Three Crows - Identical Three Crows — a 3-bar bearish reversal: three consecutive red candles with steadily lower closes where each candle opens at (or very near) the prior candle’s close, so the bodies stack in an identical staircase.
- InNeck
- In-Neck — a 2-bar bearish continuation, slightly stronger than On-Neck. A long black candle in a decline is followed by a white candle that opens below the black bar’s low and closes just barely into the black body, around its close level. The shallow recovery still favours the sellers.
- Inertia
- Donald Dorsey’s Inertia — a Linear-Regression-smoothed
RVI(Relative Vigor Index). The endpoint of ann-bar least-squares fit of theRVIseries is taken as the indicator’s reading, smoothing the underlying ratio while preserving its trend direction. - Information
Ratio - Rolling Information Ratio.
- Initial
Balance - Session Initial Balance (first N bars).
- Initial
Balance Output - Initial Balance output: the high / low of the first N bars of a session.
- Instantaneous
Trendline - Ehlers’ Instantaneous Trendline (ITrend).
- Intraday
Intensity - Intraday Intensity Index — David Bostian’s cumulative line that weights each bar’s volume by where the close lands inside the bar’s range.
- Intraday
Momentum Index - Intraday Momentum Index — Tushar Chande’s RSI built from the open-to-close move instead of the close-to-close move.
- Intraday
Volatility Profile - Return volatility bucketed by local time of day.
- Intraday
Volatility Profile Output - Intraday Volatility Profile output: the per-bucket return standard deviation.
- Inverse
Fisher Transform - Inverse Fisher Transform of a scaled scalar input.
- Inverted
Hammer - Inverted Hammer — a single-bar bullish reversal candidate.
- Jarque
Bera - Jarque-Bera — the Jarque-Bera test statistic measuring how far a window’s distribution departs from normal, via its skewness and excess kurtosis.
- Jma
- Mark Jurik’s adaptive moving average. The original algorithm is proprietary
and Jurik Research has never published the full source. This implementation
follows the widely-used three-stage filter reconstruction circulated since
the 1999 TASC article on the indicator — the same form used by most
open-source ports (
TradingViewPine,pandas-ta, various MQL ports): - Jump
Indicator - Jump Indicator — a discrete
{−1, 0, +1}flag for whether the current log return is an outlier relative to the trailing volatility of returns. - KagiBar
- One completed Kagi line segment (the vertical run between two reversals).
- Kagi
Bars - Kagi bar builder using the fixed reversal-amount method on close prices.
- Kalman
Hedge Ratio - Dynamic hedge ratio between two series, estimated online with a Kalman filter.
- Kalman
Hedge Ratio Output - Output of
KalmanHedgeRatio. - Kama
- Kaufman’s Adaptive Moving Average.
- Kase
DevStop - Kase
DevStop— Cynthia Kase’s volatility stop, built on the standard deviation of the two-bar true range rather than a single-bar ATR. - Kase
DevStop Output - Output of
KaseDevStop: the active trailing-stop level and the trend direction it protects. - Kase
Permission Stochastic - Cynthia Kase’s Permission Stochastic: a stochastic oscillator smoothed twice, whose fast/slow relationship grants or denies “permission” to trade in the direction of a higher-timeframe signal.
- Kase
Permission Stochastic Output - Kase Permission Stochastic output: a fast and a slow line.
- Kelly
Criterion - Rolling Kelly Criterion fraction.
- Keltner
- Keltner Channels: an EMA centerline with bands sized by ATR.
- Keltner
Output - Keltner Channels output.
- Kendall
Tau - Kendall’s tau-b — a rank correlation between two synchronised series based on the balance of concordant and discordant pairs, with a tie correction.
- Kicking
- Kicking — a 2-bar reversal of two opposite-coloured marubozu separated by a gap. A shadowless candle is “kicked” the other way by a shadowless candle of the opposite colour that gaps clear of it — a violent change of control. It is trend-agnostic: the gap direction alone defines the signal.
- Kicking
ByLength - Kicking-by-Length — the
Kickingpattern with the signal taken from the longer of the two marubozu rather than from the gap direction. When the two shadowless candles differ in size, the bigger one is treated as the dominant force. - Kst
- Pring’s Know Sure Thing — a long-horizon momentum oscillator that combines
four
ROCseries at different lookbacks, each smoothed by its ownSMA, summed with Pring’s fixed weights1, 2, 3, 4: - KstOutput
KSToutput: the indicator line and itsSMAsignal line.- Kurtosis
- Rolling excess kurtosis of the last
periodvalues. - Kvo
- Stephen J. Klinger’s Volume Oscillator — a long/short-term volume-force MACD with trend-aware cumulative-money-flow weighting.
- Kyles
Lambda - Kyle’s Lambda — the rolling ordinary-least-squares slope of mid-price changes on signed trade volume, the canonical measure of market depth / price impact.
- Ladder
Bottom - Ladder Bottom — a 5-bar bullish reversal. Three long black candles step the market down like rungs of a ladder, a fourth black candle finally shows an upper shadow (the first sign of buying), and a white candle then gaps up into its body to confirm the turn.
- Laguerre
Rsi - John Ehlers’ Laguerre RSI — a four-stage Laguerre polynomial filter wrapped
in an
RSI-style up/down accumulator. The single tuning parametergammain[0, 1]trades lag for smoothness: smallgammais fast and noisy, largegammais slow and smooth (Ehlers recommends0.5). - Lead
LagCross Correlation - Rolling lead–lag cross-correlation between two synchronised series.
- Lead
LagCross Correlation Output - Output of
LeadLagCrossCorrelation: the lead/lag offset and its correlation. - LinReg
Angle - Linear Regression Angle — the slope of the rolling least-squares fit, expressed as an angle in degrees.
- LinReg
Channel - Linear Regression Channel: rolling least-squares line with
±k·σbands sized by the residuals about the fitted line. - LinReg
Channel Output - Linear Regression Channel output.
- LinReg
Intercept - Linear Regression Intercept (
LINEARREG_INTERCEPT): the interceptaof the rolling least-squares fity = a + b·xover the lastperiodinputs, indexedx = 0, 1, …, period − 1. - LinReg
Slope - Linear Regression Slope — the slope of a rolling least-squares fit.
- Linear
Regression - Linear Regression — the endpoint of a rolling least-squares fit.
- Liquidation
Features - Liquidation Features — decomposes the long- and short-side liquidation notional carried by each tick into a small feature vector.
- Liquidation
Features Output - The liquidation feature vector emitted by
LiquidationFeaturesfor one tick. - LogReturn
- Logarithmic return over a
period-bar lag:ln(price_t / price_{t−period}). - Long
Legged Doji - Long-Legged Doji — a single-bar indecision signal. A doji with long shadows on both sides: price ranged widely up and down yet closed essentially where it opened, a tug-of-war that often precedes a turn.
- Long
Line - Long Line — a single candle whose range is longer than the recent average and
whose body dominates that range (a solid directional bar). Because “long” only
has meaning relative to recent activity, the detector compares each candle’s
range against a rolling average of the previous
periodranges. - Long
Short Ratio - Long/Short Ratio — the aggregate long size divided by the aggregate short size carried by each tick.
- MaEnvelope
- Moving Average Envelope: an SMA centerline with constant-percent bands on each side.
- MaEnvelope
Output - Moving Average Envelope output: SMA middle line wrapped by a fixed-percent envelope on either side.
- MacdExt
- MACD Extended (
MACDEXT): MACD with an independently selectableMaTypefor each of the fast, slow and signal lines. - MacdFix
- MACD Fix (
MACDFIX): the classic MACD with the fast and slow EMAs fixed at 12 and 26, leaving only the signal period configurable. - Macd
Histogram - MACD Histogram — the
macd − signalbar ofMacdIndicatoras a standalone scalar indicator. - Macd
Indicator - MACD = EMA(fast) − EMA(slow), with a signal EMA on top.
- Macd
Output - MACD output: the three classic series at a given step.
- Mama
- Ehlers’ MESA Adaptive Moving Average (MAMA).
- Mama
Output - MAMA + FAMA output pair.
- Market
Facilitation Index - Bill Williams’ Market Facilitation Index — how much price movement the market produces per unit of volume.
- Marubozu
- Marubozu — a single-bar strong-continuation candle with body equal to range and (almost) no shadows.
- Mass
Index - Mass Index — Donald Dorsey’s range-expansion indicator.
- MatHold
- Mat Hold — a 5-bar bullish continuation. A long white candle is followed by a brief three-bar pullback that gaps up and then drifts on small bodies without surrendering much ground, after which a white candle breaks to a new high and the uptrend resumes.
- Matching
Low - Matching Low — a 2-bar bullish reversal. Two black candles in a decline close at the same level: the second sell-off cannot push price any lower, so the matching closes mark a support floor.
- MaxDrawdown
- Rolling Maximum Drawdown — the deepest peak-to-trough decline within the trailing window.
- McClellan
Oscillator - McClellan Oscillator — the difference between a 19-period and a 39-period exponential moving average of ratio-adjusted net advances.
- McClellan
Summation Index - McClellan Summation Index — the running cumulative sum of the
McClellanOscillator. - McGinley
Dynamic - John
McGinley’s “Dynamic” — a self-adjusting moving average that speeds up in downtrends and slows down in uptrends to track price more closely than a fixed-period MA. - Median
Absolute Deviation - Median Absolute Deviation of the last
periodvalues. - Median
Channel - Median Channel: a robust analogue of Bollinger Bands built from the rolling median and the median absolute deviation (MAD).
- Median
Channel Output - Median Channel output.
- Median
Ma - Median Moving Average — the rolling median of the last
periodinputs. - Median
Price - Median Price — the bar’s
(high + low) / 2. - Mfi
- Money Flow Index: a volume-weighted version of RSI.
- Microprice
- Microprice — the size-weighted mid of the top of book.
- MidPoint
- Midpoint (
MIDPOINT): the average of the highest and lowest value of the input series over the lastperiodpoints. - MidPrice
- Midpoint Price (
MIDPRICE): the average of the highest high and the lowest low over the lastperiodcandles. - MinusDi
- Wilder’s Minus Directional Indicator (
MINUS_DI). - MinusDm
- Wilder’s Minus Directional Movement (
MINUS_DM). - Modified
MaStop - Modified-MA Stop — a trailing stop whose line is the Modified Moving Average (SMMA / Wilder’s RMA) of price, allowed to move only in the trend’s favour.
- Modified
MaStop Output - Output of
ModifiedMaStop: the active stop level and the trend direction. - Mom
- Momentum: the raw price change over
periodbars,price_t − price_{t−period}. - Morning
Doji Star - Morning Doji Star — a 3-bar bullish bottom reversal. A long black bar extends the decline, a doji gaps down below it (the star of indecision), then a white bar gaps back up and closes deep into the first body, confirming the turn.
- Morning
Evening Star - Morning Star / Evening Star — a 3-bar reversal pattern.
- Murrey
Math Lines - Murrey Math Lines — T. H. Murrey’s grid that divides the recent trading range into eighths, each acting as support/resistance.
- Murrey
Math Lines Output - Output of
MurreyMathLines: the nine Murrey Math levels from the bottom (mm0_8, ultimate support) to the top (mm8_8, ultimate resistance). - Naked
Poc - Naked (Virgin) POC — the nearest untested point of control from a prior session: a heavily-traded price the market has not traded back through since.
- Natr
- Normalized Average True Range —
Atrexpressed as a percentage of price. - NewHighs
NewLows - New Highs − New Lows — the number of symbols printing a new period high minus the number printing a new period low across a universe.
- NewPrice
Lines - New Price Lines — the Japanese “shinne” (new-price) exhaustion count: when the
close has made
countconsecutive new highs (or lows), the trend is considered stretched and ripe for a pause or reversal. - Nrtr
- NRTR (Nick Rypock Trailing Reverse) — a percentage trailing-reverse stop that follows the trend extreme and flips when price retraces by a fixed percentage.
- Nrtr
Output - Output of
Nrtr: the trailing-reverse line and the trend direction. - Nvi
- Negative Volume Index (Paul Dysart, popularised by Norman Fosback).
- OIPrice
Divergence - Open-Interest / Price Divergence — the gap between how fast open interest and
the mark price have moved over the trailing window of
windowticks. - OIWeighted
- Open-Interest-Weighted Price — the running mean mark price, weighting each tick by its open interest.
- Obv
- On-Balance Volume: a cumulative signed-volume series.
- OiTo
Volume Ratio - OI-to-Volume Ratio — open interest divided by the tick’s total taker volume, a measure of how much position is held versus turned over.
- Omega
Ratio - Rolling Omega Ratio.
- OnNeck
- On-Neck — a 2-bar bearish continuation. In a decline a long black candle is followed by a white candle that opens below the black bar’s low yet rallies only as far as the black bar’s low (the “neckline”). The feeble bounce shows sellers remain in control.
- Open
Interest Delta - Open-Interest Delta — the change in open interest from the previous tick.
- Open
Interest Momentum - Open-Interest Momentum — the percentage rate of change of open interest over a
period-tick lookback. - Opening
Marubozu - Opening Marubozu — a single-bar strong-momentum candle with a long body and no shadow on the open end. A white opening marubozu opens right at the low (no lower shadow) and may carry a closing shadow above; a black one opens right at the high (no upper shadow) and may carry a closing shadow below. The shaved open end shows the move took off from the bell without hesitation.
- Opening
Range - Session Opening Range (first N bars + breakout distance).
- Opening
Range Output - Opening Range output: high, low and breakout distance from the OR midpoint.
- Order
Book Imbalance Full - Order-Book Imbalance aggregated over the full visible depth of each side.
- Order
Book Imbalance Top1 - Order-Book Imbalance (top-of-book).
- Order
Book Imbalance TopN - Order-Book Imbalance aggregated over the top-N levels of each side.
- Order
Flow Imbalance - Order Flow Imbalance — the rolling sum of best-level order-flow events over
the last
periodorder-book snapshots. - OuHalf
Life - Half-life of mean reversion of the spread
a − b, from an Ornstein–Uhlenbeck fit. - Overnight
Gap - Close-to-open overnight gap as a simple return.
- Overnight
Intraday Return - Overnight / intraday return decomposition, re-anchored at each local day
boundary of
Candle::timestampshifted byutc_offset_minutes. - Overnight
Intraday Return Output - The two return components of the current session.
- Pain
Index - Rolling Pain Index — Thomas Becker’s continuous-pain risk measure.
- Pair
SpreadZ Score - Z-score of the log-spread
ln(a) − β·ln(b)between two assets. - Pairwise
Beta - Rolling Beta of asset
a’s log-returns on assetb’s log-returns. - Parkinson
Volatility - Parkinson Volatility — a high-low realised-volatility estimator.
- Pearson
Correlation - Rolling Pearson correlation between two synchronised series.
- Percent
Above Ma - Percent Above Moving Average — the percentage of symbols in a universe that are trading above their reference moving average.
- PercentB
- Bollinger %b — where price sits within the Bollinger Bands.
- Percentage
Trailing Stop - Percentage Trailing Stop — a fixed-percentage stop that ratchets with the trend and flips to the opposite side on a close-through.
- Perpetual
Premium Index - Perpetual Premium Index — the perpetual’s mark price relative to the spot index it tracks, as a fraction.
- Pgo
- Mark Johnson’s Pretty Good Oscillator — displacement of the close from its
period-barSMA, normalised by theperiod-barEMAof the True Range. - Piercing
Dark Cloud - Piercing Line / Dark Cloud Cover — a 2-bar reversal pattern.
- Pin
- PIN — the Probability of Informed Trading, estimated from the buy/sell order imbalance over a rolling window of trades.
- Pivot
Reversal - Pivot Reversal — emits a reversal breakout signal when price closes through the most recently confirmed swing pivot.
- PlusDi
- Wilder’s Plus Directional Indicator (
PLUS_DI). - PlusDm
- Wilder’s Plus Directional Movement (
PLUS_DM). - Pmo
- Price Momentum Oscillator — Carl Swenlin’s
DecisionPointPMO line. - PnfColumn
- One completed Point-and-Figure column.
- Point
AndFigure Bars - Point-and-Figure bar builder using the fixed box-size, N-box reversal method.
- Polarized
Fractal Efficiency - Polarized Fractal Efficiency: how efficiently price travelled over the last
periodbars, signed by direction and smoothed by an EMA. - Ppo
- Percentage Price Oscillator — MACD expressed as a percentage.
- PpoHistogram
- PPO Histogram — the
ppo − signalbar of the Percentage Price Oscillator. - Profile
Shape - Profile Shape — classifies a rolling volume profile by where its point of
control (POC) sits within the range:
b,P, orD(normal). - Profit
Factor - Rolling Profit Factor.
- Projection
Bands - Projection Bands: forward-projected high/low envelope.
- Projection
Bands Output - Projection Bands output.
- Projection
Oscillator - Projection Oscillator: where the close sits inside the projection bands,
scaled to
0..100. - Psar
- Parabolic Stop And Reverse.
- Pvi
- Positive Volume Index (Paul Dysart, popularised by Norman Fosback).
- Qqe
- QQE — Quantitative Qualitative Estimation (Igor Livshin).
- QqeOutput
- One QQE reading: the smoothed RSI and its volatility-trailing line.
- Qstick
- Qstick: the simple moving average of the body
close - openoverperiodbars. - Quartile
Bands - Quartile Bands: a distribution-based envelope drawn at the rolling quartiles.
- Quartile
Bands Output - Quartile Bands output.
- Quoted
Spread - Quoted Spread — the top-of-book bid-ask spread expressed in basis points of the mid price.
- RSquared
- R² (coefficient of determination) of the rolling least-squares fit.
- Realized
Spread - Realized Spread — twice the signed deviation of a trade price from the mid
that prevails
horizontrades later, expressed in basis points of the trade’s contemporaneous mid. - Realized
Volatility - Realized Volatility — the square root of the sum of squared log returns over
the trailing
periodbars. - Recovery
Factor - Recovery Factor.
- Rectangle
Range - Rectangle / Range — price oscillating between a roughly horizontal support and resistance, a mean-reversion (range-trading) structure.
- Reflex
- Ehlers’ Reflex — a near-zero-lag oscillator that measures how far the smoothed price has deviated from the straight line connecting its endpoints over the lookback.
- Regime
Label - Regime Label — a discrete
{−1, 0, +1}classification of the current volatility regime by where the latest rolling volatility falls within its own recent distribution. - Relative
StrengthAB - Comparative relative strength of asset
aagainst assetb. - Relative
Strength Output - Output of
RelativeStrengthAB. - Renko
Bars - Renko bar builder using the fixed box-size method on close prices.
- Renko
Brick - One completed Renko brick.
- Renko
Trailing Stop - Renko Trailing Stop — a trailing stop that follows a Renko-style brick
anchor: the stop only moves when price has advanced (or fallen) by at least
one full
block_size, and then jumps the same fixed distance. - Rickshaw
Man - Rickshaw Man — a single-bar indecision signal. A long-legged doji whose tiny body sits near the middle of a wide range, the most balanced form of indecision: neither side controlled the close and the midpoint pins it.
- Rising
Three Methods - Rising Three Methods — a 5-bar bullish continuation. A long white candle is followed by three small bars that drift back but stay inside its range (a brief rest), then a second long white candle closes above the first, resuming the advance.
- Rmi
- Relative Momentum Index — RSI generalised to a multi-bar momentum lookback.
- Roc
- Rate of Change as a percentage:
(close - close[period]) / close[period] * 100. - Rocp
- Rate of Change Percentage (
ROCP):(close - close[period]) / close[period]. - Rocr
- Rate of Change Ratio (
ROCR):close / close[period]. - Rocr100
- Rate of Change Ratio × 100 (
ROCR100):close / close[period] · 100. - Rogers
Satchell Volatility - Rogers-Satchell Volatility — a drift-free OHLC realised-volatility estimator.
- Roll
Measure - Roll Measure — the effective bid-ask spread implied by the negative first-order serial covariance of trade-price changes (Roll, 1984).
- Rolling
Correlation - Rolling correlation of the returns of two synchronised series.
- Rolling
Covariance - Rolling covariance of the returns of two synchronised series.
- Rolling
Iqr - Interquartile Range of the last
periodvalues:Q3 − Q1. - Rolling
MinMax Scaler - Rolling Min-Max Scaler — maps the current value onto
[0, 1]relative to the minimum and maximum of the trailing window. - Rolling
Percentile Rank - Percentile rank of the most-recent value within the last
periodvalues, in[0, 100]. - Rolling
Quantile - The
quantile-th quantile of the lastperiodvalues, with linear interpolation between order statistics. - Rolling
Vwap - Rolling-window VWAP: a finite-memory variant for bots that don’t want unbounded accumulation.
- Roofing
Filter - Ehlers’ Roofing Filter — a bandpass formed by feeding a 2-pole high-pass
into a
SuperSmoother. - Rsi
- Relative Strength Index (Wilder, 1978).
- Rsx
- RSX — a noise-free RSI built from Jurik’s three-stage smoothing cascade.
- Rvi
- Relative Vigor Index — Donald Dorsey’s ratio of intra-bar drive (close − open)
to intra-bar range (high − low), averaged over a
period-bar window. - RviVolatility
- Relative Volatility Index — Donald Dorsey’s RSI-shaped volatility gauge.
- Rwi
- Mike Poulos’ Random Walk Index — a trend-vs.-random-walk indicator that asks “how many standard deviations away from a random walk is the current move?”.
- RwiOutput
- Random Walk Index output: the bullish (high) and bearish (low) lines.
- Sample
Entropy - Sample Entropy (
SampEn) — Richman & Moorman’s measure of how regular (i.e. predictable) a series is: the negative log conditional probability that two sub-sequences similar formpoints stay similar at the next point. - SarExt
- Parabolic SAR Extended (
SAREXT): Wilder’s Parabolic SAR with TA-Lib’s extended controls. - SeasonalZ
Score - Seasonal Z-Score keyed on hour of day.
- Separating
Lines - Separating Lines — a 2-bar continuation. After a counter-trend candle, the next candle of the opposite colour opens right back at the prior open and runs as an opening marubozu in the trend direction, so the trend “separates” from the pullback and resumes.
- Session
High Low - Running high / low of the current session, keyed off the wall-clock day of
Candle::timestamp. - Session
High LowOutput - Session High/Low output: the high and low established so far in the current session.
- Session
Range - Per-session high-low range, keyed off the wall-clock hour of
Candle::timestamp. - Session
Range Output - Session Range output: the current day’s range within each session.
- Session
Vwap - Volume-weighted average price reset at each local day boundary.
- Shannon
Entropy - Shannon Entropy — the Shannon information entropy (in bits) of the distribution of values in a rolling window, after binning them into a fixed number of equal-width buckets.
- Shark
- Shark — a 5-point (X-A-B-C-D) harmonic pattern characterised by an
expansion leg (AB longer than XA) and a
0.886–1.13D completion: - Sharpe
Ratio - Rolling Sharpe Ratio over
periodperiod-returns. - Shooting
Star - Shooting Star — a single-bar bearish reversal candidate.
- Short
Line - Short Line — a single candle whose range is shorter than the recent average
while its body still dominates that (small) range: a compact directional bar.
As with
LongLine, “short” only has meaning relative to recent activity, so the detector compares each candle’s range against a rolling average of the previousperiodranges. - Signed
Volume - Signed Volume — the size of each trade signed by its aggressor side.
- Sine
Wave - Ehlers’ Sine Wave indicator (sine + leadsine).
- Sine
Weighted Ma - Sine-Weighted Moving Average — a windowed average whose weights follow one half-cycle of a sine wave.
- Single
Prints - Single Prints — the number of price levels (bins) in the rolling profile that were touched by exactly one bar, marking zones of low acceptance / fast movement.
- Skewness
- Rolling Pearson skewness of the last
periodvalues. - Sma
- Simple Moving Average over a fixed window.
- Smi
- William Blau’s Stochastic Momentum Index — a doubly-smoothed,
±100-bounded oscillator built from the close’s distance to the centre of the recent high-low range. - Smma
- Smoothed Moving Average — Wilder’s running moving average, also known as RMA.
- Smoothed
Heikin Ashi - Smoothed Heikin-Ashi — the
HeikinAshitransform applied to EMA-smoothed OHLC, for an even cleaner trend view. - Smoothed
Heikin Ashi Output - One smoothed Heikin-Ashi candle.
- Sortino
Ratio - Rolling Sortino Ratio.
- Spearman
Correlation - Rolling Spearman rank correlation between two synchronised series.
- Spinning
Top - Spinning Top — a single-bar indecision candle with a small body and two long shadows.
- Spread
Ar1Coefficient - First-order autoregression coefficient
ρof the spreada − b. - Spread
Bollinger Bands - Bollinger bands on the spread
a − bof two series. - Spread
Bollinger Bands Output - Output of
SpreadBollingerBands. - Spread
Hurst - Hurst exponent of the spread
a − bover a rolling window. - Stalled
Pattern - Stalled Pattern (also called Deliberation) — a 3-bar bearish reversal warning. Two long white candles push higher, then a small-bodied white candle opens at or near the top of the second body and barely advances — the rally is running out of breath, hinting that buyers are losing control.
- Standard
Error - Standard Error of the regression line fit over the last
periodinputs. - Standard
Error Bands - Standard Error Bands: linear-regression line wrapped by the standard error of the fit.
- Standard
Error Bands Output - Standard Error Bands output.
- Starc
Bands - STARC Bands (Stoller Average Range Channel): a close-SMA centerline with bands sized by ATR.
- Starc
Bands Output - STARC Bands output.
- Stc
- Doug Schaff’s Trend Cycle — a doubly-
Stochastic-smoothed MACD that produces a bounded[0, 100]reading reacting faster thanMACDitself. - StdDev
- Rolling population standard deviation over the last
periodvalues. - Step
Trailing Stop - Step Trailing Stop — a stop that ratchets in fixed-size discrete steps and flips to the opposite side on a close-through.
- Stick
Sandwich - Stick Sandwich — a 3-bar bullish reversal. A black candle is followed by a white candle that trades entirely above the first close, then a second black candle drives price back down to close at the same level as the first. The matching closes “sandwich” the white candle and mark a support floor.
- Stoch
Rsi - Stochastic RSI — the Stochastic Oscillator formula applied to the RSI series instead of to price.
- Stochastic
- Fast Stochastic Oscillator.
- Stochastic
Cci - Stochastic CCI — the stochastic oscillator computed over the
Cciinstead of price. - Stochastic
Output - Stochastic Oscillator output.
- Super
Smoother - Ehlers’ 2-pole Butterworth-style “SuperSmoother” lowpass filter.
- Super
Trend SuperTrend— an ATR-banded trailing stop that flips sides on a close through the band.- Super
Trend Output SuperTrendoutput: the trailing-stop level and the trend direction.- T3
- Tillson’s T3 — a six-fold cascaded EMA recombined with a volume factor
v. - Taker
BuySell Ratio - Taker Buy/Sell Ratio — the taker (market-order) buy volume divided by the taker sell volume carried by each tick.
- Takuri
- Takuri — a single-bar bullish reversal, a stricter Dragonfly Doji. Open, close, and high sit at the very top of the bar with a negligible upper shadow, while an exceptionally long lower shadow shows price was driven sharply down and then bid all the way back — an emphatic rejection of the lows.
- Tasuki
Gap - Tasuki Gap — a 3-bar continuation. Two same-coloured candles open a body gap in the trend direction, then an opposite-coloured candle opens inside the second body and closes back into the gap without filling it — the gap holds, so the trend is expected to continue.
- TdCamouflage
- TD Camouflage — 1-bar hidden-strength/weakness reversal detector.
- TdClop
- TD Clop — 2-bar open/close engulfing reversal detector.
- TdClopwin
- TD Clopwin — 2-bar inside-body compression pattern detector.
- TdCombo
- TD Combo — aggressive countdown variant.
- TdCountdown
- TD Countdown — standalone 13-bar countdown.
- TdDWave
- Tom DeMark TD D-Wave — a streaming wave counter that labels the market’s
swing sequence with an Elliott-style
1–5impulse /A–Ccorrection count. - TdDe
Marker - TD DeMarker bounded oscillator.
- TdDifferential
- TD Differential — 2-bar reversal pattern detector.
- TdLines
- TD Lines (TDST) — setup-derived horizontal support / resistance.
- TdLines
Output - Output of
TdLines: the latest TDST resistance / support pair. - TdMoving
Average - Tom DeMark TD Moving Averages — a two-line trend ribbon (ST1 fast, ST2 slow) computed on the median price, whose relationship defines the trend.
- TdMoving
Average Output - Output of
TdMovingAverage: the fast (st1) and slow (st2) moving-average lines. - TdOpen
- TD Open — gap-and-fade reversal detector.
- TdPressure
- TD Pressure volume-weighted pressure oscillator.
- TdPropulsion
- TD Propulsion — 2-bar trend-continuation thrust detector.
- TdRange
Projection - TD Range Projection — next-bar high/low pivot.
- TdRange
Projection Output - Output of
TdRangeProjection: the projected high and low for the next bar. - TdRei
- TD Range Expansion Index oscillator.
- TdRisk
Level - TD Risk Level — setup-derived protective-stop levels.
- TdRisk
Level Output - Output of
TdRiskLevel: the latest buy- and sell-side protective stop levels derived from the most-recently-completed setup in each direction. Either field isf64::NANuntil the first setup in that direction completes. - TdSequential
- TD Sequential state machine: combined Setup (1-9) + Countdown (1-13).
- TdSequential
Output - Output of
TdSequential: setup count, countdown count, and active countdown direction. - TdSetup
- TD Setup state machine: counts consecutive bars meeting DeMark’s setup
comparison rule against the close
lookbackbars earlier. - TdTrap
- TD Trap — inside-bar breakout signal detector.
- Tema
- Triple Exponential Moving Average:
3 * EMA1 - 3 * EMA2 + EMA3, whereEMA2 = EMA(EMA1)andEMA3 = EMA(EMA2). - Term
Structure Basis - Term-Structure Basis — the relative basis between a dated (e.g. quarterly) futures price and the spot index.
- Three
Drives - Three Drives — a symmetric harmonic pattern of two visible drives separated
by two retracements, read from the last five pivots
X-A-B-C-D(the two drive legs areA→BandC→D): - Three
Inside - Three Inside Up / Down — a confirmed Harami: the first two bars form a Harami and the third bar confirms direction by closing beyond the first bar’s body.
- Three
Line Break - Three Line Break — the trend direction of a line-break (“kakushi”) chart, where
a reversal requires the close to break the extreme of the last
lineslines. - Three
Line Strike - Three Line Strike — a 4-bar pattern: three candles marching in one direction (a three-soldiers / three-crows advance) followed by a fourth candle of the opposite colour that opens beyond the third candle and closes back past the first candle’s open, “striking” through the whole run.
- Three
Outside - Three Outside Up / Down — a confirmed Engulfing: the first two bars form an Engulfing pattern and the third bar confirms direction.
- Three
Soldiers OrCrows - Three White Soldiers / Three Black Crows — a 3-bar continuation pattern of three consecutive long candles in the same direction, each opening inside the previous body and closing beyond it.
- Three
Stars InSouth - Three Stars in the South — a rare 3-bar bullish reversal: three shrinking red candles where each session carves out a higher low and contracts toward a tiny black marubozu, signalling exhausted selling at the bottom of a decline.
- Thrusting
- Thrusting — a 2-bar bearish continuation, deeper than In-Neck but short of a piercing reversal. A long black candle in a decline is followed by a white candle that opens below the black bar’s low and closes well into the black body — but still below its midpoint, so the bounce is not yet a reversal.
- Tick
Index - TICK Index — the instantaneous net of advancing minus declining issues across
a universe,
advancers - decliners. - Tii
- M.H. Pee’s Trend Intensity Index — a
[0, 100]oscillator that measures what fraction of the recent SMA deviations are positive. - Time
Based Stop - Time-Based Stop — exits a position purely on elapsed bars, independent of price.
- Time
OfDay Return Profile - Mean bar return bucketed by local time of day.
- Time
OfDay Return Profile Output - Time-of-Day Return Profile output: the per-bucket mean return.
- Tower
TopBottom - Tower Top / Bottom — three-bar reversal detector.
- TpoProfile
- Rolling TPO (Time Price Opportunity) Profile over the last
periodcandles. - TpoProfile
Output - TPO Profile output: the price domain plus the per-bin time-period counts.
- Trade
Imbalance - Trade Imbalance — the signed buy/sell volume imbalance over the trailing
window of
windowtrades. - Trade
Sign Autocorrelation - Trade-Sign Autocorrelation — the lag-1 autocorrelation of the trade sign
(
+1buy,−1sell), measuring how strongly signed order flow persists. - Trade
Volume Index - Trade Volume Index — a cumulative line that adds volume while price ticks up and subtracts it while price ticks down, where “up” and “down” are decided by a minimum tick value rather than any change.
- Trend
Label - Trend Label — a discrete
{−1, 0, +1}classification of the local trend from the sign of the ordinary-least-squares slope over the lastperiodvalues. - Trend
Strength Index - Trend Strength Index: fits an ordinary-least-squares line to the last
periodprices against their bar index and reports the coefficient of determinationr^2, signed by the slope of the fit. - Trendflex
- Ehlers’ Trendflex — the trend-sensitive companion to
Reflex: it averages how far the SuperSmoothed price sits above or below its values over the lookback, then self-normalises. - Treynor
Ratio - Rolling Treynor Ratio.
- Triangle
- Triangle — a consolidation pattern bounded by two converging trendlines, detected from the two most recent swing highs and lows.
- Trima
- Triangular Moving Average — a simple moving average applied twice, which triangular-weights the window so the middle bars carry the most weight and the edges the least.
- Trin
- TRIN (Arms Index) —
(advancers / decliners) / (advancing volume / declining volume). - Triple
TopBottom - Triple Top / Triple Bottom — a three-peak (or three-trough) reversal pattern, a stronger variant of the double top/bottom.
- Tristar
- Tristar — three-doji star reversal detector.
- Trix
- TRIX: the 1-period percent rate of change of a triple-smoothed EMA.
- True
Range - True Range — the single-bar building block of every ATR-based indicator.
- Tsf
- Time Series Forecast (
TSF): the rolling least-squares line projected one bar past the window. - TsfOscillator
- Time Series Forecast Oscillator — the percentage gap between the close and the one-bar-ahead time-series forecast of the close.
- Tsi
- True Strength Index — William Blau’s double-smoothed momentum oscillator.
- Tsv
- Time Segmented Volume (Don Worden) — a rolling sum of signed volume weighted by the bar’s close-to-close move.
- TtmSqueeze
- TTM Squeeze (John Carter): a Bollinger-vs-Keltner volatility squeeze paired with a detrended-close momentum reading.
- TtmSqueeze
Output - TTM Squeeze output.
- TtmTrend
- TTM Trend: compares the current close to the simple moving average of the
recent median prices
(high + low) / 2. A close above that reference colors the bar as an uptrend (+1.0); a close at or below it as a downtrend (-1.0). - Turn
OfMonth - Turn-of-Month effect: the running mean of daily close-to-close returns for the sessions that fall in the turn-of-month window.
- Tweezer
- Tweezer — a 2-bar reversal pattern where two consecutive candles share an extreme.
- Twiggs
Money Flow - Twiggs Money Flow — a refinement of Chaikin Money Flow that uses true range boundaries and Wilder (exponential) smoothing instead of a simple sum.
- TwoCrows
- Two Crows — a 3-bar bearish reversal pattern that appears after an advance.
- Typical
Price - Typical Price — the bar’s
(high + low + close) / 3. - Ulcer
Index - Ulcer Index — Peter Martin’s downside-only volatility / risk measure.
- Ultimate
Oscillator - Ultimate Oscillator — Larry Williams’ three-timeframe momentum oscillator.
- Unique
Three River - Unique Three River (Bottom) — a 3-bar bullish reversal. A long black candle is followed by a smaller black candle whose body sits inside the first but whose long lower shadow probes a new low, then a small white candle that stays below the second body. The fresh low that fails to hold marks an exhausted decline.
- Universal
Oscillator - Ehlers’ Universal Oscillator — a cycle oscillator that whitens the price
series, SuperSmooths it, then normalises with an automatic gain control (AGC)
to swing in
[−1, +1]. - UpDown
Volume Ratio - Up/Down Volume Ratio — total advancing volume divided by total declining volume across a universe.
- Upside
GapThree Methods - Upside Gap Three Methods — a 3-bar bullish continuation. Two white candles advance with an upside body gap between them, then a black candle opens inside the second body and closes inside the first body, partially filling the gap without erasing the prior advance.
- Upside
GapTwo Crows - Upside Gap Two Crows — a 3-bar bearish reversal that appears after an advance. Two black candles gap up above a long white candle; the second black candle engulfs the first crow yet still closes above the white body, leaving the upside gap open.
- Value
Area - Rolling Value Area indicator over the last
periodcandles. - Value
Area Output - Value Area output: Point of Control, Value Area High and Value Area Low.
- Value
AtRisk - Rolling historical Value-at-Risk.
- Variance
- Rolling population variance over the last
periodvalues. - Variance
Ratio - Lo–MacKinlay variance ratio of the spread
a − bat horizonq. - Vertical
Horizontal Filter - Vertical Horizontal Filter — Adam White’s trend-versus-range gauge.
- Vidya
- Tushar Chande’s Variable Index Dynamic Average — an EMA whose smoothing
factor is scaled by the absolute Chande Momentum Oscillator (
CMO). - Volatility
Cone - Volatility Cone — the current realized volatility positioned within the historical range (“cone”) of realized volatilities over a lookback window.
- Volatility
Cone Output - Output of
VolatilityCone: the current realized volatility together with the envelope (the “cone”) it sits inside over the lookback window. - Volatility
OfVolatility - Volatility of Volatility — the standard deviation of a rolling realized- volatility series (“vol-of-vol”).
- Volatility
Ratio - Schwager’s Volatility Ratio — the current bar’s true range divided by the exponential moving average of the prior true ranges.
- Volty
Stop - Volty Stop — Cynthia Kase’s volatility-anchored trailing stop. The stop is hung off the extreme close recorded since the current trade was opened, not off the most recent bar, which keeps it tight without giving back gains when price pulls back inside the trend.
- Volume
ByTime Profile - Mean traded volume bucketed by local time of day.
- Volume
ByTime Profile Output - Volume-by-Time Profile output: the per-bucket mean volume.
- Volume
Oscillator - Volume Oscillator — the percent difference between a fast and a slow SMA of the bar volume.
- Volume
Price Trend - Volume-Price Trend — a cumulative volume line weighted by percentage price change.
- Volume
Profile - Rolling Volume Profile over the last
periodcandles. - Volume
Profile Output - Volume Profile output: the price domain plus the per-bin volume histogram.
- Volume
Rsi - Volume RSI — the Relative Strength Index computed on volume changes instead of price changes.
- Volume
Weighted Macd - Volume-Weighted MACD — the MACD oscillator computed from volume-weighted moving averages instead of plain EMAs.
- Volume
Weighted Macd Output - Output of
VolumeWeightedMacd: the three classic MACD series, but with the fast and slow averages volume-weighted. - Volume
Weighted Sr - Volume-Weighted Support/Resistance — a band whose edges are the volume-weighted average of the recent highs (resistance) and lows (support), so the levels gravitate toward the prices where trading actually happened.
- Volume
Weighted SrOutput - Output of
VolumeWeightedSr: the volume-weighted support and resistance levels over the lookback. - Vortex
- Vortex Indicator — Botes & Siepman’s pair of oscillators (
VI+,VI−) that capture the relationship between two consecutive bars. - Vortex
Output - Vortex Indicator output: the two directional movement lines.
- Vpin
- VPIN — the Volume-Synchronised Probability of Informed Trading (Easley, López de Prado & O’Hara, 2012).
- Vwap
- Cumulative session VWAP. Call
Indicator::resetat the start of each session (e.g. trading-day boundary) to restart the accumulation. - Vwap
StdDev Bands - VWAP with volume-weighted standard-deviation envelopes.
- Vwap
StdDev Bands Output VWAPStdDevBands output.- Vwma
- Volume-Weighted Moving Average over a rolling window of
periodcandles. - Vzo
- Walid Khalil’s Volume Zone Oscillator — a normalised version of OBV-style
volume flow that swings within
[−100, 100]. - Wad
- Williams Accumulation/Distribution — a cumulative price-only line that adds the day’s accumulation on up-closes and subtracts the day’s distribution on down-closes.
- WavePm
- Wave PM (Peak Momentum): a
0..100statistic that rises when the currentlength-bar momentum is large relative to its own recent energy — Cynthia Kase’s gauge of how “peaked” the move is. - Wave
Trend LazyBear’s Wave Trend Oscillator — a two-line momentum gauge built from the typical price and three cascaded EMAs.- Wave
Trend Output - Wave Trend Oscillator output: the two lines
wt1(the oscillator) andwt2(the signal SMA). - Wedge
- Wedge — a pattern where both trendlines slope the same way but converge, signalling exhaustion of the prevailing move.
- Weighted
Close - Weighted Close — the bar’s
(high + low + 2·close) / 4. - Wick
Ratio - Wick Ratio — the signed imbalance between the upper and lower shadows as a fraction of the bar’s range.
- Williams
Fractals - Williams Fractals — Bill Williams’ five-bar swing detector. A bar is an up fractal if its high is strictly above the highs of the two bars immediately before and the two bars immediately after. A bar is a down fractal if its low is strictly below the lows of those same four neighbours. Because confirmation requires two bars to the right of the candidate, the indicator inherently lags by two bars.
- Williams
Fractals Output - Williams Fractals output for one bar.
- WilliamsR
- Williams %R:
-100 * (HH - close) / (HH - LL)over the lookback window. - WinRate
- Win Rate — the fraction of strictly-positive returns among the last
periodreturns, in[0, 1]. - Wma
- Weighted Moving Average with linear weights
1, 2, ..., period. - Woodie
Pivots - Woodie Pivot Points — Tom Williams’ close-weighted pivot variant.
- Woodie
Pivots Output - Woodie Pivot Points output: two resistances, pivot, two supports.
- Yang
Zhang Volatility - Yang-Zhang Volatility — combines overnight, open-to-close and Rogers-Satchell volatilities into a single drift- and gap-robust estimator.
- Yoyo
Exit - Yo-Yo Exit — an ATR-based long-only trailing stop that “yo-yos” in and out
of the market: when price closes below the trail it exits, and when price
recovers
multiplier · ATRabove the same trail it re-enters long. The emitted level is always the trail itself (not a flip-to-short stop), so a consumer reads a single line on the chart and toggles the position depending on which side of it the close sits. - ZScore
- Z-Score — how many standard deviations the latest price sits from its rolling mean.
- Zero
LagMacd - Zero-Lag MACD — the standard
MACDtopology withZLEMAsubstituted forEMAeverywhere.ZLEMA’s de-lagged construction makes the MACD line react faster to trend changes at the cost of slightly noisier readings. - Zero
LagMacd Output - Multi-output for Zero-Lag MACD: the MACD line, its signal line, and the histogram (line − signal).
- ZigZag
ZigZag— a non-repainting percent-threshold swing detector. Tracks the most recent extreme (high or low) and confirms a reversal once price has moved the configured percentage away from it.- ZigZag
Output ZigZagoutput: the price of the bar that completed the most recent swing and its direction (+1.0for a high swing,-1.0for a low swing).- Zlema
- Zero-Lag Exponential Moving Average (Ehlers & Way).
Enums§
Constants§
- FAMILIES
- Family classification of every built-in indicator. The (family,
indicators) list is the single source of truth used by
family_testsbelow; README and Wiki taxonomy tables should be kept in sync with it.