通达信分时突破选股从此变得如此简单
价:=C,COLORWHITE;
TT:=BARSCOUNT(C);
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
均线:IF(ZZ1=0,MA(C,TT),ZZ);
突破:=C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0 AND C/均线<1.09 AND TT>13 AND TT<240;
DRAWTEXT( C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0 AND C/均线<1.09 AND TT>=13 AND TT<240 ,C-0.10 , '突破'),COLORRED;
STICKLINE( C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0 AND C/均线<1.09 AND TT>=13 AND TT<230 ,DYNAINFO(3) ,CLOSE+0.10 ,0.8 ,1);
猛攻:=COUNT(突破,13)>=3 AND C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0;
DRAWTEXT(猛攻 ,(C+DYNAINFO(3))/2 , '猛攻'),COLORGREEN;
STICKLINE(猛攻 ,DYNAINFO(3) ,C-0.05 ,800 ,901),COLORRED,LINETHICK4;
已猛攻:=BARSLAST(猛攻)<55;
DRAWTEXT( BARSLAST(猛攻)<55,C-0.35 , '已猛攻'),COLORWHITE;
STICKLINE(BARSLAST(猛攻)<55,DYNAINFO(3) ,CLOSE-0.30 ,0.8 ,1);