THIS IS FOR SHORT TERM TRADING
//@version=2 strategy("ExponentialMovingAvg2Line Cross", overlay=true) fastLength = input(9) slowLength = input(18) price = close emafast = ema(price, fastLength) emaslow = ema(price, slowLength) if (crossover(emafast, emaslow)) strategy.entry("EMA2CrossLE", strategy.long, comment="EMA2CrossLE") if (crossunder(emafast, emaslow)) strategy.entry("EMA2CrossSE", strategy.short, comment="EMA2CrossSE") //plot(strategy.equity, title="equity", color=red, linewidth=2, style=areabr)