Portfolio Strategy Based On Accumulation/Distribution

The AIQ code based on Domenico D’Errico’s article in the August issue of Stocks & Commodities magazine, “Portfolio Strategy Based On Accumulation/Distribution,” is shown below.

“Whether you are an individual trader or an asset manager, your main goal in reading a chart is to detect the intentions of major institutions, large operators, well-informed insiders, bankers and so on, so you can follow them. Here, we’ll build an automated stock portfolio strategy based on a cornerstone price analysis theory.”

!Portfolio Strategy Based on Accumulation/Distribution
!Author: Domenic D'Errico, TASC Aug 2018
!Coded by: Richard Denning 6/10/18
!www.TradersEdgeSystem.com
!Portfolio Strategy Based on Accumulation/Distribution
!Author: Domenic D'Errico, TASC Aug 2018
!Coded by: Richard Denning 6/10/18
!www.TradersEdgeSystem.com

!SET TO WEEKLY MODE IN PROPERTIES
!ALSO VIEW CHARTS IN WEEKLY MODE

!INPUTS:
rLen is 4.
consolFac is 75. ! in percent
adxTrigger is 30.
volRatio is 1.
volAvgLen is 4.
volDelay is 4.

!CODING ABREVIATIONS:
H is [high].
L is [low].
C is [close].
C1 is valresult(C,1).
H1 is valresult(H,1).
L1 is valresult(L,1).

!RANGE ACCUMULATION/DISTRIBUTION:
theRange is hival([high],rLen) - loval([low],rLen).
Consol if theRange < consolFac/100 * valresult(theRange,rLen).
rRatio is theRange/valresult(theRange,4)*100.

!AVERAGE TRUE RANGE ACCUMULATION/DISTRIBUTION:
avgLen is rLen * 2 - 1.	
TR  is Max(H-L,max(abs(C1-L),abs(C1-H))).
ATR  is expAvg(TR,avgLen).

ConsolATR if ATR < consolFac/100 * valresult(ATR,rLen). atrRatio is ATR / valresult(ATR,4)*100. !ADX ACCUMULATION/DISTRIBUTION: !ADX INDICATOR as defined by Wells Wilder rhigh is (H-H1). rlow is (L1-L). DMplus is iff(rhigh > 0 and rhigh > rlow, rhigh, 0).
DMminus is iff(rlow > 0 and rlow >= rhigh, rlow, 0).
AvgPlusDM is expAvg(DMplus,avgLen).
AvgMinusDM is expavg(DMminus,avgLen).           	
PlusDMI is (AvgPlusDM/ATR)*100.	
MinusDMI is AvgMinusDM/ATR*100.	
DIdiff is PlusDMI-MinusDMI. 		
Zero if PlusDMI = 0 and MinusDMI =0.
DIsum is PlusDMI+MinusDMI.
DX is iff(ZERO,100,abs(DIdiff)/DIsum*100).
ADX is ExpAvg(DX,avgLen).

ConsolADX if ADX < adxTrigger. !CODE FOR ACCUMULATIOIN/DISTRIBUTION RANGE BREAKOUT: consolOS is scanany(Consol,250) then offsettodate(month(),day(),year()). Top is highresult([high],rLen,^consolOS). Top0 is valresult(Top,^consolOS) then resetdate(). Bot is loval([low],rLen,^consolOS). AvgVol is simpleavg([volume],volAvgLen). Bot12 is valresult(Bot,12). BuyRngBO if [close] > Top
and ^consolOS <= 5 and ^consolOS >= 1
and Bot > Bot12
and valresult(AvgVol,volDelay)>volRatio*valresult(AvgVol,volAvgLen+volDelay).
EntryPrice is [close].

Sell if [close] < loval([low],rLen,1).
ExitPrice is [close].

Figure 9 shows the summary backtest results of the range accumulation breakout system using NASDAQ 100 stocks from December 2006 to June 2018. The exits differ from the author’s as follows: I used two of the built-in exits — a 20% stop-loss and a profit-protect of 40% of profits once profit reaches 10%.

Sample Chart

FIGURE 9: AIQ. Here are the summary results of a backtest using NASDAQ 100 stocks.

Figure 10 shows a color study on REGN. The yellow bars show where the range accumulation/distribution shows a consolidation.

Sample Chart

FIGURE 10: AIQ. This color study shows range consolidation (yellow bars).

—Richard Denning

info@TradersEdgeSystems.com

for AIQ Systems

66 thoughts on “Portfolio Strategy Based On Accumulation/Distribution

  1. Thank you, I have recently been searching for info approximately this subject
    for ages and yours is the best I’ve came upon so far.

    However, what concerning the bottom line? Are you certain concerning the supply?

  2. I’ve learned result-oriented things by means of your website. One other thing I’d really like to say is the fact that newer laptop os’s are likely to allow a lot more memory for use, but they in addition demand more storage simply to operate. If an individual’s computer cannot handle extra memory along with the newest application requires that memory increase, it is usually the time to shop for a new Computer system. Thanks

  3. There are definitely a lot of particulars like that to take into consideration. That could be a great point to carry up. I supply the ideas above as basic inspiration however clearly there are questions just like the one you bring up the place a very powerful factor might be working in honest good faith. I don?t know if best practices have emerged around things like that, however I am sure that your job is clearly recognized as a fair game. Both boys and girls really feel the impact of just a moment’s pleasure, for the rest of their lives.

  4. I simply couldn’t depart your site prior to suggesting that I actually loved the usual info
    a person provide in your guests? Is gonna be back regularly in order to check up on new posts

  5. I blog often and I really appreciate your content. This
    great article has really peaked my interest. I’m going to book
    mark your blog and keep checking for new information about once a
    week. I subscribed to your Feed as well.

  6. Thank you a lot for providing individuals with an extremely brilliant chance to discover important secrets from this web site. It is often so great and stuffed with a lot of fun for me personally and my office acquaintances to search your site more than three times in a week to read through the new things you have got. And lastly, I’m so at all times satisfied concerning the mind-boggling pointers served by you. Certain 4 facts on this page are completely the most impressive I have had.

  7. I know this website presents quality dependent articles and other data, is there any other site which presents such stuff in quality?

  8. It’s really a cool and useful piece of information. I
    am satisfied that you just shared this useful information with us.
    Please keep us informed like this. Thank you for
    sharing.

  9. Hey there! I’ve been following your web site for a while now and finally got the courage to go ahead and give you a shout out from Huffman Texas!
    Just wanted to say keep up the fantastic job!

  10. I would like to express some thanks to this writer for bailing me out of this type of instance. Because of looking out throughout the world-wide-web and getting principles which were not helpful, I assumed my entire life was gone. Living minus the solutions to the difficulties you’ve sorted out all through this short article is a crucial case, and those which could have in a wrong way damaged my entire career if I hadn’t encountered your web page. Your know-how and kindness in handling all the pieces was important. I am not sure what I would have done if I hadn’t discovered such a subject like this. It’s possible to at this time relish my future. Thanks for your time so much for the professional and results-oriented help. I won’t be reluctant to suggest your blog to anybody who requires recommendations about this subject.

  11. I just want to tell you that I’m new to blogging and actually savored this blog. Very likely I’m going to bookmark your site . You certainly come with good posts. Bless you for sharing with us your webpage.

  12. We’re a group of volunteers and opening a new scheme in our community.
    Your web site provided us with valuable information to work on. You’ve done an impressive job and our entire community
    will be grateful to you.

  13. Thanks for the sensible critique. Me & my neighbor were just preparing to do a little research about this. We got a grab a book from our local library but I think I learned more from this post. I’m very glad to see such fantastic info being shared freely out there.

  14. Does your site have a contact page? I’m having problems locating it but, I’d like to send you an e-mail. I’ve got some recommendations for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it develop over time.

  15. A person essentially lend a hand to make significantly articles I’d state. This is the very first time I frequented your web page and so far? I surprised with the research you made to create this particular post extraordinary. Magnificent activity!

  16. Thanks, I’ve recently been searching for info approximately this subject for a long time and yours is the greatest I have discovered so far. But, what concerning the bottom line? Are you certain in regards to the source?

  17. Hi my friend! I want to say that this article is amazing, great written and come with approximately all important infos. I’d like to look extra posts like this.

  18. Oh my goodness! a tremendous article dude. Thank you Nevertheless I’m experiencing situation with ur rss . Don’t know why Unable to subscribe to it. Is there anybody getting identical rss drawback? Anybody who is aware of kindly respond. Thnkx

  19. I have seen plenty of useful things on your site about pc’s. However, I’ve the opinion that notebooks are still more or less not powerful adequately to be a wise decision if you usually do projects that require plenty of power, like video croping and editing. But for web surfing, statement processing, and a lot other common computer functions they are perfectly, provided you may not mind your little friend screen size. Many thanks sharing your thinking.

  20. Does your site have a contact page? I’m having a tough time locating it but, I’d like to send you an e-mail. I’ve got some suggestions for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it develop over time.

  21. Thanks for your tips. One thing we have noticed is that banks as well as financial institutions know the spending practices of consumers as well as understand that most of the people max outside their cards around the holidays. They properly take advantage of this fact and commence flooding your inbox in addition to snail-mail box together with hundreds of no-interest APR credit card offers shortly after the holiday season closes. Knowing that should you be like 98 in the American general public, you’ll soar at the possiblity to consolidate card debt and switch balances for 0 interest rates credit cards.

  22. Have you ever considered publishing an e-book or guest authoring on other blogs?
    I have a blog based upon on the same ideas you discuss and would really like to have you
    share some stories/information. I know my subscribers would appreciate your work.

    If you are even remotely interested, feel free to send me an e-mail.

  23. I really like your blog.. very nice colors & theme. Did you design this website yourself or did you hire someone to do it for you? Plz reply as I’m looking to construct my own blog and would like to know where u got this from. many thanks

  24. One thing I’d prefer to discuss is that weightloss routine fast may be possible by the appropriate diet and exercise. Your size not just affects the look, but also the quality of life. Self-esteem, major depression, health risks, plus physical capabilities are affected in an increase in weight. It is possible to do everything right whilst still having a gain. In such a circumstance, a condition may be the root cause. While too much food instead of enough exercise are usually accountable, common health concerns and popular prescriptions may greatly enhance size. Thanks for your post in this article.

  25. Thanks for sharing superb informations. Your website is very cool. I am impressed by the details that you have on this website. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for extra articles. You, my friend, ROCK! I found just the information I already searched all over the place and just couldn’t come across. What a perfect web-site.

  26. Today, I went to the beach with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is totally off topic but I had to tell someone!

  27. Hi! Do you know if they make any plugins to help with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results. If you know of any please share. Thank you!

  28. Thanks for these tips. One thing I additionally believe is credit cards offering a 0% interest often bait consumers in with zero interest rate, instant approval and easy on the web balance transfers, however beware of the top factor that will void your 0% easy road annual percentage rate and also throw one out into the bad house rapid.

  29. My spouse and i got so cheerful when Peter could complete his basic research by way of the precious recommendations he was given out of the web site. It is now and again perplexing to just continually be releasing tips that many the others have been making money from. So we grasp we now have the writer to give thanks to for this. The type of illustrations you made, the simple web site navigation, the relationships you will help engender – it’s everything remarkable, and it is leading our son in addition to the family know that that idea is cool, which is exceedingly vital. Thank you for everything!

  30. Hello, I think your site might be having browser compatibility issues. When I look at your website in Opera, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, great blog!

  31. Thanks for discussing your ideas. I might also like to mention that video games have been ever evolving. Technology advances and revolutions have helped create practical and fun games. Most of these entertainment video games were not really sensible when the actual concept was being used. Just like other areas of technology, video games as well have had to advance through many ages. This itself is testimony for the fast development of video games.

  32. I’m extremely inspired together with your writing talents and also with the layout for your blog. Is this a paid subject or did you customize it your self? Either way stay up the nice quality writing, it is uncommon to peer a great weblog like this one today..

  33. hello there and thank you for your info – I’ve definitely picked up something new from proper here. I did however expertise several technical points the use of this site, as I experienced to reload the website many instances prior to I may just get it to load correctly. I had been puzzling over if your web hosting is OK? Now not that I’m complaining, but slow loading cases times will very frequently impact your placement in google and could injury your high quality rating if advertising and ***********|advertising|advertising|advertising and *********** with Adwords. Anyway I am including this RSS to my e-mail and could glance out for a lot extra of your respective interesting content. Make sure you update this again soon..

  34. magnificent issues altogether, you just received a brand new reader. What might you suggest in regards to your submit that you made some days ago? Any positive?

  35. Nice blog here! Additionally your site a lot up fast! What web host are you using? Can I am getting your associate link for your host? I wish my web site loaded up as quickly as yours lol

  36. I have not checked in here for a while since I thought it was getting boring, but the last few posts are good quality so I guess I will add you back to my everyday bloglist. You deserve it my friend 🙂

  37. I’m commenting to let you be aware of what a fantastic encounter our girl experienced browsing your webblog. She realized a lot of things, most notably what it’s like to have a wonderful giving mindset to make the mediocre ones without problems comprehend several tortuous subject areas. You undoubtedly did more than our expected results. Thank you for delivering these informative, trustworthy, informative and also cool thoughts on that topic to Ethel.

  38. What i do not realize is in fact how you’re no longer actually much more neatly-preferred than you may be now. You’re very intelligent. You recognize therefore considerably in the case of this topic, produced me for my part believe it from numerous varied angles. Its like women and men are not interested except it is one thing to accomplish with Woman gaga! Your own stuffs excellent. At all times maintain it up!

  39. There are some fascinating closing dates on this article however I don’t know if I see all of them heart to heart. There may be some validity however I will take maintain opinion until I look into it further. Good article , thanks and we wish more! Added to FeedBurner as properly

  40. Pretty nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed surfing around your blog posts. After all I will be subscribing to your feed and I hope you write again very soon!

  41. wonderful submit, very informative. I ponder why the other specialists of this sector don’t notice this. You should continue your writing. I am confident, you have a great readers’ base already!

  42. The subsequent time I read a weblog, I hope that it doesnt disappoint me as a lot as this one. I mean, I do know it was my choice to learn, however I actually thought youd have one thing interesting to say. All I hear is a bunch of whining about something that you might repair should you werent too busy in search of attention.

  43. Thanks for another fantastic article. Where else could anyone get that kind of info in such an ideal way of writing? I’ve a presentation next week, and I am on the look for such info.

  44. Hiya very nice blog!! Man .. Beautiful .. Superb .. I’ll bookmark your site and take the feeds additionally¡KI am happy to seek out numerous helpful information right here in the publish, we’d like work out more strategies in this regard, thank you for sharing. . . . . .

  45. Hi there are using WordPress for your site platform?
    I’m new to the blog world but I’m trying to get started
    and set up my own. Do you require any coding knowledge to make your own blog?
    Any help would be really appreciated!

  46. Today, I went to the beachfront with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!

  47. It’s a pity you don’t have a donate button! I’d definitely donate to this excellent blog! I guess for now i’ll settle for bookmarking and adding your RSS feed to my Google account. I look forward to new updates and will talk about this blog with my Facebook group. Talk soon!

  48. I as well as my friends were digesting the best guidelines found on your web page then instantly I had a horrible suspicion I never thanked the web blog owner for those strategies. The ladies are already totally very interested to read all of them and have in effect in reality been loving these things. We appreciate you actually being indeed considerate and for obtaining some tremendous subject matter most people are really wanting to learn about. Our own honest regret for not expressing gratitude to earlier.

Leave a Reply

Your email address will not be published.