|
|

楼主 |
发表于 2005-3-4 16:01
|
显示全部楼层
你再试试!
Originally posted by liyingxx at 2005-3-4 13:20
通不过
DIF: (EMA(CLOSE,12)-EMA(CLOSE,26)),PRECIS2;
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;0;
PARTLINE(dif,dif>ref(dif,1),RGB(220,20,60),dif<ref(dif,1),RGB(30,144,255),1,RGB(0,0,255));
dn:=c>ref(c,1) and dif<ref(dif,1);
di:=c<ref(c,1) and dif>ref(dif,1);
stickline(dn,dif,0,0,0),colorred;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
jj:if(j>ref(j,1),dif+0.03,dif-0.03);
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND f<0,1,0);
p1:=今小昨;
今小前:=IF(C<REF(O,2) AND f<0,1,0);
p2:=今小前;
doo:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1;
stickline(doo,dif,jj,2,0),colormagenta;
stickline(di,dif,jj,2,0),colorblue; |
|
|