Contents 

Technical Analysis functions library for .NET
Trend Indicators
Advance/Decline Line
Aroon Down
Aroon Oscillator
Aroon Up
Bill Williams Profitunity
DEMA
Exponential Moving Average
Exponential Moving Average Difference
Exponential Moving Average Factor
Exponential Moving Average Factor Difference
Line Weighted Moving Average
Line Weighted Moving Average Difference
MACD
Moving Average
Moving Average Difference
Nicoski
Positive Negative Changes Difference
Qstick Indicator
TEMA
Volatility Indicators
Average True Range
Bollinger Band
Bollinger Band Percent
Breadth Advance/Decline
Bollinger Band Width
True Range
Volatility
Volatility Chaikin
Momentum Indicators
Acceleration
Accumulation/Distribution
Balance Of Power
CCI
Fosback Unchanged Issues
Hughes Breadth Index
McClellan Oscillator
McClellan Summation Index
Momentum
Morris Daily Pressure
OBV Oscillator
OBV with Average Volume
On Balance Volume
Performance
Price Oscillator Percent Difference
Price Oscillator Points Difference
RSI
Stochastic Oscillator
Weighted Close
Wilder RSI
Williams R
Market Strength Indicators
Average Of Volume ROC
Chaikin A/D Oscillator
Chaikin Money Flow
Ease Of Movement
Market Facilitation Index
Volume Oscillator Percent Difference
Volume Oscillator Points Difference
Support and Resistance Indicators
Envelope
Additional Functions
Basic Functions
Average Changes
Average Negative Changes
Average Positive Changes
Change
Cumulative Sum
High Value
Low Value
Mean
Median Price
Negative Changes
Negative Changes Sum
Percent Change
Positive Changes
Positive Changes Sum
Sum Lag
Typical Price
Statistical Functions
Correlation Coefficient
Covariance
Standard Deviation
Variance
All Functions
Order TA4.NET
System requirements
Contacts

TA4.Net Web Online Help

Prev Page Next Page

AdvanceDeclineLine

The Advance/Decline Line ("A/D Line") is undoubtedly the most widely used measure of market breadth. It is a cumulative total of the Advancing-Declining Issues indicator. When compared to the movement of a market index (e.g., Dow Jones Industrials, S&P 500, etc) the A/D Line has proven to be an effective gauge of the stock market's strength.

The A/D Line is helpful when measuring overall market strength. When more stocks are advancing than declining, the A/D Line moves up (and vice versa).

Many investors feel that the A/D Line shows market strength better than more commonly used indices such as the Dow Jones Industrial Average ("DJIA") or the S&P 500 Index. By studying the trend of the A/D Line you can see if the market is in a rising or falling trend, if the trend is still intact, and how long the current trend has prevailed.

Another way to use the A/D Line is to look for a divergence between the DJIA (or a similar index) and the A/D Line. Often, an end to a bull market can be forecast when the A/D Line begins to round over while the DJIA is still trying to make new highs. Historically, when a divergence develops between the DJIA and the A/D Line, the DJIA has corrected and gone the direction of the A/D Line.

A military analogy is often used when discussing the relationship between the A/D Line and the DJIA. The analogy is that trouble looms when the generals lead (e.g., the DJIA is making new highs) and the troops refuse to follow (e.g., the A/D Line fails to make new highs).

Syntax:

Public Function AdvanceDeclineLine(ByVal ADLIn() As Double) As Double

Parameters:

  • ByVal ADLIn() As Double

Back to list

 

Example:

 

    Dim TA4Net As New TA4Net.CTAFunctions("YOUR-REGISTRATION-CODE")

    Dim Result() As Double

    Dim CloseValues() As Double

 

    ' loading values to array

    CloseValues = GetCloseValues()

    ' calculating Technical Analysis function

    Result = TA4Net.AdvanceDeclineLine(CloseValues)