Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Indicator change of time zone gmt(utc) to eet
 Post subject: Indicator change of time zone gmt(utc) to eet Post rating: 0   New post Posted: Sun 05 Feb, 2017, 21:44 

User rating: 0
Joined: Tue 26 Aug, 2014, 19:18
Posts: 23
Location: Russian Federation,
Hello, Dukascopy!
i have following situation:

in Visual JForex i create strategy with indicator "Pivot" with candle period of 4h, but API draw indicator on setting "start of the day GMT(UTC)", but i need start of the day "EET (UTC+2)" like in JForex default setting
______________________
Image
______________________
may be i can edit timezone in indicator code from GMT to EET?
______________________
Image
______________________
but if i draw strategy in Visual JForex, then strategy calls indicators from the dukascopy server or from local files?

with best regards


Attachments:
Безымянный2.png [113.27 KiB]
Downloaded 416 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: Indicator change of time zone gmt(utc) to eet Post rating: 0   New post Posted: Tue 07 Feb, 2017, 14:42 

User rating: 0
Joined: Tue 26 Aug, 2014, 19:18
Posts: 23
Location: Russian Federation,
up


 
 Post subject: Re: Indicator change of time zone gmt(utc) to eet Post rating: 0   New post Posted: Thu 27 Jul, 2017, 17:05 
User avatar

User rating: 2
Joined: Fri 27 Jul, 2012, 07:04
Posts: 82
Location: Spain, Paracuellos de Jarama
I have the same problem. I need EET candle values (HLOC) using Visual JForex. I could "hack" the java code adding

private JFTimeZone myJFTimeZone = JFTimeZone.EET;
private Period myPeriod = Period.createCustomPeriod(Unit.Day,1,myJFTimeZone);

and modifying the references: from Period.DAILY to myPeriod

It works for Get Historical Candle blocks, but when trying to use values from the last unfinished EET daily bar an exception stops the strategy.

What do you suggest?

Francisco


 
 Post subject: Re: Indicator change of time zone gmt(utc) to eet Post rating: 0   New post Posted: Mon 31 Jul, 2017, 07:30 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
This is Visual JForex question. Please write to https://www.dukascopy.com/swiss/english ... .php?f=146


 

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