Partial Close - Just a set number of Lots. Help.
-
My previous question was probably too complicated. Trying to simplify.
If I bought 4.0 lots and then 6.0 lots (total = 10.0 lots)...
I'd then like to sell 1.0, 2.0, 3.0, 4.0 lots as the price moves up.
How can I do this? Close (partial) doesn't do what I want. Thanks.
-
@ptt196 partial close doesnt really work on mt4, it just closes the whole position and then opens a smaller one (= double commissions). Mt5 would do it properly.
It might be easier to split your trades into smaller ones in the first place - buy 1, 1, 1, 1 and 6 lots. Then you can simply close those 1 lot trades. Also, you can differentiate between the 1 lot and 6 lot trades by setting some group numbers.
Just 1 framework, there's other solutions too... -
Is it "close (partially)" on MT5 that does it properly?
i.e. all you have to do is put in the amount and it closes the proper amount of trades?I saw that no US Brokers use MT5.
Maybe a solution is just to loop a sale of 1.0 lot "x" many times.
-
@roar Yes. This worked.
In my real (much larger) program I go into lots 1 by 1. But then need to sell 4, or 5 at a time.
So I used the "For Each Trade" and Close (partially) with 1.0 lot fixed. Just run the loop however many times I needed. Seems to work well. Thanks for your help.