Download MetaTrader 5
To add comments, please log in or register
Find out the latest MQL5.community news!
whroeder1
13991
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