Raj Kumar / Publications
Forum
How to calculate average of buy and sell trades
Hi, I am new to MQL5 learning it. I found one code of grid ea currently its calculating average of max and min position. I am trying to get average of all buy or sell positions with minimum profit. I am stuck on trying this but not able to calculate average of positions can anyone help me on this