ma5:=MA(C,5);
ma10:=MA(C,10);
ma20:=MA(C,20);
ma30:=MA(C,30);
ma60:=MA(C,60);
MA120:=MA(C,120);
aa:=MA20>MA30 AND MA30>MA60;
bb:=COUNT(ma30>REF(ma30,1),10)=8;
cc:=COUNT(ma20>REF(ma20,1),10)>=5;
dd:=COUNT(ma10>REF(ma10,1),8)>=5;
ee:=COUNT(ma120>REF(ma120,1),8)>=1;
ff:=COUNT(ma60>REF(ma60,1),8)>=3;
select1:=aa AND bb AND cc AND ff ;
xy:=C<0.96*HHV(H,3);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
a:=SMA(RSV,3,1);//
b:=SMA(a,3,1);
e:=3*a-2*b;
J:e;
yz:=e<0.6*HHV(e,3);
JJ:=C>MA20;
DRAWTEXT (FILTER(xy OR yz,3),80,(C+H+H+L+O)/5),colorgreen;
DRAWTEXT(FILTER(xy OR yz,3),95,"S"), colorgreen;
GG:=xy;//{股票公式下载www.fxjgsw.com}
DRAWTEXT (FILTER(JJ AND GG=0 AND e>REF(e,1),1),3,"B"),colorred;
DRAWTEXT (FILTER(JJ AND GG=0 AND e>REF(e,1),3),25,(C+H+L+L+O)/5),colorred;
顶:90,coloryellow;
底:20,coloryellow;
|
