small modification for fx macd crossing stgy