Using range bars could be the problem.mc range bars will always open and close 1 tick above and below the last bar.
Mark - can you post your entry and exit code ?when i switch on auto trade everything goes crazy and it will always lose money.
Have you been able to read the log of the API calls to the broker ?