Order profit calculation

 

Dear Gurus,


Could somebody clarify how does the OrderProfit() function work?

Does the return value depend on the number of lots traded or not?

Does it depend on whether I have a mini or standard account and if I trade micro or normal lots?

Let's take an example: say that I have bought on a mini account 0.1 micro lots at the price of 1.3000 and later on I sold at 1.3005

What would OrderProfit() return in this case?

5 PIPs ?

0.5 PIPs?

Maybe something else?


Best regards,

Levente

 
abstraco :

Dear Gurus,

Could somebody clarify how does the OrderProfit() function work?

Does the return value depend on the number of lots traded or not?

Does it depend on whether I have a mini or standard account and if I trade micro or normal lots?

Let's take an example: say that I have bought on a mini account 0.1 micro lots at the price of 1.3000 and later on I sold at 1.3005

What would OrderProfit() return in this case?

5 PIPs ?

0.5 PIPs?

Maybe something else?

Best regards,

Levente

The OrderProfit() function provides the physical order profit/loss for the selected Order. So if you're base currency is $ the P/L would be in $. To get the full picture you need to consider the OrderSwap() as well.

Reason: