OPEN-SOURCE SCRIPT
Updated RSI Min/Max Tracker - HD Algo

RSI 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
Reference Levels:
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.
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.
Release Notes
RSI Min/Max Tracker – HD AlgoRSI 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.
Release Notes
Move table more lowerRelease Notes
Update StylesOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.