Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

How to close only half of position
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=51665
Page 1 of 1

Author:  Tyson [ Fri 12 Sep, 2014, 09:28 ]
Post subject:  How to close only half of position

If I just wanna close half of opened position for example, how to build it, thanks!

Author:  amine_chourou [ Fri 12 Sep, 2014, 10:06 ]
Post subject:  Re: How to close only half of position

Hi,

Do you want to close half of your positions randomly ? say you have 50 long and short, you need to close 25 and that's it ? is there any additional criteria ?

Author:  amine_chourou [ Fri 12 Sep, 2014, 11:12 ]
Post subject:  Re: How to close only half of position

Image

Here is a basic example on how to close all long positions for instance

Attachments:
Capture.JPG [59.82 KiB]
Downloaded 382 times

Author:  amine_chourou [ Fri 12 Sep, 2014, 11:15 ]
Post subject:  Re: How to close only half of position

Another idea is to identify a given position by its comment and close it afterwords:

Image

Attachments:
Comment.JPG [87.87 KiB]
Downloaded 350 times

Author:  Tyson [ Wed 17 Sep, 2014, 11:15 ]
Post subject:  Re: How to close only half of position

amine_chourou wrote:
Another idea is to identify a given position by its comment and close it afterwords:

Image


This is brilliant, thank you!

Author:  amine_chourou [ Fri 19 Sep, 2014, 13:39 ]
Post subject:  Re: How to close only half of position

Hi Again,

And here is a 'true' brilliant idea based on our Dev team lead work :) .
This set of few blocks closes half of the available open positions as you can see.

Enjoy!

Attachments:
HalfPositions.vfs [27.86 KiB]
Downloaded 70 times

  Page 1 of 1