Please refer the attached pdf file for the problem
EA giving wrong live signals
Backtesting is perfect
I think EA not waiting till close of candle
Pl revert if something wrong with scripting
Regards
check below pdf for details
https://drive.google.com/open?id=0BzfxiCS1CufuN21EZEFKNVJUSjQ
Sachin