Download MetaTrader 5

Keeping track of profit per pair traded - page 2

To add comments, please log in or register
Do you want to know about the MQL5.community development? Have a look at the Wall!
whroeder1
14459
whroeder1 2016.03.23 00:43  
GumRai: The only thing that I can see is that you don't include commisions and swaps,
sum_profits += OrderProfit()+OrderCommission()+OrderSwap();
Just to muddy the waters, some brokers place swap (multiple) and commission as separate entries in history.
12
To add comments, please log in or register