Analyzing Market With The Advance/Decline Line

Analyzing Market With The Advance/Decline Line

2023-01-27 • Updated

Trading indices can be an unusual choice. However, it’s a great chance to learn more about the stock market and see the influence of stocks on the index. This article will tell you about an indicator created especially for trading indices- the Advance/Decline line.

The Advance/Decline line is a less popular technical indicator then other trading indicators such as the RSI, Stochastics, and MACD. While these other indicators are momentum based, that is aimed to determine strength or weakness of a stock, the A/D line indicator is unique in that it’s an indicator of market width showing how many buyers and sellers are participating in a stock market rally or decline.

This article will discuss the A/D indicator and its application in the stock market. Still, you can add the indicator to Metatrader and use it for all kinds of assets, not just stocks and indices.

What is the Advance/Decline line?

The Advance/Decline line (ADL) is a technical indicator that displays the difference between the number of stocks going up and down on a daily basis. Mostly this indicator is used for stocks and indices trading. It shows a stocks’ participation in market rises or falls.

The most popular indices are capitalization-weighted indices. This type is also known as market value-weighted indices. The weight of a particular stock is determined by its total market capitalization. In such indices, stocks with larger market capitalizations have a higher weight, and any changes in their stock prices will have a greater impact on the performance of the index. For example, in S&P 500, Apple stock has the biggest weight.

SP500 index composition.png

 Due to a large number of capitalization-weighted indices, such as the S&P 500, DJIA, and NASDAQ Composite, stocks with higher market caps will disproportionately influence index performance. Thus, the ADL shows what share of the index’s stocks participate in the market direction.

For example, if a capitalization-weighted stock index rose by 3%, it would be important for traders to know two things. First, it’s important to understand whether the increase in the index was due to an increase in the majority stocks. Second, one has to know whether the increase in the index was due to the exceptional performance of a company with a large weight in the index. A/D line can provide such information.

The formula for the Advance/Decline line

The A/D line is very easy to calculate and understand. In essence, the A/D line has three components. The first is advancing stocks, the second is declining stocks, and the third is previous net advances.

Stock gains refer to the total number of stocks within a market index that has risen in value over the last day. Stock decline refers to the total number of stocks within a market index that declined in price over the last day. And finally, previous net advances refer to the net sum of rising and falling stocks over the last day.

Let’s summarize:

Advance Decline line calculation.png


Advancing Stocks refers to the number of stocks that increase in value daily;

Declining Stocks refers to the number of stocks that decline in value on a daily basis;

Previous Net Advances refer to the net sum of rising and falling shares on a daily basis.

Advance/Decline Line In MetaTrader

A/D line indicator is not included in a standard indicator list, you need to install it by yourself. For that you need to do several steps:

  • First, download Advance Decline Line for MT5 in a .mq5 format. For MT4, you need .mq4.
  • Then, open the MT4 or MT5 platform and go to File - Open Data Folder, then select MQL4/5 - Experts or Indicators and transfer the indicator file in MQL4/EX4 or MQL5/EX5 format to this folder.
  • Start or restart your Metatrader 4/5.
  • Select chart and timeframe where you want to test your MT5 indicator.
  • Click “Insert”, then “Indicators” and you’ll find “Advance/decline line” in “Custom Indicators” section.
  • After modifying settings, press ok and Advance/Decline Line is available on your chart.

Advance/Decline Line Signals

There are two main signals that the A/D line gives. Let’s look through them.

The trend strength

First, traders can use it to confirm the strength of the trend. We have mentioned this before, but let’s repeat: when the A/D line moves up with the price action, it indicates a healthy uptrend.

There’s wide participation of stocks in an uptrend, and the price movement is expected to continue upwards. When a line moving down is combined with the declining price action, it’s a sign of a healthy downtrend. Prices are expected to continue moving down.

Below we see an example of an S&P 500 price chart shown with an A/D line that is used to confirm the health of an existing price trend.

 SP 500 price chart with an Advance Decline line.png

The price of the S&P500 and The Advance/Decline line move in the same uptrend direction. The A/D line confirms the price action by rising. This indicates the broad participation of stocks in this uptrend and provides some level of confirmation of the price trend.

The potential reversal

Second, traders can use the A/D line to spot potential pivot points. At the moment of a potential reversal in an existing uptrend, we should expect the price action to make higher highs and the A/D line to make lower highs. This is called a bearish divergence between the price and the A/D line.

On the other hand, we can identify a potential reversal in an existing downtrend by studying the price chart and looking for swing lows that are gradually lowering while the A/D line is making higher lows. This is called a bullish divergence between the price and the A/D line.

Below you can find an example of the Nasdaq price chart shown with the A/D line used to identify a divergence between price and the A/D line.

Nasdaq price chart with an Advance Decline line.png

The NASDAQ price action created two major swing lows, with the second swing low lower than the first swing low. At the same time, the A/D line created a pattern in which the second low is higher than the first low. This creates a bullish divergence between the price and the A/D line.

Advance/Decline Line example

The chart below shows the A/D line for the S&P 500 Index. This chart shows the rate dropped sharply when the Covid pandemic was announced in 2020. This happened as the number of falling stocks and their volume increased in the S&P 500 index.

Shortly after that, the indicator rose as the number of shares rising, and their volume increased.

A D line.png

Obstacles of Advance/Decline Line

The A/D line doesn’t always give accurate data for NASDAQ stocks. This is because the NASDAQ often lists small, speculative companies, many of which end up failing or delisting. While stocks are delisted from the exchange, they remain at the previously calculated A/D line values. This affects future calculations that are added to the previous cumulative value. Because of this, the A/D line will sometimes fall for extended periods of time, even when the NASDAQ index price is rising.

Another thing to be aware of is that some indices are weighted by market cap. This means that the larger the company, the more influence it has on the movement of the index. The A/D line gives equal weight to all stocks. Thus, it’s a better indicator of medium-sized, small-cap, and mid-cap stocks, not fewer large-cap or mega-cap stocks.


The Advance/Decline line is a great indicator that can give valuable insights into price action within a major market index. The most reliable trading signal that the A/D line gives is the divergence signal. Traders should pay attention to a bullish or bearish divergence signal between the price action and the A/D line. These events often lead to a market reversal, which can be pretty profitable.


No results found.

Frequently asked questions

  • How to start trading?

    If you are 18+ years old, you can join FBS and begin your FX journey. To trade, you need a brokerage account and sufficient knowledge on how assets behave in the financial markets. Start with studying the basics with our free educational materials and creating an FBS account. You may want to test the environment with virtual money with a Demo account. Once you are ready, enter the real market and trade to succeed.

  • How to open an FBS account?

    Click the 'Open account' button on our website and proceed to the Trader Area. Before you can start trading, pass a profile verification. Confirm your email and phone number, get your ID verified. This procedure guarantees the safety of your funds and identity. Once you are done with all the checks, go to the preferred trading platform, and start trading.

  • How to withdraw the money you earned with FBS?

    The procedure is very straightforward. Go to the Withdrawal page on the website or the Finances section of the FBS Trader Area and access Withdrawal. You can get the earned money via the same payment system that you used for depositing. In case you funded the account via various methods, withdraw your profit via the same methods in the ratio according to the deposited sums.

Deposit with your local payment systems

Data collection notice

FBS maintains a record of your data to run this website. By pressing the “Accept” button, you agree to our Privacy policy.


A manager will call you shortly.

Change number

Your request is accepted.

A manager will call you shortly.

Next callback request for this phone number
will be available in

If you have an urgent issue please contact us via
Live chat

Internal error. Please try again later

Don’t waste your time – keep track of how NFP affects the US dollar and profit!

You are using an older version of your browser.

Update it to the latest version or try another one for a safer, more comfortable and productive trading experience.

Safari Chrome Firefox Opera