OPEN-SOURCE SCRIPT

HODL5 Market Cap Advance Decline Line

By NeoButane
The Advance-Decline Line (AD Line) is a breadth indicator based on Net Advances, which is the number of advancing stocks less the number of declining stocks. Net Advances is positive when advances exceed declines and negative when declines exceed advances. The AD Line is a cumulative measure of Net Advances. While the shape of the AD Line is important, the actual value holds no meaning.

This is a rerelease to open source the code. This, to an extent, emulates what Amun's index achieves. What it lacks is weighting per coin.

With the newest version of Pine Script, it may be possible to draw diagonals on the line, making it easier to identify trend.

stockcharts.com/school/doku.php?id=chart_school:market_indicators:ad_line
amun.com/en/index/
ADLhodlOscillatorsTrend Analysis
NeoButane
My published indicators: tradingview.com/u/NeoButane/

Sorry if I haven't replied to your message yet, I'm a bit backlogged :)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer