Set partial close option in buy now sell now
-
Hi, is it possible to add target levels into the buy now sell now blocks? for example i have 3 target levels then i wan to partially close 33% of initial volume when reach fixed target 1 then another 33% at fixed target 2 then set trail stop at 3rd target level.
-
With pink blocks. But I'm not sure hot do the third part with trailing stop. The little problem here is that when you partial close a trade, it is actually closed and then a new one is created. I have to see if it's possible to extract the initial open price from the second/third partially closed trade. Some tricks are needed for your problem

-
i just got to know that sell limit and sell stop can also act as partial close of trades in mt4. not sure if its true. but i just tried it in mt4 and it works.
maybe you can add the partial close function for buy as sell limit for take profit level or sell stop as partial stop loss to the buy sell blocks.
but then it can also work with just adding a couple of pending limit order blocks to the project.
-
It's also true that you can do something in few ways, yes. I personally prefer to close everything and open something fresh and new

-
erm i like to clarify something, in your block of partial close, the help says that it closes fully then reopen with a lot with lesser volume. wont it incur twice the spread? compared to the pending orders option or something? is there no way to actually partial close a lot directly? im not really sure how the spread works though with partial close. in the mt4 we can directly do partial closing?
http://snag.gy/5qjlD.jpg -
I'm also not really sure what is going on in this case , I never even tried to look it closely. This looks to be the only way of doing this, here is the function to close trades fully and partially: http://docs.mql4.com/trading/orderclose When a trade is closed partially, it is kind a special, you can tell that this trade was a result of such action because it's Open Price (if I'm not wrong) is the same as the one from the original trade. But the new trade appears as unique in the other parameters, including ticket number. That's why I wrote that this trade is brand new. It's brand new, but also a result of OrderClose(), not OrderSend().