Dukascopy
 
 
Wiki JStore Search Login

How to close pending position.
 Post subject: How to close pending position. Post rating: 0   New post Posted: Wed 20 Sep, 2017, 15:52 
User avatar

User rating: 1
Joined: Sun 14 May, 2017, 06:48
Posts: 5
Location: Thailand, UDONTHANI
At first start with 0 pending, 0 position, next the 2 pendings will be opened by my strategy. After that, there are 3 cases can be happened.

1) 0pending 2positions opened
2) 1pending(still pending not hit the price) /1 position opened -> this position has opened reach TP
3) 1pending(still pending not hit the price)/ 1 position opened -> this position has opened reach SL -> then another will be expired on the next day.

My problem is when the 2) case has happened, I want to close another pending.

Thank you very much for your kindeness.


 
 Post subject: Re: How to close pending position. Post rating: 1   New post Posted: Wed 27 Sep, 2017, 15:43 
Visual JForex expert at Dukascopy
User avatar

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

For your 2/ kinematic:
Once the position is opened :
Use position viewer with Open positions then > IF state = Filled Then
Use another Position Viewer with Pending positions then > Close and Cancel position block


 
 Post subject: Re: How to close pending position. Post rating: 0   New post Posted: Mon 09 Oct, 2017, 09:34 
User avatar

User rating: 1
Joined: Sun 14 May, 2017, 06:48
Posts: 5
Location: Thailand, UDONTHANI
Thank you very much, I will try again.


 
 Post subject: Re: How to close pending position. Post rating: 1   New post Posted: Mon 23 Oct, 2017, 06:41 
User avatar

User rating: 1
Joined: Sun 14 May, 2017, 06:48
Posts: 5
Location: Thailand, UDONTHANI
For your 2/ kinematic:
Once the position is opened :
Use position viewer with Open positions then > IF state = Filled Then
( I want to wait whether that the position is TP or not. If TP)
Use another Position Viewer with Pending positions then > Close and Cancel position block

But If SL still Pending


 

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