Forex Zone - Forex Forum

Close position with define lot - script  in EA Modifications_6825f0acc9f09

Close position with define lot - script

Discussion started on EA Modifications

  • Newbie
  • Posts: 15
  • Points: 1470
  • Likes Received: 1
  • Reputation: +0/-0
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.

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?

Linkback: https://www.forex.zone/ea-modifications/17/close-position-with-define-lot-script/3259/
#1 - March 02, 2021, 11:58:37 AM
Attachments:
« Last Edit: March 02, 2021, 02:09:35 PM by Admin »

Administrator
  • Hero Member
  • Posts: 5425
  • Points: 29949
  • Likes Received: 5292
  • Reputation: +220/-14
You uploaded 3 different programs for this, but do any of them already do almost what you want? If so, which one and what needs changed? 

It's better to be more specific so someone can go right to the exact one and modify it instead of looking at all 3 and testing to see what works and what doesn't work.
#2 - March 02, 2021, 02:13:48 PM

  • Newbie
  • Posts: 15
  • Points: 1470
  • Likes Received: 1
  • Reputation: +0/-0
thank you for your note.
Yes, the One Click Partial Close Script do almost what I want, but it closes 1/3 of the open position.
I would like to choose X lots of the position size to close out and be able to save separate scripts with different lots settings.
#3 - March 02, 2021, 03:03:37 PM

Sponsored

Close position with define lot - script  in EA Modifications_6803a6c52eb12
#4 - Today at 09:31:14 PM

  • Newbie
  • Posts: 15
  • Points: 1470
  • Likes Received: 1
  • Reputation: +0/-0
so if someone need it, here you go.
Works very well now.

#4 - March 05, 2021, 05:32:45 PM
Attachments:

  • Newbie
  • Posts: 23
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
how the result, is it good?
#5 - March 11, 2021, 02:18:20 AM

Members:

0 Members and 1 Guest are viewing this topic.



Elementor Wordpress Hosting