Maybe this is a duplicate, maybe similar to View historical trades along with P/L per security
Based on @JD1 example:
If I buy 100 shares at $10, and then later 100 shares for $5, if I then sell 100 for $7.50 it will come up as a loss. I know it just gets offset (if) you eventually sell the complete holding.
For this I have basically two market orders within the same position number.
I would like to apply the Limit/Stop orders for the individual market orders, and not for the averaged position number.
This would have the advantage of having more control over the investment and overall transparency.