Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
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
6 registered members (TipmyPip, Niels, dBc, Ed_Love, 3run, 1 invisible), 17,577 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
Out-of-order dates under wine #451663
05/15/15 15:59
05/15/15 15:59
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Code:
function run() {
  StartDate = 20141125;
  EndDate = 20141205;
  BarPeriod = 60;
  Weekend = 1;
  set(PLOTNOW);

  if (day() != day(1)) {
    printf("\n%d-%02d-%02d", year(), month(), day());
  }
}

Observed: Plot omits all of December.
Observed: Zorro thinks Jan 1, 2015 comes between Nov and Dec 2014.
Code:
2014-11-24
2014-11-25
2014-11-26
2014-11-27
2014-11-28
2014-11-30
2015-01-01
2014-12-02
2014-12-03
2014-12-04
2014-12-05



Last edited by GPEngine; 05/22/15 11:14.
Re: Critical date bug with Weekend = 1 [Re: GPEngine] #451782
05/21/15 05:41
05/21/15 05:41
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
I think I broke jcl.

Re: Critical date bug with Weekend = 1 [Re: GPEngine] #451784
05/21/15 06:46
05/21/15 06:46
Joined: May 2013
Posts: 627
Bonn
Sundance Offline
User
Sundance  Offline
User

Joined: May 2013
Posts: 627
Bonn
Wow.
It drops 2014-12-01. Seems it was replaced with 2015-01-01.

Re: Critical date bug with Weekend = 1 [Re: Sundance] #451814
05/22/15 08:47
05/22/15 08:47
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Hmm, I can not see any those problems, neither with the current beta nor with the past release.

2014-11-24
2014-11-25
2014-11-26
2014-11-27
2014-11-28
2014-11-30
2014-12-01
2014-12-02
2014-12-03
2014-12-04
2014-12-05
Generate Chart - please wait... ok

Are you sure you produced that January day with your script above? Have you changed something with the historical price data?

Re: Critical date bug with Weekend = 1 [Re: jcl] #451819
05/22/15 11:13
05/22/15 11:13
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Ugh. It only happens in Zorro under wine.

Re: Critical date bug with Weekend = 1 [Re: GPEngine] #451820
05/22/15 11:40
05/22/15 11:40
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Could be a bug of the OLEDateTime function of Wine. We'll have to look further into it. Until this is resolved, I'll put a note in the manual to not use Zorro with Wine. Thanks for reporting!



Moderated by  Petra 

Gamestudio download | 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