performance
Performance %
Reference/Oscillators/Function
performance(source)
Percent change from the first finite bar of the series. Short form `performance(1)` uses close.
Parameters
| Name | Type | Description |
|---|---|---|
sourceoptional | series default close | Series to use. Omit it when the first argument is a number — ema(9) means ema(close, 9). |
length | int default 1 | Lookback in bars. Default 1. |
Return value
series
Short form: if the first argument is a number, Dovee uses close as the source.
Example
oscillator plot performance() as "Perf"