Dukascopy
 
 
Wiki JStore Search Login

How to close only half of position
 Post subject: How to close only half of position Post rating: 0   New post Posted: Fri 12 Sep, 2014, 09:28 
User avatar

User rating: 1
Joined: Wed 05 Jun, 2013, 03:13
Posts: 29
Location: China, HongKong
If I just wanna close half of opened position for example, how to build it, thanks!


 
 Post subject: Re: How to close only half of position Post rating: 0   New post Posted: Fri 12 Sep, 2014, 10:06 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
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 ?


 
 Post subject: Re: How to close only half of position Post rating: 1   New post Posted: Fri 12 Sep, 2014, 11:12 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Image

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


Attachments:
Capture.JPG [59.82 KiB]
Downloaded 380 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: How to close only half of position Post rating: 0   New post Posted: Fri 12 Sep, 2014, 11:15 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Another idea is to identify a given position by its comment and close it afterwords:

Image


Attachments:
Comment.JPG [87.87 KiB]
Downloaded 348 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: How to close only half of position Post rating: 0   New post Posted: Wed 17 Sep, 2014, 11:15 
User avatar

User rating: 1
Joined: Wed 05 Jun, 2013, 03:13
Posts: 29
Location: China, HongKong
amine_chourou wrote:
Another idea is to identify a given position by its comment and close it afterwords:

Image


This is brilliant, thank you!


 
 Post subject: Re: How to close only half of position Post rating: 0   New post Posted: Fri 19 Sep, 2014, 13:39 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
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
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com