OrderProfit
Returns profit of the currently selected order.
double OrderProfit(); |
Returned value
The net profit value (without swaps or commissions) for the selected order. For open orders, it is the current unrealized profit. For closed orders, it is the fixed profit.
You could check the documentation.
OrderProfit - Trade Functions - MQL4 Reference
- docs.mql4.com
OrderProfit - Trade Functions - MQL4 Reference
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
Not talking pips here.
But which formula is more accurate:
or