Every instrument has a BUY price and a SELL price. This difference in price is called the spread, and contains the commission which we charge on each trade.
As soon as you open a trade, the current rate shown is the one at which the position would close.
For example, when you open a BUY trade, it will open at the BUY price, and close at the SELL price. When you open a SELL trade, it will open at the SELL price, and close at the BUY price.
Due to the difference between the two rates, a new trade always shows an immediate loss.