Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, SBGuy), 987 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | 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