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
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?
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)