Hm, can you explain the problem in more detail? Trades usually have different profits - that's due to the asset price differences at entry and exit. And there can be several trades at the same bar. What did you expect instead and why?