SG:(1+11/100)*MA(CLOSE,N),colorblack;
XG:(1-9/100)*MA(CLOSE,N),colorblack;
MA5:=MA(CLOSE,5),colorblack;
KD5:=REF(CLOSE,5),CIRCLEDOT,colorblack;
MA10:MA(CLOSE,10),colorblue;
KD10:REF(CLOSE,10),CROSSDOT,colorblue;
MA31:MA(CLOSE, 31),colormagenta;
KD20:=REF(CLOSE,20),POINTDOT,LINETHICK4,colormagenta;
MA60:=MA(CLOSE, 60);
MA120:=MA(CLOSE, 120),colorlired;
MA250:=MA(CLOSE, 250),colorliblue;
MID :=MA(CLOSE,20);
UPPER:=MID + 2*STD(CLOSE,20),colormagenta,DOTLINE;
LOWER:=MID - 2*STD(CLOSE,20),colormagenta,DOTLINE;
DRAWTEXT(KD10<XG AND LOW<XG,LOW,'关注'),colorred;