How far back was your test in MT4 strategy tester? You should test it for at least a few months to 1-2 years to be sure.
Also the brokers slippage and swaps are not calculated correctly in the strategy tester, unless you much those values with your broker's.
Finally for how long do you test your EA in the demo account? Because its not right to back test an EA for some months and make conclusions after a day or two in a demo or a real account.