Strategy tester dosent match livetrading

 
I have a bot im done with, have good result with drawdown max -4% in consecutive loss over a year. Then i tested it on a demo and it came down to -8.
everything looks good on visible mode and 0 errors.

anyone got same problems like this before?

thanks for answers
 

It depends on many factors (and it was discussed many times on the forum):

  • how EA was coded;
  • number of the bars/ticks which were used in backtesting (it may be different numbers every time of backtesting, and the datafeed is related to the brokers only sorry);
  • for MT4 or for MT5;
  • backtesting mode;
  • different broker is used (the price is related to the broker only, and it may be slightly different from one broker to an other one);
  • if your EA is for MT4 so it is almost always different (if not so it is the subject to the discussion on the way to the following: "which special technique do you use to be the same ...");
  • bug in your code;
  • martingale/hedging - it depends on the many factors, such as the following: number of ticks used, time/hours/min to be started to trade, data quality provided, and some more.
  • and more.

--------------------------

Use forum search because it was extensively discussed many times on the forum by many threads.