LazyBear

DiNapoli MACD & Stoch [LazyBear]

--- 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: http://pastebin.com/zLjdA1Am

More info:
http://www.amazon.com/DiNapoli-Levels-Pr...

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

הסר מסקריפטים מועדפים הוסף לסקריפטים מועדפים
//
// @author LazyBear 
// 
// List of my public indicators: http://bit.ly/1LQaPK8 
// List of my app-store indicators: http://blog.tradingview.com/?p=970 
//
study(title="DiNapoli MACD [LazyBear]", shorttitle="DMACD_LB", overlay=false)
lc = input(17.5185, title="Long Cycle")
sc =input(8.3896, title="Short Cycle") 
sp =input(9.0503, title="Signal Length") 
src=input(close, title="Source")
fs = nz(fs[1]) + 2.0 / (1.0 + sc) * (src- nz(fs[1]))
ss = nz(ss[1]) + 2.0 / (1.0 + lc) * (src - nz(ss[1]))
r = fs - ss
s = nz(s[1]) + 2.0/(1 + sp)*(r - nz(s[1]))
plot(r, style=columns, color=r>0?green:red, transp=80, title="Histo")
plot(s, color=teal, linewidth=2, title="Dinapoli MACD") 
Hello LazyBear, i just saw the indicators you posted, but when i chose them i can only see the MACD.. what should i do to be able to see both ( MACD and STOCH)?
+1 השב
where I can find DPStoch indicator please
השב
Ahh, I just noticed that I have labeled the plots incorrectly. "Histo" should be "DMACD", and "Dinapoli MACD" should be "Signal"

Something to keep in mind when setting up alerts.
השב
Great job. I was under the impression that we could not code using decimals in the manner called for by the DMACD.
השב
Thx
השב
When I watched this DiNapoli guy show off his levels, it seemed that he simply used fib retracement and fib extensions and watched where they overlapped. Is that correct?
השב
http://imgur.com/dO1G4Bc Possible repeate of this scenario. Zoomed out further it lines up pretty well.
השב
alteredend alteredend
repeat*
השב
They are fibs. Trivia: DiNapoli is given the title "Godfather (!?) of Fibs" :)

You also need to keep the timeframe in context, this was back in 80s.
השב
Up to red or down to green in your opinion? Thanks :)
+1 השב
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי סדרות איך זה עובד‏ תכונות גרף מחירון חוקי הבית מנהלים כלים לאתרים וברוקרים יישומונים פתרונות גרפיים ספריית גרפים קלי משקל מרכז תמיכה הפנה חבר בקשת פונקציה בלוג וחדשות טוויטר‏
פרופיל הגדרות פרופיל חשבון וחיוב הפנה חבר לשוניות התמיכה שלי מרכז תמיכה רעיונות שפורסמו עוקבים עוקב אחרי... הודעות פרטיות צ'אט התנתק