Difference in Testing Results

 
I developed an EA and tested it on 1 minute time frame, it worked perfectly well and obeyed the rules programmed in the EA. But when i tested it using the Strategy Tester and i tried to trace the result with the chart window (ie when it open sell or buy and close same), i discovered that it wasn't obeying the rules i programmed in the EA. Where could the problem be from?
 
Do you have quality tick data? 

Also, Sometimes the spread programmed in the tick data is larger than expected and that impacts entries and exits