RSI Min/Max Tracker - HD AlgoRSI Min/Max Tracker – HD Algo
RSI Min/Max Tracker is a momentum analysis indicator designed to enhance traditional RSI usage by continuously tracking the lowest and highest RSI values reached over the visible chart history. This provides immediate context on whether the current RSI is relatively extended or compressed compared to prior market behavior.
How it works
Calculates the Relative Strength Index (RSI) using a user-defined length and price source.
Dynamically records the minimum and maximum RSI values observed since the indicator started.
Updates these extremes in real time as new bars form.
Visual elements
RSI Line (Blue): The current RSI value.
Lowest RSI (Red): The historical minimum RSI reached.
Highest RSI (Green): The historical maximum RSI reached.
Reference Levels:
70 – Overbought (dashed red)
50 – Midline (dotted gray)
30 – Oversold (dashed green)
Info Table
A compact table in the top-right corner displays:
Current RSI
Lowest recorded RSI
Highest recorded RSI
Use cases
Identify whether RSI is near historical extremes.
Improve overbought/oversold context beyond fixed 30/70 levels.
Support mean-reversion, momentum, and divergence-based strategies.
Best used for
Intraday and swing traders who want a clearer perspective on RSI behavior relative to recent market conditions, rather than relying solely on static thresholds.
Pine Script® indicator









