Dukascopy
 
 
Wiki JStore Search Login

Problem with Get Historical Candles while retrieving CurrentCandle.CandleLow and CurrentCandle.CandleClose
 Post subject: Problem with Get Historical Candles while retrieving CurrentCandle.CandleLow and CurrentCandle.CandleClose Post rating: 0   New post Posted: Thu 21 May, 2015, 16:08 
User avatar

User rating: 0
Joined: Sun 01 Feb, 2015, 22:49
Posts: 81
Location: RomaniaRomania
Hi,

I observe a problem with Get Historical Candles while retrieving CurrentCandle.CandleLow and CurrentCandle.CandleClose

It works ok for 30 min or 1 hour intervals but it is way off when working with 4 hours.
Image

Project is attached.

Cheers,
mosu_d


Attachments:
Default_1.04.vfs [39.72 KiB]
Downloaded 150 times
4h Problem.png [123.96 KiB]
Downloaded 316 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: Problem with Get Historical Candles while retrieving CurrentCandle.CandleLow and CurrentCandle.CandleClose Post rating: 0   New post Posted: Mon 01 Jun, 2015, 17:45 
Visual JForex expert at Dukascopy
User avatar

User rating: 4
Joined: Fri 06 Feb, 2009, 16:34
Posts: 130
Sorry, but I misunderstand your problem.
I changed executeTimeInterval_1 to 4 hours, but the strategy still trades.
Can you provide more details with your problem?


 
 Post subject: Re: Problem with Get Historical Candles while retrieving CurrentCandle.CandleLow and CurrentCandle.CandleClose Post rating: 0   New post Posted: Tue 02 Jun, 2015, 11:33 
User avatar

User rating: 0
Joined: Sun 01 Feb, 2015, 22:49
Posts: 81
Location: RomaniaRomania
Hi,

Indeed, it trades, but not at the correct levels.

You can observe in the second picture, at 1h, orders are placed exactly on CandleLow.

But on the 4h they are placed.... randomly?

Cheers,
mosu_d


 

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