Attachments forums

List of attachments posted on this forum.


All files on forums: 159916

Re: Take Profit with defined lot size - script - not EA

Ogee, Sat Mar 06, 2021 8:48 pm

Black Art wrote: Sat Mar 06, 2021 3:29 am thx for response.
The option built into mt4 (TP) doesn't allow to close partial position.
I looked really hard for this type of script but no luck.
However, at the moment I'am using a script that closes defined lot size (attached) and it's great but it is a immediate execution.
Would someone be able to modify the code in the way that position is closed on the defined price instead immediately execution?
The take profit (TP) is just an equal and opposite order to the entry order. You can modify orders to partial close so if you have a 5 lot entry you can then have 5 1-lot take profit orders.
All files in topic