Dukascopy
 
 
Wiki JStore Search Login

Pending order set at open incorrect
 Post subject: Pending order set at open incorrect Post rating: 0   New post Posted: Mon 22 Sep, 2014, 12:00 

User rating: 0
Joined: Tue 26 Aug, 2014, 21:19
Posts: 15
Location: United KingdomUnited Kingdom
Hello :)

Here is my simple strategy, I can't upload .vfs because the board attachment quota is full...

It opens pending orders at previous candle open based on the candle before that candles close... works absolutely fine in demo but in historical tester in Jforex it doesn't actually place pending orders exactly at the previous candle open and also places the order before the candle is even closed.
:(

I have tried different values with the shift (prev4hr shift = 1 & current4hr shift = 0) to solve it placing pending order before the current candle closes but it doesn't put orders at all that way...

Please help, thank you :)

Image


 
 Post subject: Re: Pending order set at open incorrect Post rating: 0   New post Posted: Mon 22 Sep, 2014, 14:01 
Visual JForex expert at Dukascopy
User avatar

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

I've rebuilt your strategy as per the screenshot that you've posted and it looks fine in both VJF and Jforex historical tester: Orders are placed @the previous candle open. Can you please explain your query and illustrate this in a chart for example?

Also, you should be able to attach your vfs file as it can't be bigger than a picture file size, Kindly send us a screenshot of this error so that we can check.


Thanks


 
 Post subject: Re: Pending order set at open incorrect Post rating: 0   New post Posted: Mon 22 Sep, 2014, 14:40 

User rating: 0
Joined: Tue 26 Aug, 2014, 21:19
Posts: 15
Location: United KingdomUnited Kingdom
Hi Amine,

Thanks for the reply, the strategy functions perfect for me in VJF but in Jforex historical tester as you can see in pic 1 the pending order is above the blue bear candle open

Image

In pic 2 likewise the pending order isn't at the grey bull candle open, its a little higher too...

Image

In historical tester it also places the order before the candle is closed, it should close then place the order...

Image

The pictures are hosted externally, I get an error saying the board is full when attaching .vfs

Thanks :)


 
 Post subject: Re: Pending order set at open incorrect Post rating: 0   New post Posted: Mon 22 Sep, 2014, 16:03 
Visual JForex expert at Dukascopy
User avatar

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

As you can see, I got an order submitted as per your specs, are you looking to a 4H EURUSD chart ?

For the attachement upload issue, the problem will be solved shortly...

Thx !!


Attachments:
Chart_EUR_USD_4 Hours_snapshot.png [31.34 KiB]
Downloaded 223 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 set at open incorrect Post rating: 0   New post Posted: Mon 22 Sep, 2014, 17:17 

User rating: 0
Joined: Tue 26 Aug, 2014, 21:19
Posts: 15
Location: United KingdomUnited Kingdom
Yes to four hour chart..

Ahh ok so when i change my Jforex Preferences, Day start time to GMT (UTC) i get the same chart as you and it works

Image

But when its set to EET (UTC+2 hours) it doesn't work & the pending orders aren't set at the open!

Image

I guess its a bug?

Thanks again for the help Amine :)


 
 Post subject: Re: Pending order set at open incorrect Post rating: 0   New post Posted: Tue 23 Sep, 2014, 08:15 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Alright understood now...
This is not a bug but a normal behavior: The day start time determines whether the candle will start @ 00:00 GMT or 2 hours ahead and this can change the candle data especially when looking to 4H candle and above.
VJF is set by default to GMT time but if you need your strategy to trade on UTC time then I believe you need to do the change manually. I recommend you to double check in the automated trading forum for this query.

Thanks


 

Jump to:  

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