Ema Crossover Logic Template Implemented