RCI (Spearman's RCC) (Indicator)
Input Information
Name | Expression | Default | Description |
Price | Numeric | Close | Value used in calculating the RCI (Spearman's RCC) value. |
Length | Numeric | 10 | Bars over which to calculate the RCI value. |
AvgLength | Numeric | 3 | Bars over which to average the RCI value. |
OverSold | Numeric | 25 | Level at which you consider the market to be oversold (too low). |
OverBought | Numeric | 75 | Level at which you consider the market to be overbought (too high). |
ColorCellBGOnAlert | TrueFalse | True | True to change the background color of a RS cell when an alert occurs. False to leave the cell background color unchanged. |
BackgroundColorAlertCell | Numeric | DarkGray | The color of the RS cell background to use with the above input. |
Market Synopsis
The RCI (Spearman's RCC) indicator displays the Spearman's Rank Correlation Coefficient (based on the ranking of Price) times 100, along with the average RCI. With alerts enabled, an alert will trigger when the RCI crosses over its average in oversold territory or when the RCI crosses under its average when overbought. It is available for Chart Analysis and RadarScreen.
Plot Information
Number | Name | Default Color | Description |
Plot1 | RCI | Cyan | Plots the RCI value. |
Plot2 | RCI Avg | Red | Plots the average RCI value. |
Plot3 | ZeroLine | Green | Plots a zero reference line. |
Plot4 | OB | Green | Plots a reference line at the OverBought level. |
Plot5 | OS | Green | Plots a reference line at the OverSold level. |
Plot6 | CROSS AVG | Blue | Displays a message (grid only) when an alert occurs if the RCI crosses over the RCI Avg (undersold) or if the RCI crosses under the RCI Avg (overbought). |
When applied to a chart, this indicator displays two plots and three reference lines in a separate subgraph from the price data.