Hi,
1. On how much data u have back tested your system (no. of trades).
2. instrument used for back testing (example: nifty spot or future).
If sample is too small say less then 500 trades then it is of no use truly, any thing less then 500 trades is too small, future is more volatile then cash (read: nifty future) hence discrepancies.