%>
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通1:=AA*102/100;
通2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上:(1+7/100)*DD,DOTLINE,colorgreen;
下:(1-7/100)*DD,DOTLINE,colorgreen;
中:(上+下)/2,DOTLINE,colorgreen;
上上:EMA(上,181),DOTLINE,colorred;
下下:EMA(下,181),DOTLINE,colorred;
中中:EMA(中,181),DOTLINE,colorred;
STICKLINE(上>=上上,上,上上,0,0),colorred;
DRAWKLINE(H,O,L,C);
{IF((上 <= REF(上,1)),上,DRAWNULL),colorgreen,DOTLINE;
IF((上 > REF(上,1)),上,DRAWNULL),colorred,DOTLINE;
IF((中 <= REF(中,1)),中,DRAWNULL),colorgreen,DOTLINE;
IF((中 > REF(中,1)),中,DRAWNULL),colorred,DOTLINE;
IF((下 <= REF(下,1)),下,DRAWNULL),colorgreen,DOTLINE;
IF((下 > REF(下,1)),下,DRAWNULL),colorred,LINETHICK2;}
顶:=(1+14/100)*DD,LINETHICK2,colorblack;
底:=(1-14/100)*DD,LINETHICK2,colorblack;
触底:=REF(L,1)<底 AND ZT ;
DRAWTEXT(触底,L,'反转'),colorcyan;
STICKLINE(触底,C,O,3,1),coloryellow;
STICKLINE(触底,C,O,1,0),colorred;
DF:=(C-REF(C,1))/REF(C,1)*100<-5;
DF4:=(C-O)/O*100<-4;
AAAA:=BARSLAST(DF);
乖离涨停1:=H>上 AND ZT AND CROSS(C,上);
DRAWTEXT(乖离涨停1,L,'爆'),coloryellow;
STICKLINE(乖离涨停1,C,O,3,1),coloryellow;
乖离涨停2:=O>上 AND ZT;
STICKLINE(乖离涨停2,C,O,3,1),colorcyan;
DRAWTEXT(乖离涨停2,L,'妖股'),colorcyan;
{股票教程网-http://www.tangnengtong.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}