OPEN-SOURCE SCRIPT
업데이트됨 Accumulation/Distribution Line (Volume Surge Markers) - TP

This indicator plots a classic Accumulation/Distribution (A/D) Line, built manually from the candle’s close position and volume, then adds circle markers when volume spikes versus the previous bar.
What the A/D Line means (in plain English)
Think of each candle as a “battle” between buyers and sellers:
If the candle closes near the high, that bar is treated as buying pressure (accumulation).
If the candle closes near the low, that bar is treated as selling pressure (distribution).
If it closes near the middle, it’s more neutral.
The script converts that “close location” into a score from -1 to +1, multiplies it by volume, then cumulates it over time.
So the A/D line rises when “buying-style” bars dominate, and falls when “selling-style” bars dominate.
Volume Surge Circles
A circle prints when the current bar’s volume is at least 50% higher than the previous bar (default).
This helps you spot moments where participation suddenly increases and can confirm (or warn) about moves.
Best way to use it
This tool is most useful when you overlay it on the price chart (like in the screenshot), so you can quickly compare:
price trend vs A/D trend (divergences),
and where volume surges occur relative to breakouts, pullbacks, or reversals.
Tip: Watch for cases where price keeps rising but the A/D line goes flat or down — that can hint the move is losing real accumulation.
What the A/D Line means (in plain English)
Think of each candle as a “battle” between buyers and sellers:
If the candle closes near the high, that bar is treated as buying pressure (accumulation).
If the candle closes near the low, that bar is treated as selling pressure (distribution).
If it closes near the middle, it’s more neutral.
The script converts that “close location” into a score from -1 to +1, multiplies it by volume, then cumulates it over time.
So the A/D line rises when “buying-style” bars dominate, and falls when “selling-style” bars dominate.
Volume Surge Circles
A circle prints when the current bar’s volume is at least 50% higher than the previous bar (default).
This helps you spot moments where participation suddenly increases and can confirm (or warn) about moves.
Best way to use it
This tool is most useful when you overlay it on the price chart (like in the screenshot), so you can quickly compare:
price trend vs A/D trend (divergences),
and where volume surges occur relative to breakouts, pullbacks, or reversals.
Tip: Watch for cases where price keeps rising but the A/D line goes flat or down — that can hint the move is losing real accumulation.
릴리즈 노트
Updated the indicator to **overlay on the main price chart** by switching `overlay=true`, and added `scale=scale.none` so the A/D line **follows panning/zooming with the candles** without **distorting or affecting the chart’s price scale**.오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.