OPEN-SOURCE SCRIPT
Updated

RCI4lines

96
RCI4lines plots four Rank Correlation Index (RCI) lines in a single panel to help you read momentum and trend conditions at a glance.
It shows two short-term RCIs (default: 7 and 9), a middle-term RCI (26), and a long-term RCI (52).

The script also draws shaded threshold zones between +80 to +95 and -80 to -95, making it easier to spot potential overbought / oversold areas and compare short-term moves with the bigger trend.

Useful for scalping to day trading, and for checking whether short-term momentum is aligned with mid/long-term direction.
Release Notes
Added a center line input
Added a new input parameter centerBand with a default value of 0.
This allows you to customize the center reference level (typically 0).
Plotted a new horizontal center line
Added hcenter = hline(centerBand, ...) to draw a dashed horizontal line at centerBand.
Set the line color to white (color.rgb(255, 255, 255)) and style to dashed.
Notes / minor issue
The input title for centerBand is currently "Low line[%]", which is probably a copy/paste.
Recommended title: "Center line[%]" or "Center line".

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.