Further to the above, you suggest tracking individual trades through the simulation.

How is that done before a pending trade is opened? Pending orders are not assigned a trade number until they are filled. In some instances (and this is where I think the problem trades on the plot are coming from), trades do not open for several months. It is impossible to trace them without having a trade number/ID

Cheers,
BobbyT