X_1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
X_2:=SMA(X_1,3,1);
X_3:=SMA(X_2,3,1);
X_4:=SMA(X_3,3,1);
主力:X_3,COLORRED;
散户:X_4,COLORLIBLUE;
X_5:=CROSS(X_3,X_4) AND X_3<20;
X_6:=BARSLAST(REF(CROSS(主力,散户),1));
STICKLINE(FILTER(X_5,10)=1,主力,88,2,0),COLORRED;
DRAWTEXT(FILTER(X_5,10)=1,58,'加仓'),COLORWHITE,LINETHICK3;
STICKLINE(CROSS(主力,散户) AND X_3>20,主力,88,2,0),COLORYELLOW;
DRAWTEXT(CROSS(主力,散户) AND X_3>20,58,'抄底'),COLORWHITE,LINETHICK3;