TDXSTEP260:DRAWGBK(OPEN CLOSE,RGB(48,41,124),RGB(0,0,0),0,1,0);
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
下轨绿:=(1-7/100)*DD;
D:=REF(LOW,1) REF(下轨绿,1);
DF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100 (-4.95);
AA:=BARSLAST(DF);
箱体:=REF(CLOSE,AA+1);
突破箱体:=CROSS(CLOSE,REF(CLOSE,AA+1));
涨停:=CLOSE/REF(CLOSE,1) =1.095;
XG:=D AND 突破箱体 AND 涨停;
TDXSTEP261:STICKLINE(XG,150,0,4,0),COLOR000099;
TDXSTEP262:STICKLINE(XG,150,0,2,0),COLOR0000BB;
TDXSTEP263:STICKLINE(XG,150,0,1,0),COLOR0000DD;
TDXSTEP264:STICKLINE(XG,150,0,0.9,0),COLORRED;