This indicator verify the close in comparison with EMA21. If the number is higher than 2ATR, the X is ploted above the candle. Avoid positions when the candle is marked. The best entries always will be close to the averages. You can change the values through the inputs, according with your trade system.