Dukascopy
 
 
Wiki JStore Search Login

Pending Order "Good till time"
 Post subject: Pending Order "Good till time" Post rating: 0   New post Posted: Wed 18 Feb, 2015, 16:48 
User avatar

User rating: 0
Joined: Wed 04 Feb, 2015, 15:58
Posts: 21
Location: FinlandFinland
I need help with pending order "good till time".

I want to close the order, if not filled, 4 hours after order has been made.

Have attached strategy below.


Attachments:
BreakOut.vfs [52.19 KiB]
Downloaded 138 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: Pending Order "Good till time" Post rating: 0   New post Posted: Fri 20 Feb, 2015, 15:35 
Visual JForex expert at Dukascopy
User avatar

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

Sorry for the late answer but you may find couple of ideas in the section " working with time" of this forum.
This could help you as well: https://www.dukascopy.com/swiss/english ... 97&t=49189

Time stamp has to be input'd in a "machine" format a.k.a "epoch time" so 4hours is 4*60*60*1000

more in wiki : https://en.wikipedia.org/wiki/Unix_time

Enjoy!


 
 Post subject: Re: Pending Order "Good till time" Post rating: 0   New post Posted: Sun 22 Feb, 2015, 20:16 
User avatar

User rating: 0
Joined: Wed 04 Feb, 2015, 15:58
Posts: 21
Location: FinlandFinland
Thanks for the help.

I thought that i could just add 4 hours to the opening time, because strategy used hourly candles...
But obviously that was not the case, so thanks again :)

Aigar88


 

Jump to:  

  © 1998-2025 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