|
Re: New Zorro version 2.15
[Re: jcl]
#477612
07/16/19 08:42
07/16/19 08:42
|
Joined: Jul 2000
Posts: 27,977 Frankfurt
jcl
OP
Chief Engineer
|
OP
Chief Engineer
Joined: Jul 2000
Posts: 27,977
Frankfurt
|
Thanks, we'll look into that. It seems to happen only on some PCs. Update: We found the problem. It should not happen with the latest version, 2.15.3. The download link: http://opserver.de/down/Zorro_setup.exeThis is now the official release.
Last edited by jcl; 07/16/19 14:44.
|
|
|
Re: New Zorro version 2.15
[Re: jcl]
#477620
07/16/19 21:05
07/16/19 21:05
|
Joined: May 2015
Posts: 390 Czech Republic
Grat
Senior Member
|
Senior Member
Joined: May 2015
Posts: 390
Czech Republic
|
So, I dont know, if is a problem with 2.15 but:
function run(){
LookBack = 1;
BarPeriod = 15;
string cOutput=strf("\nUnix: %d TimeDate: %s StrDate: %s",utm(wdate(0)),datetime(),strdate("%Y-%m-%d %H:%M", wdate(0)) );
set(STEPWISE);
printf(cOutput);
}
have output:
Unix: 1563310862 TimeDate: 0000-00-00 00:00 StrDate: 2019-07-16 21:01
Test: test1 EUR/USD 2014..2019
[1: Thu 14-01-02 05:30] (1.37495)
Unix: 1388640599 TimeDate: 2014-01-02 05:30 StrDate: 2014-01-02 05:30
Error 047: No bars to plot
[2: Thu 14-01-02 05:45] (1.37528)
Unix: 1388641499 TimeDate: 2014-01-02 05:45 StrDate: 2014-01-02 05:45
[3: Thu 14-01-02 06:00] (1.37576)
Unix: 1388642399 TimeDate: 2014-01-02 06:00 StrDate: 2014-01-02 06:00
[4: Thu 14-01-02 06:15] (1.37547)
Unix: 1388643299 TimeDate: 2014-01-02 06:15 StrDate: 2014-01-02 06:15
unixtime is less by -1 workaround: string cOutput=strf("\nUnix: %d TimeDate: %s StrDate: %s",utm(wdate(0)) +1,datetime(),strdate("%Y-%m-%d %H:%M", wdate(0)) );
Last edited by Grat; 07/16/19 21:06.
|
|
|
|