load price with/from timestamp

Posted By: easyX

load price with/from timestamp - 12/18/17 23:46

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.
Posted By: jcl

Re: load price with/from timestamp - 12/19/17 11:21

No, but that should be easy to write. Use ymd(wdate(i)) and increase i until you found the timestamp.
© 2024 lite-C Forums