Download MetaTrader 5

Closing Position for Championship Expert

To add comments, please log in or register
Suresh Kaulagi
147
Suresh Kaulagi  

I have open position of 14.5 lots. When I close it by using PositionClose() method of trade class, it performs 3 deals, closing 5 lot, 5 lot and 4.5 lot. This must be because the maximum lot size is 5 lot. Thus it will make use of 3 opposite orders to close the position. This is fine with me. My question is whether it will work in the same way in championship, or it will give some error because I will be using only one command?

To add comments, please log in or register