{短线一号副源码如下}
中轨:=EMA(CLOSE,20);
GSKZ1:=MA(CLOSE,20);
GSKZ2:=POW(CLOSE-中轨,2);
GSKZ3:=MA(GSKZ2,20);
GSKZ4:=SQRT(GSKZ3);
GSKZ5:=中轨+2*GSKZ4;
GSKZ6:=中轨-2*GSKZ4;
GSKZ7:=REF(中轨,1);
获利盘:=EMA(COST(99),5),DOTLINE,COLORGREEN;
XG:=CLOSE>获利盘 AND COUNT(CLOSE>获利盘,7)=1 COLORYELLOW LINETHICK2;
STICKLINE(XG, 0,2, 3, 0),COLORLIMAGENTA;
STICKLINE(XG, 0,1, 3, 0),COLORYELLOW;
DRAWICON(XG,5,9);
{短线一号主如下}
强势:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.095;
STICKLINE((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.095,CLOSE,OPEN,2,0),COLORMAGENTA;
箱顶:MA(REF(HHV(CLOSE,30),1),2),COLORYELLOW,LINETHICK1;
箱底:MA(REF(LLV(CLOSE,30),1),2),DOTLINE,COLORCYAN;
中轨:EMA(CLOSE,20),COLORGREEN,LINETHICK2;
GSKZ1:=MA(CLOSE,20);
GSKZ2:=POW(CLOSE-中轨,2);
GSKZ3:=MA(GSKZ2,20);
GSKZ4:=SQRT(GSKZ3);
GSKZ5:=中轨+2*GSKZ4;
GSKZ6:=中轨-2*GSKZ4;
GSKZ7:=REF(中轨,1);
上轨:=REF(GSKZ5,1),COLORRED,LINETHICK2;
下轨:=REF(GSKZ6,1),DOTLINE,COLORRED;
获利90%:EMA(COST(90),5),DOTLINE,COLORRED;
获利盘:=EMA(COST(99),5),DOTLINE,COLORGREEN;
短线一号:CLOSE>获利盘 AND COUNT(CLOSE>获利盘,7)=1,NODRAW;
DRAWICON(短线一号,L,1);
STICKLINE(短线一号,CLOSE,OPEN,0.6,0),COLORYELLOW;
DRAWTEXT(短线一号,LOW*0.96,1),COLORYELLOW;