OPEN-SOURCE SCRIPT

RSI + Psy + ADX

76
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.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.