HGW1:=EMA(C,30)*1.09;
ZBGSHJ:=(HIGH+LOW+CLOSE)/3;
HGW3:=(ZBGSHJ-MA(ZBGSHJ,38))*1000/(15*AVEDEV(ZBGSHJ,38));
XG:=REF(EVERY(C< HGW1,10) AND EVERY(MA(C,60)>MA(C,120),4),1) AND C>HGW1 AND MA(C,60)>MA(C,120) AND V/REF(V,1)>1.2 AND REF(C,1)/REF(C,2)< 1.08 AND REF(C,2)/REF(C,13)< 1.07 AND C>REF(HHV(H,30),1) AND CAPITAL< 20000000 AND MA(C,20)/MA(C,250)< 1.4 AND HGW3>140;
STICKLINE(XG=1,0,10,4,0),COLORRED;