OrderClosePrice() - OrderOpenPrice()
(the spread has nithing to do with that It has been paid already)
Thank you.
what qjol said only you need one more step to convert the result into pips - you'll want to divide by point:
int ProfitLoss_in_Pips=(OrderClosePrice() - OrderOpenPrice())/MarketInfo(OrderSymbol(),MODE_POINT);
1005phillip:
what qjol said only you need one more step to convert the result into pips - you'll want to divide by point:
thanks
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How do you calculate profit in pips on a closed order considering the spread?
Thanks in advance!!