Volatility / Reference
alerta.ta.cvi
TradingView-compatible spelling: ta.cvi, runs without warnings
Measures volatility as percent change of EMA(high-low) over a lookback.
alerta.ta.cvi(high, low, emaLength, rocLength) → series floatParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
high | series | Yes | — | High series. |
low | series | Yes | — | Low series. |
emaLength | int | No | — | EMA smoothing length (default 10). |
rocLength | int | No | — | Rate-of-change length (default 10). |
Returns
series floatExample
alerta.ta.cvi
plot(cvi(high, low, 10, 10), { pane: "oscillator" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.