i) min gain = min(mean_gain, median_gain)
ii) reduce trailing_stop
dual sma