Volume / Reference
alerta.ta.pvo
TradingView-compatible spelling: ta.pvo, runs without warnings
Calculates the Percentage Volume Oscillator (volume MACD).
alerta.ta.pvo(source, fastLength, slowLength, signalLength) → [pvoLine, signal, hist]Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
source | series | Yes | — | Series of values to process. |
fastLength | int | No | — | Fast EMA length (default 12). |
slowLength | int | No | — | Slow EMA length (default 26). |
signalLength | int | No | — | Signal EMA length (default 9). |
Returns
[pvoLine, signal, hist]Example
alerta.ta.pvo
[pvoLine, signal, hist] = pvo(volume, 12, 26, 9)plot(pvoLine, { title: "PVO", color: color.blue, pane: "oscillator" })plot(signal, { title: "Signal", color: color.orange, pane: "oscillator" })plot(hist, { title: "Histogram", style: "histogram", pane: "oscillator" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.