Close position with define lot - script

1
Hello !

I'm looking for a script where you can choose X lot of the position size to close out. For example: If I have a 0.10 lot size open and I want to close 0.04 of the position the script would close that part and the remaining position would only be 0.06 lots.

I kind of found similar scripts to what I'm looking for (attached) but I have no idea how to modify them to work my way.

The One Click Partial Close Script do almost what I want, but it closes 1/3 of the open position every time.

What I want to do is to create a 6 or 7 separate scripts with define lots size and then hotkey them for a quick position closure.
For example ctrl+1 = 0.01 lot closed, ctrl+2 = 0.02 lot closed etc.

Could anyone help me please?


Who is online

Users browsing this forum: ChatGPT [Bot], gmpleyland, Google [Bot], TransparentTrader, WhatsApp [Bot], Yahoo Japan [Bot] and 112 guests