|
How to close pending position. |
rotomomo
|
Post subject: How to close pending position. |
Post rating: 0
|
Posted: Wed 20 Sep, 2017, 15:52
|
|
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.
|
|
|
|
|
amine_chourou
|
Post subject: Re: How to close pending position. |
Post rating: 1
|
Posted: Wed 27 Sep, 2017, 15:43
|
|
Visual JForex expert at Dukascopy | |
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
|
|
|
|
|
rotomomo
|
Post subject: Re: How to close pending position. |
Post rating: 0
|
Posted: Mon 09 Oct, 2017, 09:34
|
|
User rating: 1
Joined: Sun 14 May, 2017, 06:48 Posts: 5 Location: Thailand, UDONTHANI
|
Thank you very much, I will try again.
|
|
|
|
|
rotomomo
|
Post subject: Re: How to close pending position. |
Post rating: 1
|
Posted: Mon 23 Oct, 2017, 06:41
|
|
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
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|