OPEN-SOURCE SCRIPT
Connors-Hayward Advance-Decline Trading Patterns

The following is an excerpt from Investment Secrets of a Hedge Fund Manager
"The Connors-Hayward Advance-Decline Trading Pattern (CHADTP) is a proprietary indicator we use to identify short- and intermediate-term overbought and oversold conditions for the stock market and the S&P 500 futures market...
Construction of the CHADTP indicator is simple:
Add the past five day's advancing issues from the New York Stock Exchange.
Add the past five day's declining issues from the NYSE.
Subtract #2 from #1.
Divide by five.
Here are the two rules to trade CHADTP:
When the five-day reading is above +400, the market is overbought; and when the five day reading is below -400, the market is oversold.
Unfortunately, just because the indicator is -400 does not mean we can blindly buy the market, and just because the indicator is +400 does not mean we should be a seller of the market.
Whenever we get an overbought or oversold reading, we wait for a specific price reversal before entering. When the CHADTP number is +400 or more, we will sell the market only after the S&P 500 futures trade .10 points below the previous day's low. For example, if we get a reading of +422 and today's low is 453.80 we will take a sell signal only if the market trades at 453.70 or below tomorrow. If tomorrow the market low is 454.60, and the CHADTP is above 400, we will only sell if the market trades at 454.50 or below the next day, and so on. On the buy side, if today's CHADTP number is -400 or less, we will buy only after tomorrow's S&P trades .10 points above today's high, and so on."
Note from Technicus Capital:
This method was created in 1995. Today, the volume and volatility of markets is much more significant and therefore the original overbought/oversold levels are no longer relevant.
"The Connors-Hayward Advance-Decline Trading Pattern (CHADTP) is a proprietary indicator we use to identify short- and intermediate-term overbought and oversold conditions for the stock market and the S&P 500 futures market...
Construction of the CHADTP indicator is simple:
Add the past five day's advancing issues from the New York Stock Exchange.
Add the past five day's declining issues from the NYSE.
Subtract #2 from #1.
Divide by five.
Here are the two rules to trade CHADTP:
When the five-day reading is above +400, the market is overbought; and when the five day reading is below -400, the market is oversold.
Unfortunately, just because the indicator is -400 does not mean we can blindly buy the market, and just because the indicator is +400 does not mean we should be a seller of the market.
Whenever we get an overbought or oversold reading, we wait for a specific price reversal before entering. When the CHADTP number is +400 or more, we will sell the market only after the S&P 500 futures trade .10 points below the previous day's low. For example, if we get a reading of +422 and today's low is 453.80 we will take a sell signal only if the market trades at 453.70 or below tomorrow. If tomorrow the market low is 454.60, and the CHADTP is above 400, we will only sell if the market trades at 454.50 or below the next day, and so on. On the buy side, if today's CHADTP number is -400 or less, we will buy only after tomorrow's S&P trades .10 points above today's high, and so on."
Note from Technicus Capital:
This method was created in 1995. Today, the volume and volatility of markets is much more significant and therefore the original overbought/oversold levels are no longer relevant.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.