Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 509 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 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