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

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?
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)