peopleisliking

Three EMA Crossover Trading Strategy

Use it with any forex currency pair or any stock with any timeframe.
It is a trend following trading strategy so works best in trending market.
So once you identify the market is trading you just simply use this trading strategy.

Video Explanation : Youtube
Detail Explanation : www.peopleisliking.com
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script 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 le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?
study("Three EMA Crossover Trading Strategy",overlay=true)
 
LowestPeriod = input(title="Lowest Period",type=integer,defval=10)
MediumPeriod = input(title="Medium Period",type=integer,defval=25)
LongestPeriod = input(title="Longest Period",type=integer,defval=50)
 


LowestEMA = ema(close,LowestPeriod)
MediumEMA = ema(close,MediumPeriod)
LongestEMA = ema(close,LongestPeriod)


LEColor = LowestEMA > LowestEMA[1] ? green : red
MEColor = MediumEMA > MediumEMA[1] ? lime : maroon
LLEColor = LongestEMA > LongestEMA[1] ? gray : purple


plot( LowestEMA, color= LEColor , title="Lowest EMA", trackprice=false, style=line)
plot( MediumEMA ,color= MEColor , title="Medium EMA", trackprice=false, style=line)
plot( LongestEMA , color= LLEColor , title="Longest EMA", trackprice=false, style=line)

//plotshape(cross(close,Tsl) and close>Tsl , "Up Arrow", shape.triangleup,location.belowbar,green,0,0)
//plotshape(cross(Tsl,close) and close<Tsl , "Down Arrow", shape.triangledown , location.abovebar, red,0,0)
//plot(Trend==1 and Trend[1]==-1,color = linecolor, style = circles, linewidth = 3,title="Trend")
Trend = LowestEMA > MediumEMA and LowestEMA > LongestEMA ? 1 : LowestEMA < MediumEMA and LowestEMA < LongestEMA ? -1 : 0
plotarrow(Trend == 1 and Trend[1] != 1 ? Trend : na, title="Up Entry Arrow", colorup=lime, maxheight=60, minheight=50, transp=0)
plotarrow(Trend == -1 and Trend[1] != -1 ? Trend : na, title="Down Entry Arrow", colordown=red, maxheight=60, minheight=50, transp=0)