Position partial close results in deposit

 

I use an EA to partially close positions but in the account history those orders result as a deposit instead of profits as you can see in the picture.

it's pretty annoying because the detailed statement will be wrong.

how can i solve this?

Files:
mt.jpg  88 kb