📊 A-D Line Market Breadth Dashboard

Advance-Decline Line 市寬研究 — 多指數並排對照
A-D Line
指數價格
背馳區域
💡 使用提示: 每張圖顯示指數價格走勢。要查看 A-D Line,請點擊圖表右上角「指標」(Indicators) 按鈕,搜索 "Advance/Decline" 或 "A/D Line" 並添加。
背馳分析:當指數創新高但 A-D Line 冇跟 → 🐻 熊背馳(市寬轉弱);當指數創新低但 A-D Line 冇跟新低 → 🐂 牛背馳(市寬轉強)。
📜 自訂 A-D Line Pine Script(供參考)
如果你喺 TradingView 上搵唔到內建嘅 A-D Line 指標,可以用以下 Pine Script 自訂:
1. 打開 TradingView → Pine Editor → 貼上以下代碼 → Save → Add to Chart
//@version=5
indicator("Advance-Decline Line", shorttitle="A/D Line", overlay=false)

adv = input.symbol("NYSE:NYA", title="Advances Source", group="Data Sources")
dec = input.symbol("NYSE:NYA", title="Declines Source", group="Data Sources")

advances = request.security(adv, timeframe.period, close)
declines = request.security(dec, timeframe.period, close)

net = advances - declines
ad_line = ta.cum(net)

plot(ad_line, title="A/D Line", color=color.green, linewidth=2)
ad_ma = ta.sma(ad_line, 50)
plot(ad_ma, title="A/D Line MA50", color=color.orange, linewidth=1)

hline(0, "Zero", color.gray)
            
NYSE Advance-Decline Line
NYSE Composite + NYSE Breadth
Loading...
NASDAQ Advance-Decline Line
NASDAQ Composite + NASDAQ Breadth
Loading...
S&P 500 Advance-Decline Line
S&P 500 Index + S&P 500 Breadth
Loading...