Optimization, Trading Strategy, Fmz Quant, Cryptocurrency, Trends.
strategy.entry('long', strategy.long, when=longCond == true and tradeType != 'SHORT') // strategy.entry('short', strategy.short, when=shortCond == true and tradeType != 'LONG') //strategy.close('long', when=shortCond == true and tradeType == 'LONG') //strategy.close('short', when=longCond == true