The reason your trades start negative is because of the spread which is the difference between the Bid (Sell) price and Ask (buy) price. If you open a buy position at ask price, then you must sell at the bid price to close it. If you open a Sell position at bid price, then you must buy at Ask price to close it.