Optimization, Trading Strategy, Fmz Quant, Cryptocurrency, Trends.
timeframe.multiplier : tdays / timeframe.multiplier // number of bars since last bar // //set up exit parameters TP = tpPoints > 0 ? tpPoints : na SL = slPoints > 0 ? slPoints : na // Make sure we are within the bar range, Set up entries and exit conditions //if (ebar == 0 or tdays <= ebar) and