LazyBear

Ehlers Instantaneous Trend [LazyBear]

One more to add to the Ehlers collection.

Ehlers Instantaneous Trendline, by John Ehlers , identifies the market trend by doing removing cycle component. I think, this simplicity is what makes it attractive :) To understand Ehlers's thought process behind this, refer to the PDF linked below.

There are atleast 6 variations of this ITrend. This version is from his early presentations.

Is this better than a simple HMA? May be, May be not. I will leave it to you to decide :)

I have added options to show this as a ribbon, and to color bars based on ITrend. Check out the options page.

More info:
- ITrend: http://www.mesasoftware.com/seminars/AfT...

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

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 ?
//
// @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="Ehlers Instantaneous Trend [LazyBear]", shorttitle="EIT_LB", overlay=true, precision=3)
src=input(hl2, title="Source")
a= input(0.07, title="Alpha", step=0.01) 
fr=input(false, title="Fill Trend Region")
ebc=input(false, title="Enable barcolors")
hr=input(false, title="Hide Ribbon")
it=(a-((a*a)/4.0))*src+0.5*a*a*src[1]-(a-0.75*a*a)*src[2]+2*(1-a )*nz(it[1], ((src+2*src[1]+src[2])/4.0))-(1-a )*(1-a )*nz(it[2], ((src+2*src[1]+src[2])/4.0))
lag=2.0*it-nz(it[2])
dl=plot(fr and (not hr)?(it>lag?lag:it):na, color=gray, style=circles, linewidth=0, title="Dummy")
itl=plot(hr?na:it, color=fr?gray:red, linewidth=1, title="Trend")
ll=plot(hr?na:lag, color=fr?gray:blue, linewidth=1, title="Trigger")
fill(dl, ll, green, title="UpTrend", transp=70)
fill(dl, itl, red, title="DownTrend", transp=70)
bc=not ebc?na:(it>lag?red:lime)
barcolor(bc)
List of my free indicators: http://bit.ly/1LQaPK8
List of my indicators at Appstore: http://blog.tradingview.com/?p=970

Commentaires

How do you get the lines filled in red or green color?
+8 Répondre
Entity sjcwealth
@sjcwealth, Enable them on the indicator options (Cog wheel)
+3 Répondre
@Entity, Thanks for your reply!
Répondre
T3 tillson better than this. thanks anyway, nice work.
+5 Répondre
SFRADS tarikim
@tarikim, thank you for saying this. I didn't know about Tillson until I read your comment. Thought I'd thank you for opening my eye to it. I've been doing TA for over 2 years and this was the first I heard of it. What the hell have I been doing wrong.
Répondre
Andydray tarikim
@tarikim, Checked out T3 tillson after your comment & not sure how it's better than Ehlers Trend. Perhaps you could enlighten us ?
+1 Répondre
shajiscs tarikim
@tarikim, please give me link of t3 tillson. I can't find sorry
+1 Répondre
For some reason when I add the indicator to the chart, the EMAs are not filled with the red and green trend indi colors...
+5 Répondre
Crit_Nasty Crit_Nasty
NVM. I figures out how to change it's paramaters. Thank you for this wonderful indi!
Répondre
LazyBear Crit_Nasty
yw :)
Répondre
Accueil Screener d'actions Screener Forex Screener Crypto Calendrier économique A propos Caractéristiques du graphique Prix Parrainer un ami Règles de conduite Centre d'aide Solutions site web & courtier Widgets Solutions de cartographie Bibliothèque de graphiques allégés Blog & News Twitter