MID:=MA(CLOSE,26); UPPER:=MID+2*STD(CLOSE,26); LOWER:=MID-2*STD(CLOSE,26); 布林截距:=(UPPER-LOWER)*100-200; 主升浪选股:=IF(CROSS(布林截距,-20) AND MID>REF(MID,1),11,0),COLORBLACK; 主升浪:IF(布林截距>0 AND MID>REF(MID,1) AND REF(MID,1)>REF(MID,2),布林截距,0),COLORRED; DRAWICON(CROSS(布林截距,-20) AND MID>REF(MID,1),0,4); 末跌段:IF(布林截距>0 AND MID<REF(MID,1) AND REF(MID,1)<REF(MID,2),布林截距,0)*-1,COLORBLUE;