Moving Average Crossover Scanner Java