gspt1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
gspt2:=SMA(ABS(LOW-gspt1),13,1)/SMA(MAX(LOW-gspt1,0),10,1);
gspt3:=EMA(gspt2,10);
gspt4:=LLV(LOW,33);
gspt5:=EMA(IF(LOW<=gspt4,gspt3,0),3);
主力进场:IF(gspt5>REF(gspt5,1),gspt5,0),COLORRED,NODRAW;
STICKLINE(gspt5>REF(gspt5,1),0,-gspt5,3,-1),COLORFFFF00;
洗盘:IF(gspt5< REF(gspt5,1),gspt5,0),COLORGREEN,NODRAW;
STICKLINE(gspt5< REF(gspt5,1),0,-gspt5,3,-1),COLORFF00FF;
NMTM:=C-REF(C,1);
ZLGJ:100*EMA(EMA(NMTM,5),5)/EMA(EMA(ABS(NMTM),5),5),COLORRED,LINETHICK1;
MAZL:MA(ZLGJ,9),COLORFFCAC5,LINETHICK1,DOTLINE;
STICKLINE(REF(ZLGJ,1)<=ZLGJ,ZLGJ,REF(ZLGJ,1),2,0),COLORRED;
STICKLINE(REF(ZLGJ,1)>ZLGJ,ZLGJ,REF(ZLGJ,1),2,0),COLORGREEN;
XGG:=(gspt5< REF(gspt5,1) AND REF(NOT(gspt5< REF(gspt5,1)),1)) AND (REF(ZLGJ,1)<=ZLGJ AND REF(NOT(REF(ZLGJ,1)<=ZLGJ),1));
DRAWICON(XGG,0,34);