跟庄看盘:DRAWNULL,COLOR0088FF;
DRAWKLINE(H,O,L,C);
ma5:MA(C,5);
昨半:REF((C+O)/2,1),COLORYELLOW,NODRAW;
半分:(C+O)/2,NODRAW,COLORWHITE;
TM:=1200823;
涨停:IF(DATE<tm,ztprice(ref(c,1),if(codelike('688'),0.2,if(nameinclude('s'),0.05,0.1))),ztprice(ref(c,1),if(codelike('688') or="" codelike('300'),0.2,if(nameinclude('s'),0.05,0.1)))),nodraw,colorred;<br="">
跌停:IF(DATE<tm,dtprice(ref(c,1),if(codelike('688'),0.2,if(nameinclude('s'),0.05,0.1))),dtprice(ref(c,1),if(codelike('688') or="" codelike('300'),0.2,if(nameinclude('s'),0.05,0.1)))),nodraw,colorgreen;<br="">
明涨停:=IF(DATE<tm,c*if(codelike('688'),1.2,if(nameinclude('s'),1.05,1.1)),c*(if(codelike('688') or="" codelike('300'),1.2,if(nameinclude('s'),1.05,1.1)))),nodraw,colorlimagenta;<br="">
明跌停:=IF(DATE<tm,c*if(codelike('688'),0.8,if(nameinclude('s'),0.45,0.9)),c*(if(codelike('688') or="" codelike('300'),0.8,if(nameinclude('s'),0.45,0.9)))),nodraw,colorffff00;<br="">
ZT:=C>=涨停 AND PERIOD=5 AND H=C;
ZT1:=H>=涨停 AND PERIOD=5 AND H>C;
DT:=C<=跌停 AND PERIOD=5 AND L=C;
DT1:=L<=跌停 AND PERIOD=5 AND L<c;
连阴:=COUNT((C<ref(c,1) or="" l<ref(l,1)),10)="">=5;
间谍柱:=REF(连阴,1) AND (DT OR DT1);
卧龙根价:DRAWLINE(间谍柱,(C+O)/2,REF(间谍柱,1),REF((C+O)/2,1),1),COLOR55FFCC;
封成比:IF(涨停,DYNAINFO(58)/DYNAINFO(8),0),NODRAW,COLORYELLOW;
{涨停k线颜色设置}
stICKLINE(ZT,C,(O+C)/2,3,0),COLOR000099;
STICKLINE(ZT,C,(O+C)/2,2.2,0),COLOR0000CC;
STICKLINE(ZT,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT,C,(O+C)/2,0.5,0),COLORCC66FF;
STICKLINE(ZT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(ZT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(DT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT,C,(O+C)/2,0.5,0),COLOR00FF00;
{曾涨跌停打开K线颜色设置}
STICKLINE(ZT1,C,(O+C)/2,3,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,2.2,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT1,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,O,(O+C)/2,3,0),COLOR888888;
STICKLINE(DT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT1,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT1,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT1,C,(O+C)/2,0.5,0),COLOR00FF00;
假阴:=REF(C>O,1) AND AMOUNT/V/100>REF(C,1) AND C<o;
假阳:=REF(C<o,1) and="" h<ref(o,1)="" c<(ref(o-c,1))="" 3+ref(c,1)="" amount="" v="" 100<ref(c,1)="" c="">O;
DRAWICON(REF(ZT OR ZT1,1) AND 假阴 AND H=HHV(H,5) AND V>=REF(V,1)*0.9 AND C>REFX(C,1),H*1.03,8);
DRAWICON(ZT1 AND H=HHV(H,10) AND V>=REF(V,1) AND H>REFX(H,1),H*1.03,8);
STICKLINE(假阴,O,C,0.58,0),COLORRED;{假阴柱};
STICKLINE(假阳,O,C,0.58,0),COLORLIGREEN;{假阳柱};
HH:=COUNT(ZT,13)>=1;
BA:=BArslAST(HH);
A:=L<=REF(H,BA)*0.9;
DRAWICON(A AND crOSS(C,MA(C,3)) AND BA<13,L*0.98,1);
标签:STICKLINE,ZT1,根主图,通达信,源码,ZT,DT,REF,DT1 From: https://www.cnblogs.com/zhibiao/p/17992877