N:=20; BOLLBB:=15; P:=2; MID : MA(CLOSE,N); UPPER: MID + P*STD(CLOSE,N); LOWER: MID - P*STD(CLOSE,N); xg:=(UPPER-LOWER)/MID *100<BOLLBB AND VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,20); DRAWTEXT(xg=1 AND VOL/MA(VOL,20)<0.5,LOWER,'缩量收口'),colorred; STICKLINE(C/REF(C,1)>1.0989,O,C,5,0),colormagenta;
看股吧 公式 www.kanguba. com