主图
M8:MA(C,8),COLORLIRED;
R1:=VR.VR;
T:=BARSLAST(CROSS(C,M8));
T180:=BARSLAST(CROSS(180,R1));
T300:=BARSLAST(CROSS(R1,300));
HH:=HHV(R1,T300+1);
LL:=LLV(R1,T180+1);
TH:=BARSLAST(R1=HH);
TL:=BARSLAST(R1=LL);
C1:=REF(C,TH);
C2:=REF(C,TL+1);
ZF:=(C1-C2)/C2*100;
TJ:=COUNT(R1>300,30)=1;
XG1:=TL-TH<10 AND TH<15 AND REF(ZF,TH)<10 AND T=0 AND ZF<10 AND TL>TH AND TJ;
STICKLINE(XG1,L,H,0,0),COLORFF9900;
STICKLINE(XG1,CLOSE,OPEN,3,0),COLORFF5500;
STICKLINE(XG1,CLOSE,OPEN,2.8,0),COLORFF6600;
STICKLINE(XG1,CLOSE,OPEN,2.5,0),COLORFF7700;
STICKLINE(XG1,CLOSE,OPEN,2.2,0),COLORFF8800;
STICKLINE(XG1,CLOSE,OPEN,1.7,0),COLORFF9900;
STICKLINE(XG1,CLOSE,OPEN,1.2,0),COLORFFAA00;
STICKLINE(XG1,CLOSE,OPEN,0.7,0),COLORFFCC00;
STICKLINE(XG1,CLOSE,OPEN,0.2,0),COLORFFFF00;
DRAWICON(XG1,L*0.95,1);
幅图
M8:=MA(C,8);
R1:=VR.VR;
T:=BARSLAST(CROSS(C,M8));
T180:=BARSLAST(CROSS(180,R1));
T300:=BARSLAST(CROSS(R1,300));
HH:=HHV(R1,T300+1);
LL:=LLV(R1,T180+1);
TH:=BARSLAST(R1=HH);
TL:=BARSLAST(R1=LL);
C1:=REF(C,TH);
C2:=REF(C,TL+1);
ZF:=(C1-C2)/C2*100;
TJ:=COUNT(R1>300,30)=1;
XG1:=TL-TH<10 AND TH<15 AND REF(ZF,TH)<10 AND T=0 AND ZF<10 AND TL>TH AND TJ;
STICKLINE(XG1,0,8,3,0),COLORFF5500;
STICKLINE(XG1,0,8,2.8,0),COLORFF6600;
STICKLINE(XG1,0,8,2.5,0),COLORFF7700;
STICKLINE(XG1,0,8,2.2,0),COLORFF8800;
STICKLINE(XG1,0,8,1.7,0),COLORFF9900;
STICKLINE(XG1,0,8,1.2,0),COLORFFAA00;
STICKLINE(XG1,0,8,0.7,0),COLORFFCC00;
STICKLINE(XG1,0,8,0.2,0),COLORFFFF00;
选股
M8:=MA(C,8);
R1:=VR.VR;
T:=BARSLAST(CROSS(C,M8));
T180:=BARSLAST(CROSS(180,R1));
T300:=BARSLAST(CROSS(R1,300));
HH:=HHV(R1,T300+1);
LL:=LLV(R1,T180+1);
TH:=BARSLAST(R1=HH);
TL:=BARSLAST(R1=LL);
C1:=REF(C,TH);
C2:=REF(C,TL+1);
ZF:=(C1-C2)/C2*100;
TJ:=COUNT(R1>300,30)=1;
TL-TH<10 AND TH<15 AND REF(ZF,TH)<10 AND T=0 AND ZF<10 AND TL>TH AND TJ;
|