OPEN-SOURCE SCRIPT
RSI + Psy + ADX

RSI + Psychological Line + ADX (with RCI-replacement logic)
This custom TradingView indicator combines three major technical analysis tools—RSI, Psychological Line (Psy), and ADX—to help traders identify trend strength, market momentum, and overbought/oversold conditions with improved clarity.
1. Multi-Period RSI
The indicator calculates three RSI values:
Short-term RSI (9)
Mid-term RSI (26)
Long-term RSI (52)
These help users observe short-, mid-, and long-term momentum simultaneously.
Threshold lines are drawn at 70, 50, and 30 for standard RSI overbought/oversold analysis.
2. Psychological Line (Psy) with Dynamic Column Display
The Psy indicator counts how many closes within the selected period (default: 12) were higher than the previous close.
Values above 75 indicate overbought markets.
Values below 25 indicate oversold markets.
When Psy crosses these thresholds, it is displayed as a column chart centered at 50, visually expanding upward (overbought) or downward (oversold).
3. ADX Trend Strength with Color Coding
ADX is calculated from DI+ and DI− values (using true range and directional movement).
The ADX line changes color based on trend strength:
Blue: Weak trend (below 20)
Yellow: Moderate trend (20–30)
Red: Strong trend (above 30)
This helps traders easily recognize when the market transitions from low-volatility to strong-trend conditions.
This custom TradingView indicator combines three major technical analysis tools—RSI, Psychological Line (Psy), and ADX—to help traders identify trend strength, market momentum, and overbought/oversold conditions with improved clarity.
1. Multi-Period RSI
The indicator calculates three RSI values:
Short-term RSI (9)
Mid-term RSI (26)
Long-term RSI (52)
These help users observe short-, mid-, and long-term momentum simultaneously.
Threshold lines are drawn at 70, 50, and 30 for standard RSI overbought/oversold analysis.
2. Psychological Line (Psy) with Dynamic Column Display
The Psy indicator counts how many closes within the selected period (default: 12) were higher than the previous close.
Values above 75 indicate overbought markets.
Values below 25 indicate oversold markets.
When Psy crosses these thresholds, it is displayed as a column chart centered at 50, visually expanding upward (overbought) or downward (oversold).
3. ADX Trend Strength with Color Coding
ADX is calculated from DI+ and DI− values (using true range and directional movement).
The ADX line changes color based on trend strength:
Blue: Weak trend (below 20)
Yellow: Moderate trend (20–30)
Red: Strong trend (above 30)
This helps traders easily recognize when the market transitions from low-volatility to strong-trend conditions.
Script de código abierto
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.
Exención de responsabilidad
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.
Script de código abierto
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.
Exención de responsabilidad
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.