Best of s.c.a.n.

« Previous Article | Top | Next Article »

Best of s.c.a.n. is an ongoing collection of the the best responses to the questions submitted to our StockCharts Answer Network. Selected by our customer support team and s.c.a.n. editors, these responses are the answers to your questions that we wish we'd written ourselves.

If you have a question you'd like to ask the StockCharts community, please visit the s.c.a.n. homepage. You can create your s.c.a.n. account and submit the question from there.

Finding Turnarounds with MACD Divergences

In his book "The Visual Investor," John Murphy points out that a positive divergence between the MACD and the MACD Histogram is one of the first signs that a stock is starting to move higher.  Here's an Advanced Scan that looks for these divergences:

[type = stock] and [country = us] and [daily sma(20,daily volume) > 40000] and
[macd line(12,26,9) < 0] and
[macd line(12,26,9) < [10 days ago macd line(12,26,9) * 1.05]] and
[macd hist(12,26,9) > 0] and [10 days ago macd hist(12,26,9) < 0] and
[macd hist(12,26,9) > [10 days ago macd hist(12,26,9) * 1.05]]

The first line of this scan limits this scan to US stocks with healthy average daily volumes.
The second line makes sure that the MACD has been moving lower for some time - i.e., it is below the zero line.
The third line looks for stocks whose MACD is at least 5% lower than it was 10 days ago.
The fourth line makes sure that the MACD Histogram has been rising recently - i.e., it's above zero - and that it has crossed over the zero line sometime within the past 10 days.
The last line makes sure that the MACD Histogram is at least 5% higher than it was 10 days ago.

Running this scan today returns a bunch of results including:

Ss20090311
Clearly, the MACD line has been moving lower since late January while the MACD Histogram has been moving higher since early February - exactly the kind of Postive Divergence that John Murphy was talking about.

Note:  The time period (10 days) and the percent increase/decrease (5%) should be adjusted to fit your own personal trading style and goals.

To read other questions and answers or to submit your own questions, please visit the s.c.a.n. homepage.

« Previous Article | Top | Next Article »

Other StockCharts Blogs

Subscribe to this blog