Optimization, Trading Strategy, Fmz Quant, Cryptocurrency, Trends.
strategy.close('short', when=longCond == true and tradeType == 'SHORT') // strategy.exit('XL', from_entry='long', profit=TP, loss=SL) // strategy.exit('XS', from_entry='short', profit=TP, loss=SL) // === /STRATEGY === // eof line1=ta.ema (close, 5) line2=ta.ema(close, 20) line3=ta.ema(close, 13)