rci
Rank Correlation Index
Reference/Oscillators/Function
rci(source, length)
Spearman rank of price versus time in the window, × 100. Short form `rci(9)` 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 9 | Lookback in bars. Default 9. |
Return value
series
Short form: if the first argument is a number, Dovee uses close as the source.
Example
oscillator line = rci(9) plot line as "Rank Correlation Index" level 0 as "Zero" gray