AccountProfit () and OrderProfit( ) ???

 

I have some Confuse:

there are two tickets:

buy EU/USD open price :13120,2 lots

buy EU/USD open price :1.3140, 4 lots

and the price is 1.3150 now, so :

AccountProfit () =?? (if) (1.3150-1.3120)*2x1000+(1.3150-1.3140)*4*1000=10000? (if need to Xlots)

OrderProfit( )=?? ( if) (1.3150-1.3120)*2x1000 =6000 and (1.3150-1.3140)*4*1000=4000

My English is poor,sorry for Inconvenience.

Reason: