IBD Distribution Days Study for TOS

R

RDMercer

Member
Anyone have a study that counts / calcs IBD distribution days for an index? Looking for something like:
((If todays close < (yesterdays close * .98) and (todays volume > yesterdays volume) (then distribution day)))
And if index rises 5% intraday then distribution day count resets to zero.

In a perfect study place a down arrow on a chert price bar marking the distribution day. AND a label box containing the running total count of distribution days over prior 25 days inclusive.

Open to all / any other enhancements or ideas. Thanks to all.
 
R

RDMercer

Member
I'm not too familiar with this. Maybe @markos can help?
It's William O'Neil's methodology to spot market turns and over a long time I've found it works very well. Of course right now we're one Tweet from a Twit away from either a YUGE rally or a sell-off depending on the mood of the moment. 🎱
 
markos

markos

Well-known member
VIP
@RDMercer I follow several former IBD port mgrs. The report below is from Ross Haber, who was there around David Ryan's time.
According to people at the IBD Meet up event in town, they are still using Excel to keep the distribution count. We use TOS at the meeting but no one has tackled distribution count yet.
There may be someone at the IBD Meet up meeting in Seattle or Vancouver, I forget which, that may have it in a code that they might not mind sharing. You would have to hunt that down via Meet-up.com. The information regarding Seattle or Vancouver comes from a MarketSmith presenter. What you do have seems like a good start.
 
R

RDMercer

Member
@RDMercer I follow several former IBD port mgrs. The report below is from Ross Haber, who was there around David Ryan's time.
According to people at the IBD Meet up event in town, they are still using Excel to keep the distribution count. We use TOS at the meeting but no one has tackled distribution count yet.
There may be someone at the IBD Meet up meeting in Seattle or Vancouver, I forget which, that may have it in a code that they might not mind sharing. You would have to hunt that down via Meet-up.com. The information regarding Seattle or Vancouver comes from a MarketSmith presenter. What you do have seems like a good start.
Thanks for the Report blog! I'm just looking to a lazy man's solution to the manual DD thing. If you ever run up on anything please advise. Rgds.
 
markos

markos

Well-known member
VIP
@RDMercer Your welcome. I sure will let you know. It's another one of my long-term searches....
 
U

UT2Pro1689

New member
I happen to start working on this study about a couple of months ago. I found we can get very close to the distribution day counts but not exactly the same as IBD.

There are more details disclosed by IBD than your brief description.
# Distribution day count tracking by IBD:
# https://www.investors.com/how-to-invest/investors-corner/tracking-distribution-days-a-crucial-habit/
# Stalling day tracking by IBD:
# https://www.investors.com/how-to-invest/investors-corner/can-slim-market-tops-stalling-distribution/

There are two major issues that we have to overcome:
1) The NYSE & NASDAQ volume numbers provided by TS are somewhat different from those provided by IBD. Any insights on how IBD gets or calculates their final volumes are be helpful.
2). IBD does not disclose the stalling day criteria fully and intends to keep it proprietary. Using the criteria mentioned in reference #2 above, I could see a lot of extra stalling days.

I'd be glad to share my script later after some additional calibration and cleaning up. It would be helpful if someone can provide the specific dates of distribution and stalling from IBD in the last few weeks so that I can improve the accuracy of the script.

Cheers
UT2Pro
 
markos

markos

Well-known member
VIP
@tomsk do you know of an IBD Style Distribution Day script? It's one of those eternal quests that some of us have been on. JQ doesn't have one in the Onenote.
 
T

tomsk

Well-known member
VIP
@markos Indeed there were several discussions on IBD related studies I have come across. However those were not based on the tickers comprising the IBD. Rather they focused more on RS of any tickers you wanted to track, so if AAPL was a component, you'll load that study and analyze the metrics the study detailed.

Here's one measure that Mobius posted several years ago. Hope this helps

Code:
declare lower;
plot IBDRS = close / close(symbol = "/ES");
EDIT: You can even get fancy and run a InertiaAll() call as well with some predefined starting date
 
U

UT2Pro1689

New member
@tomsk TOS has an RelativeStrength study included. I believe it fits IBD style.

TOS provides the open source as well:

#
# TD Ameritrade IP Company, Inc. (c) 2008-2019
#

declare lower;

input CorrelationWithSecurity = "SPX";
def close2 = close(CorrelationWithSecurity);

plot RS = if close2 == 0 then 0 else close/close2;
RS.setDefaultColor(GetColor(6));

def sr = CompoundValue("historical data" = RS, "visible data" = if isNaN(sr[1]) then RS else sr[1]);
plot SRatio = sr;
SRatio.setDefaultColor(GetColor(5));
 

Top