Dukascopy
 
 
Wiki JStore Search Login

Please help! Close and cancel when
 Post subject: Please help! Close and cancel when Post rating: 0   New post Posted: Tue 14 Apr, 2015, 12:37 
User avatar

User rating: 3
Joined: Wed 25 Feb, 2015, 09:07
Posts: 6
Location: Russian Federation, Moscow
Hello! Please help, like to solve a simple problem:
The problem is this: when buy stop order open at market, all opened sell orders need to be close and all pending buy orders need to be cansel. Conversely, when sell stop order open at market, all opened buy orders need to be close and cancel all pending sell orders.
Image


Attachments:
1.jpg [221.73 KiB]
Downloaded 384 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: Please help! Close and cancel when Post rating: 0   New post Posted: Tue 14 Apr, 2015, 13:32 
Visual JForex expert at Dukascopy
User avatar

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

You use of the start point trade event wouldn't be the best solution for your needs. I would identify my created positions using dedicated 'position' variable and once a given order state is changed from opened to filled (in other words from submitted to triggered) then I plug a position viewer and manage the remaining orders/positions as you displayed in your screenshot. In case you are still stuck, feel free to send your progress in vfs file and We'll check it out for you.

Thanks !


 
 Post subject: Re: Please help! Close and cancel when Post rating: 0   New post Posted: Tue 14 Apr, 2015, 17:56 
User avatar

User rating: 3
Joined: Wed 25 Feb, 2015, 09:07
Posts: 6
Location: Russian Federation, Moscow
amine_chourou wrote:
Hi,

You use of the start point trade event wouldn't be the best solution for your needs. I would identify my created positions using dedicated 'position' variable and once a given order state is changed from opened to filled (in other words from submitted to triggered) then I plug a position viewer and manage the remaining orders/positions as you displayed in your screenshot. In case you are still stuck, feel free to send your progress in vfs file and We'll check it out for you.

Thanks !


Thank you very much for the answer! I tried to do as you said but still no result, but I hope I'm near


Attachments:
Aveni_trend.vfs [73.05 KiB]
Downloaded 121 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:  

cron
  © 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