Download MetaTrader 5
To add comments, please log in or register
Ask your broker to open the official channel. Thousands of traders will read the news!
whroeder1
14230
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