TJ11:=BARSLAST(倍量);
倍量柱:=REF(C,TJ11);
STICKLINE(倍量柱,倍量柱,倍量柱,1,1),COLOR008080;
梯量:=COUNT(V>REF(V,1),3)=3 AND COUNT(C>O,3)=3;
TJ:=BARSLAST(梯量);
梯量柱:=REF(C,TJ);
STICKLINE(梯量柱,梯量柱,梯量柱,1,1),COLORFF00FF;
平量:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02;
TJJ:=BARSLAST(平量);
平量柱:=REF(C,TJJ);
STICKLINE(平量柱,平量柱,平量柱,1,1),COLOR8080FF;
高量:=VOL=HHV(VOL,15);
TJJJ:=BARSLAST(高量);
高量柱:=REF(C,TJJJ);
STICKLINE(高量柱,高量柱,高量柱,1,1),COLORA00000;
阴连缩:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND V*1.05<REF(V,1)
AND REF(V,1)*1.05<REF(V,2) AND NOT((BARSCOUNT(C)+1)<60) ;
DRAWTEXT(阴连缩,C*1.1,'阴连缩'),COLORWHITE;
{阳连缩}
阳连缩:= UPNDAY(C,3) AND DOWNNDAY(V,3)
AND NOT(O=C AND H=C) ;
STICKLINE(阳连缩,C,O,1,0),COLORBROWN;
DRAWTEXT(阳连缩,C*1.1,'阳连缩'),COLORRED; |