2 registered members (Ayumi, kzhao),
1,354
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: New Zorro version 1.74
[Re: jcl]
#470242
01/04/18 15:36
01/04/18 15:36
|
Joined: Sep 2017
Posts: 235
Hredot
Member
|
Member
Joined: Sep 2017
Posts: 235
|
Strange behavior in the newest version:
vars smth1=series(Smooth(Close,12*20));
if(smth1[1]>Close[0]){
smth1[0]=Smooth(Close,6*20);
}
as well as
vars smth1=series(1.);
smth1[0]=Smooth(Close,12*20);
if(smth1[1]>Close[0]){
smth1[0]=Smooth(Close,6*20);
}
gives the error 041: Inconsistent series. While
vars smth1=series(1.);
if(smth1[1]>Close[0]){
smth1[0]=Smooth(Close,6*20);
}else{
smth1[0]=Smooth(Close,12*20);
}
works just fine. In all cases above I do not see what could possibly make the series inconsistent, since it is always advanced at a fixed location within a run().
Last edited by Hredot; 01/04/18 15:37.
|
|
|
Re: New Zorro version 1.74
[Re: Hredot]
#470246
01/04/18 22:13
01/04/18 22:13
|
Joined: Oct 2017
Posts: 9
debs
Newbie
|
Newbie
Joined: Oct 2017
Posts: 9
|
Hi, I am trying it with dukascopy plugin, works much better than in 1.66 version. But when starting trade and initializing bars zorro throws "!Command 43 not yet supported" eg.:
BrokerHistory CAD/JPY: 231 ms 27000 min
CAD/JPY: 0..10565, 2017-12-17..1899-12-30
!Command 43 not yet supported.
BrokerHistory USD/JPY: 230 ms
|
|
|
Re: New Zorro version 1.74
[Re: debs]
#470251
01/05/18 04:19
01/05/18 04:19
|
Joined: May 2015
Posts: 390 Czech Republic
Grat
Senior Member
|
Senior Member
Joined: May 2015
Posts: 390
Czech Republic
|
Hi, I'm trying the panel and I have small problem. After [TRADE] button is show correct. But after [STOP] not close.
function tick(){
if(is(TRADEMODE) && !is(LOOKBACK)){
panel(6,2,GREY,90);
panelSet(0,0,"Equity",0,1,0);
panelSet(0,1,strf("%.2f",Equity),0,2,0);
panelSet(1,0,"Balance",0,1,0);
panelSet(1,1,strf("%.2f",Balance),0,2,0);
panelSet(2,0,"Capital",0,1,0);
panelSet(2,1,strf("%.2f",Capital),0,2,0);
}
}
in the function run I have:
|
|
|
|