Divergence Testing (2024)

As of 06/05/2024

Indus: 38,807 +96.04+0.2%

Trans: 15,114 +176.02+1.2%

Utils: 935 -9.37-1.0%

Nasdaq: 17,188 +330.85+2.0%

S&P 500: 5,354 +62.69+1.2%

YTD

+3.0%

-4.9%

+6.0%

+14.5%

+12.2%

TargetsOverview:05/13/2024

Divergence Testing (1)39,800 or 37,300 by 06/15/2024

Divergence Testing (2)15,600 or 14,500 by 06/15/2024

Divergence Testing (3)960 or 890 by 06/15/2024

Divergence Testing (4)17,250 or 16,200 by 06/15/2024

Divergence Testing (5)5,500 or 5,150 by 06/15/2024

As of 06/05/2024

Indus: 38,807 +96.04+0.2%

Trans: 15,114 +176.02+1.2%

Utils: 935 -9.37-1.0%

Nasdaq: 17,188 +330.85+2.0%

S&P 500: 5,354 +62.69+1.2%

YTD

+3.0%

-4.9%

+6.0%

+14.5%

+12.2%

TargetsOverview:05/13/2024

Divergence Testing (7)39,800 or 37,300 by 06/15/2024

Divergence Testing (8)15,600 or 14,500 by 06/15/2024

Divergence Testing (9)960 or 890 by 06/15/2024

Divergence Testing (10)17,250 or 16,200 by 06/15/2024

Divergence Testing (11)5,500 or 5,150 by 06/15/2024

My book,Trading BasicsDivergence Testing (13)Divergence Testing (14),discusses divergence in the section titled, "Is Indicator Divergence a Dud?" starting on page 86.

If you click on the above link and then buy the book (or anything) while at Amazon.com, the referral will help support this site. Thanks.

-- Tom Bulkowski

$ $ $

This article discusses test results of comparing the performance of hundreds of stocks and the RSI for bullish and bearish divergence.

  • Summary
  • Background
  • Methodology
  • Results
  • Test: Small Divergence Dips
  • See Also.

Divergence: Test Summary

First, tests show that divergence between price and the Wilder relative strength index (RSI) beat the performance of the S&P 500 index consistently only in a bull market using bullish divergence.The other combinations of bull/bear markets and bullish/bearish divergence underperform the market index.

For the winning combination, bullish divergence in a bull market, I found that it wins between 45% and 48% of the time. In other words, the performance of the index beats stocksshowing bullish divergence more often than not.

Second, I read that when the indicator makes a shallow dip or rise between the end points in divergence, it means a more powerful move. That turns out to be true but only in a bear market.

Third, it's best to ignore divergence when the first peak or valley occurs between 30 and 70. Including divergence within that range hurts performance in nearly all categories.

MoreDivergence Testing (16)

Divergence: Background

Divergence Testing (17)

Divergence occurs when price makes a higher peak and an indicator makes a lower one (bearish divergence), or price makes a lower valley and the indicatormakes a higher one (bullish divergence). The picture on the right shows an example of bearish divergence.

Some say that divergence should be ignored when it begins in the neutral zone, between 30 and 70 on the RSI scale. That makes sense since the indicator should read overbought (over 70) oroversold (below 30) to indicate that price might be willing to change direction. Testing reveals that including divergence in the 30 to 70 range hurts results except for a few instancesand usually for hold times of 3 months

Divergence: Test Methodology

I found all peaks and valleys in 994 stocks starting from January 1995 to September 2010 that were at least 8 days apart, yielding 19,294 samples.That means I found the lowest low from 8 days before the valley to 8 days after, or peaks from 8 days before to 8 days after, for a total of 17 days. I removed those samples in which theRSI was over 30 or under 70 at the first price bottom or top. I compared the RSI values on the dates of the peaks or valleys for divergence. Often, when price peaks, so does the RSI; whenprice valleys, so does the RSI.

I separated the results into bull and bear markets. Two bear markets graced the test period: March 24, 2000 to October 10, 2002 and October 12, 2007 to March 6, 2009.

The tests assume entry on day 9 at the opening price, which is one day after we find and qualify a top or bottom. That delay is necessary since price is known to be moving down (forming a top)or up (forming a bottom) for 8 days. I also excluded all peaks or valleys that were not between 3 weeks and 2.5 months apart. Experience has shown that divergence works best when the peaksor valleys are about 1 to 2 months apart. There were enough samples qualifying within that range that if divergence worked, it would appear in the results.

For the presentation in the table that follow, I limited the samples from the start of the first bear market, March 24,2000. I did that only to avoid violating my own copyright sinceI intend to publish the full results.

MoreDivergence Testing (19)

Divergence: Test Results

I show the period from March 24, 2000 to September 6, 2010. That period includes two bear markets.

SecurityDivergenceMarket3 Wks1 Mo.2 Mos.3 Mos.
StocksBullishBull0.7%1.5%2.9%4.9%
Index0.4%0.9%1.8%3.3%
StocksBullishBear-1.2%-2.2%-3.2%-4.9%
Index-0.2%-0.9%-3.3%-5.9%
StocksBearishBull0.4%0.7%2.0%4.0%
Index0.3%0.5%1.3%2.1%
StocksBearishBear0.3%-0.3%-2.9%-5.5%
Index-0.9%-1.8%-3.9%-6.4%

For example, in a bull market showing bullish divergence, 3 weeks after price made the second bottom, the stocks gained an average of 0.7% compared to the S&Ps rise of 0.4%.One month after the second bottom, stocks gained 1.5% versus 0.9% for the index. In this row, the stocks beat the index in every measurement period. In other words, bullish divergenceworked.

The next set of rows shows the picture changing. Here we're looking for bullish divergence in a bear market. The technique shows superior results after 3 months when stocks declineless than the index. The 2 month measure also favors stocks, but the difference is small.

Bearish divergence in a bull market should show stocks with smaller gains or larger losses (since bearish divergence indicates the stock will drop). In every case, the table showsthat stocks outperform the index, meaning bearish divergence does not lead to larger drops.

The last two rows tell the same tale. Stocks showing bearish divergence should decline more than the index but don't.

Looking at the best performing combination, bullish divergence in a bull market, how often does it beat the index (since the performance numbers shown in the table are averages of hundredsof samples)? Answer: between 50% (at 3 weeks) to 55% (at 3 months). In fact, changing the start date to 1995, which would lengthen the bull market and provide more samples shows that thesuccess rates drop to 45% to 48%, respectively. In other words, bullish divergence fails more often than it works.

MoreDivergence Testing (21)

Divergence Testing (22)

Test: Small Divergence Dips

I read that when the indicator makes a shallow dip between divergent peaks or a shallow rise between valleys, it means a more powerful move (in other words, if the indicatordoes not decline below the 50 line in bearish divergence or rise above 50 during bullish divergence, it's beneficial).

The associated figure shows a modified chart of Abaxis (I collapsed the vertical movement somewhat to shrink the footprint so it would fit on this page) on the daily scale.The bottom of the chart shows a portion of the RSI indicator.

In this case of bearish divergence in a bull market (price makes a higher high but the indicator does not), point A isbelow 50. According to the theory, this divergence should not be as powerful than if point A were higher up the RSI scale.

In the performance numbers that follow, I totaled the percentage changes for the 4 periods: 3 weeks, 1, 2 and 3 months and those the totals in the below table.

DivergenceMarketLess Than 50More Than 50
BullishBull10.0%*9.9%
BullishBear-3.8%*-17.50%
BearishBull9.4%4.9%*
BearishBear-7.6%-9.4%*

* Note: Less than 50 (bullish divergence) or more than 50 (bearish divergence) are best for this type of divergence.

For bullish divergence in a bull market when the indicatorremained below 50, the stocks gained a total of 10.0% over the four periods. When the indicator peaked above 50, the stocks gained 9.9%.

In a bear market (bullish divergence), the results improved: -3.8% for stocks with indicators remaining below 50 compared to -17.5% for stocks with indicators above 50.Bullish divergence in a bear market means that stocks showing it should decline less.

Bearish divergence in a bull market using this method means that the indicator should remain above 50 (a shallow dip). Those stocks with indicators remaining above 50 showed declines averaging4.9% compared to 9.4% for those with dips less than 50. The indicator test improves results (the stocks showing bearish divergence gained less).

The last test, bearish divergence in a bear market shows stocks with the indicator remaining above 50 dropping 9.4% versus a decline of 7.6% for those in which the indicatordipped below 50.

In other words, this method works only in a bear market.

-- Thomas Bulkowski

MoreDivergence Testing (24)

See Also

Support this site! Clicking any of the books (below) takes you toAmazon.com If you buy ANYTHING while there, they pay for the referral.
Legal notice for paid links: "As an Amazon Associate I earn from qualifying purchases."


Copyright © 2005-2024 by Thomas N. Bulkowski. All rights reserved.

Disclaimer: You alone are responsible for your investment decisions. See Privacy/Disclaimer for more information.

Some pattern names are registered trademarks of their respective owners.

Today is the tomorrow you worried about yesterday.Divergence Testing (27)

Divergence Testing (2024)

FAQs

Does the divergence test always work? ›

The divergence test can never be used to conclude that a series converges. The theorem does not state that if then converges. We've actually seen an example of this in action. Recall that in a previous section, we showed that the series is actually telescoping.

What is the rule for the divergence test? ›

Definition: The Divergence Test

If limn→∞an=c≠0 or limn→∞an does not exist, then the series ∞∑n=1an diverges.

What makes the divergence test inconclusive? ›

Divergence test is inconclusive if limn→∞ an = 0. 5. CT is inconclusive if (your series) ≤ (divergent series) or (you series) ≥ (convergent series) or if any of the terms in either sequence are negative. = 0 or ∞, or if any of the terms in either sequence are negative.

Is the converse of the divergence test true? ›

Divergence Test

It is important to note that the converse of this theorem is not true. That is, if lim n → ∞ a n = 0 , lim n → ∞ a n = 0 , we cannot make any conclusion about the convergence of ∑ n = 1 ∞ a n .

What is the limit of the divergence test? ›

The Divergence Test

If the limit of a[n] is not zero, or does not exist, then the sum diverges. have a limit of zero, but the sum does not converge.

What if the divergence test is zero? ›

Therefore, if the limit is equal to zero, the Divergence Test yields no conclusion: the infinite series may or may not converge. In this case, other convergence tests can be used to try to determine whether or not the series converges, if required.

When can you not use the divergence theorem? ›

Surface must be closed

But unlike, say, Stokes' theorem, the divergence theorem only applies to closed surfaces, meaning surfaces without a boundary. For example, a hemisphere is not a closed surface, it has a circle as its boundary, so you cannot apply the divergence theorem.

What is the rule for divergence? ›

The divergence and curl can now be defined in terms of this same odd vector ∇ by using the cross product and dot product. The divergence of a vector field F=⟨f,g,h⟩ is ∇⋅F=⟨∂∂x,∂∂y,∂∂z⟩⋅⟨f,g,h⟩=∂f∂x+∂g∂y+∂h∂z.

Does divergence test show convergence? ›

The difference between the two types of tests is that divergence tests provide certain conditions for divergent series, while convergence tests provide certain conditions for convergent series. Divergence tests can never test for convergence, and convergence tests can never test for divergence.

Why are my results inconclusive? ›

An inconclusive result is neither positive nor negative. This result can occur from inadequate sample collection, very early-stage infection, or for patients close to recovery. With an inconclusive result, collecting and testing another sample is recommended.

What happens if the divergence test is infinity? ›

If an infinite series converges, then the individual terms (of the underlying sequence being summed) must converge to 0. This can be phrased as a simple divergence test: If limn→∞an either does not exist, or exists but is nonzero, then the infinite series ∑nan diverges. Otherwise, the test is inconclusive.

What happens if divergence is positive? ›

Positive divergence indicates a move higher in the price of the asset is possible. Negative divergence signals that a move lower in the asset is possible. Divergence can occur between the price of an asset and almost any technical or fundamental indicator or data.

What does the divergence test tell us? ›

The divergence test tells us that if the limit of the summand (the term in the summation) is not zero, then the infinite series must diverge. However, the divergence test does not tell us anything about the series in question if the limit is 0.

What does a divergence test measure? ›

*The divergence test can determine whether a series diverges, and if it does diverge, it can't possibly converge. But the divergence test is not a test for convergence. A series can pass the divergence test (appear to converge), and still diverge when subjected to another test.

Why is the converse not always true? ›

The truth value of the converse of a statement is not always the same as the original statement. For example, the converse of "All tigers are mammals" is "All mammals are tigers." This is certainly not true. The converse of a definition, however, must always be true.

Does failing Alternating Series Test prove divergence? ›

, Sal says, "Now once again, if something does not pass the Alternating Series Test, that does not necessarily mean that it diverges; it just means that you couldn't use the Alternating Series Test to prove that it converges."

Is divergence of a vector always positive? ›

If the vector field is increasing in magnitude as you move along the flow of a vector field, then the divergence is positive. If the vector field is decreasing in magnitude as you move along the flow of a vector field, then the divergence is negative.

Why is divergence theorem true? ›

The divergence theorem follows from the fact that if a volume V is partitioned into separate parts, the flux out of the original volume is equal to the sum of the flux out of each component volume.

Top Articles
Latest Posts
Article information

Author: Clemencia Bogisich Ret

Last Updated:

Views: 5931

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Clemencia Bogisich Ret

Birthday: 2001-07-17

Address: Suite 794 53887 Geri Spring, West Cristentown, KY 54855

Phone: +5934435460663

Job: Central Hospitality Director

Hobby: Yoga, Electronics, Rafting, Lockpicking, Inline skating, Puzzles, scrapbook

Introduction: My name is Clemencia Bogisich Ret, I am a super, outstanding, graceful, friendly, vast, comfortable, agreeable person who loves writing and wants to share my knowledge and understanding with you.