OPEN-SOURCE SCRIPT

DiNapoli MACD & Stoch [LazyBear]

63223
--- Updated: May 19 2015 ----

Applicable only If you are setting up alerts:

I noticed I have switched the plot names. Histo shd be the MACD and DMACD shd be the Signal.

Replace lines 16 & 17 with these to get the correct names. NOTE that no functionality is affected, just the names.

plot(r, style=columns, color=r>0?green:red, transp=80, title="Dinapoli MACD")
plot(s, color=teal, linewidth=2, title="Trigger")

--- Original Description ---

These two indicators are from one of my favorite books - DiNapoli's Levels. These are custom MACD and Stoch used by him. There are more indicators - Detrended Osc, DisplacedMA - that he uses, will publish them all later.

The settings of normal MACD/Stoch can be tuned to obtain these DiNapoli indicators, or if you are lazy (like me!) just use these :)

DiNapoli Preferred Stoch source: pastebin.com/zLjdA1Am

More info:
amazon.com/DiNapoli-Levels-Practical-Application-Investment/dp/1891159046

List of my public indicators: bit.ly/1LQaPK8
List of my app-store indicators: blog.tradingview.com/?p=970

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.