|
Oanda - Darwinex data syncronisation
#472729
05/16/18 10:47
05/16/18 10:47
|
Joined: Feb 2015
Posts: 652 Milano, Italy
MatPed
OP
User
|
OP
User
Joined: Feb 2015
Posts: 652
Milano, Italy
|
Hi, I am trading live Oanda and downloaded their data that, accordingly with muy info are GMT based. Now I want to trade on Darwinex that is GMT+2 (do not ask me why...) Darwinex does not allow to download enough data to train and test the strategy so I need to sync the historic data with the Darwinex timezone. Please not that I need the data synced not only for training and testing purposes but for trading too, because "set(PRELOAD);" is mandatory to load enough data for the indicators.
Now the question,setting: AssetZone = +2;
does the trick or Something different has to be done?
Thank you
Last edited by MatPed; 05/16/18 10:50.
|
|
|
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
byakuren81
Junior Member
|
Junior Member
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.
|
|
|
|