Home/Dovee/Function reference

performance

Performance %

Reference/Oscillators/Function

performance(source)

Percent change from the first finite bar of the series. Short form `performance(1)` uses close.

Parameters

NameTypeDescription
sourceoptionalseries
default close
Series to use. Omit it when the first argument is a number — ema(9) means ema(close, 9).
lengthint
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"

See also