Split an order for partial close
3 ideas for improvement partial close.
1) Split first order. For example if first order in series is 0.1, EA could can close partial 0.01/0.1 by orders with profit. Last 0.09 lots is closing step by step.
2) Draw the line for next parial close level. EA could draw next line or better several lines for next partial closes.
3) Use spliting for all series. For example you have 20 orders in one direction and lot coef is 1.1. If last orders goes in profit EA could split 10% (or 30-50%) of each order with negative result +fixed profit insterad closing 100% of only first order.
1 and 3 accepted )
2) it is hard to calculate close level(s), but I'll try to do this.