cristian.d

DeMark Relative Retracement Levels

I have a thing for pivots and SR, so this is Tom DeMark Daily Retracements Levels pivots from DeMark Indicators book by Jason Perl .
Red lines -daily R
Green lines - daily S
Expect reversals or breaks at these points.

and some random stock, just test your instrument
Script open-source

Dans le plus pur esprit de TradingView, l'auteur de ce texte l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur ! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par les règles internes. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?
//Created by CristianD
study(title="CD DeMark Range Expansion", shorttitle="CD DeMark Range Expansion", overlay=true) 
sr = input(true, title="Show Daily Range")

range = high - low

// Daily line breaks
sopen = security(tickerid, "D", open)

a=range[1]*0.382
b=range[1]*0.618
h=sopen+a
h1=sopen+b
l=sopen-a
l1=sopen-b


// Color
hcolor=sopen != sopen[1] ? na : maroon
hcolor1=sopen != sopen[1] ? na : red
lcolor=sopen != sopen[1] ? na : green
lcolor1=sopen != sopen[1] ? na : lime


//Daily Range
highrange1 = security(tickerid, 'D', h) 
highrange2 = security(tickerid, 'D', h1) 
lowrange1 = security(tickerid, 'D', l) 
lowrange2 = security(tickerid, 'D', l1) 


offs_daily = 0
plot(sr and highrange1 ? highrange1 : na, title="Daily High1",color=hcolor, linewidth=3)
plot(sr and highrange2 ? highrange2 : na, title="Daily Daily High2", color=hcolor1, linewidth=3)
plot(sr and lowrange1 ? lowrange1 : na, title="Daily Low1",color=lcolor, linewidth=3)
plot(sr and lowrange2 ? lowrange2 : na, title="Daily Daily Low2", color=lcolor1, linewidth=3)

Commentaires

Hey @cristian.d , Thanks for sharing DeMark's Relative Retracement Levels. I just started reading Jason Perl's book on DeMark Indicators and its really impressive.

Can this only be applied to intraday charts because I don't see any SR levels on daily or weekly chart. Sorry if my question is kinda dumb because I'm relatively new to trading.
+11 Répondre
Hi there.. I dont know coding... but can u please code SR Levels using rsi or stochastic.. Please..
+2 Répondre
And SPY today and past few days
+1 Répondre
cristian.d cristian.d
nevermind my blue lines, they are my regular manually drawn SR levels for SPY
+1 Répondre
gwapoko1995 cristian.d
@cristian.d, sir,. do you have python version of this?
+3 Répondre
hi thanks for the great indicator , why are there 2 red & 2 green lines ? is there a time period for this , thx.
Répondre
Cristian thanks for the indicator , could you please explain why there is 2 line s for both support and resistance , and the distance each.. thx for your contributions.
Répondre
Thx a lot
Répondre
do you have python version of this?
Répondre