Trendline Investor Profile picture
Investor/Trader using Trendlines, CCI, RS | Head of Product | Not SEBI reg - Content for educational purpose https://t.co/PBp8Ylfpat

Jun 19, 2020, 5 tweets

Tradingview code for 13 & 34 ema crossover explained by @Singh7575 🙏 Works pretty good on daily TF and even better on weekly TF. With good risk management & a pyramiding strategy, this can turn out to be a really good strategy for short term trading and long term investing 1/3

Code:
//@version=3
strategy("13 & 34 ema crossover", shorttitle="13 & 34 ema crossover",overlay=true) 1/2
ema1=ema(close,13)
ema2=ema(close,34)
Long=crossover(ema1,ema2)
LongExit=crossunder(ema1,ema2)
2/3

strategy.entry("Buy",strategy.long, when = Long == true,stop=high)
strategy.exit("Sell",when = LongExit == true,stop=low) 3/3

plot(ema1, color=black)
plot(ema2, color=red)

One of my followers asked me to code it. But why keep it to one and not share it with the wider community😀

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling