Skip to main content
The built-in volatility measures, bands, channels and trailing stops. Each row maps one concept from Lipi to the other languages; the word in a cell is the relation, explained in the language map overview. Each section below gives the Lipi construct first, then the construct in each language, with a note wherever behaviour differs. The language name links to the documentation the row was checked against.

Average true range

Average true range over length bars. In Lipi: ta.atr.

Bollinger Bands

Bollinger bands for source over length bars, with mult setting how far the outer bands sit from the middle one. In Lipi: ta.bb.

Bollinger Bands width

Bollinger band width: the same calculation as talib.bb, delivered as one number instead of three bands. In Lipi: ta.bbw.

Donchian channel

Donchian channel over length bars. In Lipi: ta.dc.

Donchian channel width

Donchian channel width over length bars, as a single figure. In Lipi: ta.dcw.

Mean absolute deviation

A deviation measure for source over length bars. In Lipi: ta.dev.

Keltner channels

Keltner channels for source over length bars, with mult setting the distance to the outer bands. In Lipi: ta.kc.

Keltner channels width

Keltner channel width for source over length bars: one figure in place of the three the channel call returns. In Lipi: ta.kcw.

Parabolic SAR

Parabolic 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. In Lipi: ta.psar.

Standard deviation

Standard deviation of source over length bars. In Lipi: ta.stdev.

Supertrend

Supertrend from a multiplier and an atrLength, calculated on the chart’s own bars. In Lipi: ta.supertrend. Takes the multiplier first, then the ATR length. At this build the direction is -1 on every bar except at most one early bar (none with an ATR length of 1).

True range

True range for the bar the script is on, taken from the chart’s own bars. In Lipi: ta.tr.

Variance

Variance of source over length bars. In Lipi: ta.variance.