Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (VoroneTZ, monk12, Quad), 829 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Oanda - Darwinex data syncronisation [Re: byakuren81] #473153
06/16/18 15:01
06/16/18 15:01
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
ok, the difference between UTC and GMT is clear, thank you.

The most relevant poin is another Nikkey is traded in new york so ET (not JST).
I should set AssetZone in order to let my script trade that asset when the market is open. This is the point.
Lets try to recap my vps is located in London (lets say GMT) connected to a Server GMT+2 and the script need to trade several saaset one of them is Nikkey225 traded in New York-

BarPeriod = 240;
...
AssetZone = ET;
tadeThatasset;

is that all?

Re: Oanda - Darwinex data syncronisation [Re: MatPed] #473154
06/16/18 15:08
06/16/18 15:08
Joined: Jan 2014
Posts: 86
London City
B
byakuren81 Offline
Junior Member
byakuren81  Offline
Junior Member
B

Joined: Jan 2014
Posts: 86
London City
check this example in case you did not already, I think it corresponds to your case from what I understood, it is in Zorro manual under AssetZone, AssetFrame,...

// trade two assets with different time zones
BarPeriod = 60;
FrameOffset = 9; // trade both assets at 9:00 of their local time
while(asset(loop("EUR/USD","USD/JPY")))
{
if(strstr(Asset,"EUR"))
AssetZone = WET;
else if(strstr(Asset,"JPY"))
AssetZone = JST;
TimeFrame = AssetFrame; // use a daily time frame changing at 9:00 local time
...
}

If the asset you want to trade is listed in NY then indeed you will have to use ET time zone.

Last edited by byakuren81; 06/16/18 15:09.
Re: Oanda - Darwinex data syncronisation [Re: byakuren81] #473155
06/16/18 15:13
06/16/18 15:13
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
yes that was exactly the beginning of all my confusion.
I hate that script ahahahahha

In particular TimeFrame = AssetFrame drive me crazy!

Re: Oanda - Darwinex data syncronisation [Re: MatPed] #473300
06/26/18 14:29
06/26/18 14:29
Joined: May 2018
Posts: 8
A
Adey Offline
Newbie
Adey  Offline
Newbie
A

Joined: May 2018
Posts: 8
Hi,

Just wanted to point out that UTC and GMT, are always the same. UTC is just the modern name for GMT. IRC GMT was tracked in the UK, and UTC is tracked by atomic clock somewhere else.

But the important thing is that UTC and GMT are the same, as they both reference the same timezone which is the time at the Greenwich Median in the UK. Which is the basis of all time zone measurements around the world.

So if the data is GMT +2 it will be the same UTC +2.

Adey

Page 2 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1