OPEN-SOURCE SCRIPT
Telah dikemas kini Confluence Pannel

๐ RSI / MACD / ADX Info Panel โ Indicator Overview
This Pine Script v6 indicator is a compact visual dashboard that displays real-time insights from three popular technical indicators โ RSI, MACD, and ADX โ in a color-coded panel at the top-right of your TradingView chart.
๐ What It Shows
โ RSI (Relative Strength Index)
Measures momentum and potential overbought/oversold conditions.
Green background: RSI is above 50 (bullish momentum).
Red background: RSI is below 50 (bearish momentum).
Extra label:
"OVER BOUGHT" if RSI > input threshold (default 70)
"OVER SOLD" if RSI < input threshold (default 30)
โ MACD (Moving Average Convergence Divergence)
Indicates trend strength and direction.
Green background: MACD line is above signal line โ Bullish
Red background: MACD line is below signal line โ Bearish
Label displays: "Bullish" or "Bearish"
โ ADX (Average Directional Index)
Measures the strength of the trend, not its direction.
Background and label color changes:
๐ด Red: ADX < 20 โ "Bad" (no trend)
๐ Orange: 20 โค ADX < 25 โ "Weak" (choppy trend)
๐ข Green: 25 โค ADX < 30 โ "Good" (valid trend)
๐ต Blue: ADX โฅ 30 โ "Best" (strong trend)
๐ง How to Use It
Add to Chart: Paste the script into TradingViewโs Pine Editor, click โAdd to Chart,โ and youโll see a table appear in the top-right corner.
Interpret Quickly: Use the panel to quickly assess:
Is momentum building or fading? (RSI)
Is there a trend direction? (MACD)
Is the trend strong enough to trade? (ADX)
Make Fast Trade Decisions:
Look for all green/blue for optimal bullish conditions.
Mixed colors may indicate range-bound or weakening setups.
Use it as a confluence check before entering trades.
This Pine Script v6 indicator is a compact visual dashboard that displays real-time insights from three popular technical indicators โ RSI, MACD, and ADX โ in a color-coded panel at the top-right of your TradingView chart.
๐ What It Shows
โ RSI (Relative Strength Index)
Measures momentum and potential overbought/oversold conditions.
Green background: RSI is above 50 (bullish momentum).
Red background: RSI is below 50 (bearish momentum).
Extra label:
"OVER BOUGHT" if RSI > input threshold (default 70)
"OVER SOLD" if RSI < input threshold (default 30)
โ MACD (Moving Average Convergence Divergence)
Indicates trend strength and direction.
Green background: MACD line is above signal line โ Bullish
Red background: MACD line is below signal line โ Bearish
Label displays: "Bullish" or "Bearish"
โ ADX (Average Directional Index)
Measures the strength of the trend, not its direction.
Background and label color changes:
๐ด Red: ADX < 20 โ "Bad" (no trend)
๐ Orange: 20 โค ADX < 25 โ "Weak" (choppy trend)
๐ข Green: 25 โค ADX < 30 โ "Good" (valid trend)
๐ต Blue: ADX โฅ 30 โ "Best" (strong trend)
๐ง How to Use It
Add to Chart: Paste the script into TradingViewโs Pine Editor, click โAdd to Chart,โ and youโll see a table appear in the top-right corner.
Interpret Quickly: Use the panel to quickly assess:
Is momentum building or fading? (RSI)
Is there a trend direction? (MACD)
Is the trend strong enough to trade? (ADX)
Make Fast Trade Decisions:
Look for all green/blue for optimal bullish conditions.
Mixed colors may indicate range-bound or weakening setups.
Use it as a confluence check before entering trades.
Nota Keluaran
๐ง How to Use This Panel:RSI โ momentum direction + overbought/oversold status
MACD โ trend direction confirmation
ATR โ current market volatility (helps size risk)
ADX โ trend strength (filters choppy/no-trend conditions)
๐ Summary of Updates
โ 1. ADX Reintroduced
Previously removed when switching to ATR.
Now re-added alongside ATR.
Calculated manually (since ta.adx() is not available in Pine Script).
pinescript
Copy
Edit
adx = 100 * ta.rma(math.abs(plusDI - minusDI) / (plusDI + minusDI), adxLen)
โ 2. ADX Classification Added
ADX values are categorized into descriptive strength levels:
ADX Value Label Color
< 20 "Bad" ๐ด Red
20 - <25 "Weak" ๐ Orange
25 - <30 "Good" ๐ข Green
โฅ 30 "Best" ๐ต Blue
Displayed in the panel with:
pinescript
Copy
Edit
"ADX: " + str.tostring(adx, "#.##") + " - " + adxLabel
โ 3. Panel Expanded
Table changed from 3 rows to 4 rows to accommodate:
RSI
MACD
ATR
ADX
pinescript
Copy
Edit
var table infoBox = table.new(position.top_right, 1, 4, border_width=1)
โ 4. All Existing Features Preserved
RSI with 50-line and OB/OS detection.
MACD bullish/bearish crossover.
ATR remains intact with volatility color scale.
โ Final Outcome:
You now have a complete dashboard-style indicator that quickly tells you:
๐ Direction (RSI)
๐ Trend Strength (ADX)
๐ก Trend Confirmation (MACD)
๐ฅ Volatility Level (ATR)
Nota Keluaran
๐ What's New (Compared to the Original)Feature Old Version Enhanced Version
RSI Basic value + OB/OS label Momentum tier (Strong/Weak Bullish/Bearish) + Direction
MACD Bullish/Bearish trend only Histogram direction (โ/โ/=), strength label, and value
ATR Volatility label Improved description: โLow,โ โModerate,โ โElevated,โ โHighโ
ADX Basic trend strength label Clearer: โBad Trend,โ โWeak Trend,โ โGood Trend,โ โStrong Trendโ
Bias Box โ Not included โ New! Evaluates momentum + trend to guide LONG, SHORT, or NEUTRAL
Descriptions Minimal โ Natural-language, user-friendly summaries in each box
๐ง How to Use This Indicator
This info panel is your real-time market status dashboard. Hereโs how to interpret each section:
โ RSI (Relative Strength Index)
Purpose: Measures momentum.
Use:
"Strong Bullish" or RSI > 60 = positive momentum (consider long setups).
"Strong Bearish" or RSI < 40 = fading strength (consider short setups or caution).
"OVER BOUGHT" / "OVER SOLD" = potential reversal zones.
โ MACD
Purpose: Shows trend direction and momentum via histogram.
Use:
Trend: "Bullish" or "Bearish"
Histogram:
โ Growing = accelerating trend (strengthening)
โ Shrinking = weakening trend
= Flat = indecision or topping
Combined, this helps you assess whether to enter, hold, or exit a trend.
โ ATR (Average True Range)
Purpose: Measures volatility.
Use:
"Low Volatility" = tighter ranges (may favor mean reversion or breakout building)
"High Volatility" = larger ranges (adjust stops or trade size accordingly)
โ ADX (Trend Strength)
Purpose: Measures whether a trend is valid/strong.
Use:
ADX < 20: "Bad Trend" = avoid trend trades, possible chop
ADX โฅ 25: "Good"/"Strong Trend" = confirms directional conviction
โ Trade Bias Box
Purpose: Simplifies decision-making by combining RSI, MACD, and ADX into a single trade suggestion.
Use:
"Favoring LONG": Majority of signals are bullish. Momentum and trend are aligned.
"Favoring SHORT": Bearish confluence; momentum fading + trend pressure.
"NEUTRAL": Mixed signals. Avoid trades or wait for clarity.
๐ Example Use Case
You're scanning a chart and see:
RSI: 64.2 โ Strong Bullish (Momentum Up)
MACD: Bullish โ โ Histogram Growing (0.45)
ATR: 21.8 โ Moderate Volatility
ADX: 29.1 โ Good Trend
Trade Bias: FAVORING LONG
โ Interpretation:
Conditions are aligned. The asset has bullish momentum, trend confirmation, and manageable volatility. A long position is favored with confirmation from both momentum (RSI/MACD) and strength (ADX).
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.