jayy

ADX Trend Strength Leaf_West style

This is a slightly different way of plotting ADX used by Leaf_West at http://tradingwithleafwest.net/. The criteria for plotting this version of ADX are described in the Educational Info pdfs on the Website.
This is my attempt to replicate Leaf_West's presentation of ADX .
Use of the indicator is described in detail in the Educational info pdfs: http://tradingwithleafwest.net/.
I have used ADX (8) and DMI(9) for a best fit.. Leaf's methods evolve as time goes on and
The BATS data feed has the usual issues affecting the plots, a realtime data feed is the way to go. Credit for the original ADX and DMI script goes to Greeny
Remove from Favorite Scripts Add to Favorite Scripts
// This is a different way of plotting ADX used by Leaf_West at http://tradingwithleafwest.net/.  
// The criteria for plotting ADX are described in the educational info.  
// This is my attempt to replicate Leaf_West's indicator.
// The BATS data feed has the usual issues.  Realtime data is the way to go.
// Credit for the original ADX and DMI script goes to Greeny


study("Trend Strength/ADX Leaf_West style", shorttitle=" Trend Strength ADX LW")
LWadxlength = input(8, title="ADX period")
LWdilength = input(9, title="DMI Length")

dirmov(len) =>
	up = change(high)
	down = -change(low)
	truerange = rma(tr, len)
	plus = fixnan(100 * rma(up > down and up > 0 ? up : 0, len) / truerange)
	minus = fixnan(100 * rma(down > up and down > 0 ? down : 0, len) / truerange)
	[plus, minus]

adx(LWdilength, LWadxlength) => 
	[plus, minus] = dirmov(LWdilength)
	sum = plus + minus
	adx = 100 * rma(abs(plus - minus) / (sum == 0 ? 1 : sum), LWadxlength)
	[adx, plus, minus]

[ADX, up, down] = adx(LWdilength, LWadxlength)
LWADX= (ADX-15)*2.5
adxcolor= up>down?green: red
plot(LWADX, color=adxcolor, title="Trend Strength")
plot (LWADX, color=adxcolor , style= histogram, linewidth= 4)

plot(0, color=black, title="Chop Zone")
plot(20, color=green, title="Mendoza Line", linewidth=1)
plot(100, color=red, title=" Extreme Zone", linewidth=1)
Great indicator
In his pdf leafs indicator paint the price bars would be great if you could incorporate this
Reply
Hi, Could you send me the pdfs?
Many Thanks!
Reply
jayy ThiagoCasarini
@ThiagoCasarini, I sent the link a few days ago in a message. Did you receive the link? Jayy
Reply
THANKS
Reply
@jayy Trend identificator looks great, best what I found on TV. Ive tried go to your pages, but both are down.
Could you send me pdf files ? Thanks you very much...
Reply
jayy StanPit
@StanPit, hi StanPit. Thanks for your kind remarks. I have sent you a message regarding the pdfs which were written by Leaf_West to accompany his various indicators. Leaf_West is on Twitter if you wish to follow him. Cheers, Jayy
Reply
jayy StanPit
@StanPit, Also I just noticed that Leaf West has a new website:http://charts-by-leafwest.com/
Reply
Hi, thanks for this. I'd be interested to learn more about this analysis approach, but the links don't appear to lead anywhere now. Is there anything you can send me? cheers and Happy New Year!
Reply
jayy MC2016
@MC2016, sorry I missed your message. I have messaged you re info on Leaf_West's trading approach. Leaf_West is also on twitter
Reply
looks interesting
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Get Help Ideas Published Followers Following Private Messages Chat Sign Out