Please Verify OrderProfit() calculation.
See article "MQL4: How to Evaluate the Expert Testing Results"
//---- calculate profit
double profit=OrderProfit()+OrderCommission()+OrderSwap();
Thank you, Slawa.
Does OrderProfit() include OrderSwap() and OrderCommission()
- or -
Is the whole amount earned on the trade:
OrderProfit() + OrderSwap() + OrderCommission()
I have no commission data for testing so I can't figure it out by myself.
Thank you,