Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (dBc), 17,435 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
load price with/from timestamp #470004
12/18/17 23:46
12/18/17 23:46
Joined: Nov 2017
Posts: 39
Germany
E
easyX Offline OP
Newbie
easyX  Offline OP
Newbie
E

Joined: Nov 2017
Posts: 39
Germany
Is it possible to load a certain price going back to a specific timestamp, or a series of x bars from this time on? In Mql the function to copy/load prices can be overloaded, instead of bars back from current time you can use timestamp to timestamp, or number of bars from a timestamp. Can't find something like this within Zorro?

*i want/need to go back very far, (many years) like loading the price series from the 20.01.2010 0:00 till 23:59 even though the current bar is just now.

Last edited by easyX; 12/18/17 23:47.
Re: load price with/from timestamp [Re: easyX] #470010
12/19/17 11:21
12/19/17 11:21
Joined: Jul 2000
Posts: 28,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,022
Frankfurt
No, but that should be easy to write. Use ymd(wdate(i)) and increase i until you found the timestamp.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1