OPEN-SOURCE SCRIPT
stelaraX - Accumulation/Distribution

stelaraX – Accumulation/Distribution
stelaraX – Accumulation/Distribution is a volume-based indicator designed to analyze buying and selling pressure by combining price movement with traded volume. It helps traders assess whether an asset is being accumulated (smart money buying) or distributed (selling pressure), even when price action appears sideways or unclear.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation
stelarax.com
Core logic
The Accumulation/Distribution (A/D) line evaluates where the closing price sits within the candle range and weights this position by volume.
Key principles:
* closes near the high with high volume increase the A/D value (accumulation)
* closes near the low with high volume decrease the A/D value (distribution)
* values are cumulatively summed, creating a running pressure profile
* a simple moving average (SMA) of the A/D line is applied for smoothing and trend confirmation
A rising A/D line indicates underlying buying pressure, while a falling A/D line signals increasing selling pressure.
Visualization
The script plots:
* the Accumulation/Distribution line in a separate indicator pane
* a configurable moving average of the A/D line
* customizable colors for both the raw A/D line and its moving average
This clean layout makes shifts in volume-backed momentum and pressure changes easy to spot.
Use case
This indicator is intended for:
* identifying accumulation and distribution phases
* confirming trend strength using volume confirmation
* spotting divergences between price and volume pressure
* filtering false breakouts in low-quality price moves
* supporting smart money and volume-based trading concepts
It works especially well when combined with price structure, trend filters, or AI-assisted chart interpretation.
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
stelaraX – Accumulation/Distribution is a volume-based indicator designed to analyze buying and selling pressure by combining price movement with traded volume. It helps traders assess whether an asset is being accumulated (smart money buying) or distributed (selling pressure), even when price action appears sideways or unclear.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation
stelarax.com
Core logic
The Accumulation/Distribution (A/D) line evaluates where the closing price sits within the candle range and weights this position by volume.
Key principles:
* closes near the high with high volume increase the A/D value (accumulation)
* closes near the low with high volume decrease the A/D value (distribution)
* values are cumulatively summed, creating a running pressure profile
* a simple moving average (SMA) of the A/D line is applied for smoothing and trend confirmation
A rising A/D line indicates underlying buying pressure, while a falling A/D line signals increasing selling pressure.
Visualization
The script plots:
* the Accumulation/Distribution line in a separate indicator pane
* a configurable moving average of the A/D line
* customizable colors for both the raw A/D line and its moving average
This clean layout makes shifts in volume-backed momentum and pressure changes easy to spot.
Use case
This indicator is intended for:
* identifying accumulation and distribution phases
* confirming trend strength using volume confirmation
* spotting divergences between price and volume pressure
* filtering false breakouts in low-quality price moves
* supporting smart money and volume-based trading concepts
It works especially well when combined with price structure, trend filters, or AI-assisted chart interpretation.
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.