gspt1:=CLOSE>REF(CLOSE,1)*1.09;
gspt2:=CLOSE<REF(CLOSE,1)*1.105;
gspt3:=CLOSE<REF(CLOSE,1)*0.901;
gspt4:=gspt1 AND gspt2;
gspt5:=gspt3 AND CLOSE>REF(CLOSE,1)*0.898;
gspt6:=IF(INBLOCK(4),0.2,IF(INBLOCK(5),0.2,IF(INBLOCK(6),0.05,0.1)));
gspt7:=IF(DATE<=1200823,1,0);
gspt8:=CLOSE>MA(CLOSE,60) AND LOW<=MA(CLOSE,60) AND CLOSE;
gspt9:=CLOSE/REF(CLOSE,1)>1.093 AND CLOSE=HIGH;
gspt16:=CLOSE>MA(CLOSE,250);
gspt18:=gspt8 OR gspt16 AND gspt9;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
STICKLINE(gspt4,CLOSE,OPEN,4,0),COLORRED;
STICKLINE(gspt5,CLOSE,OPEN,4,0),COLORBLUE;
STICKLINE(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH AND gspt7=1,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW AND gspt7=1,OPEN,CLOSE,4,0),COLORBLUE;
STICKLINE(CLOSE>=ZTPRICE(REF(CLOSE,1),gspt6) AND CLOSE=HIGH,CLOSE,OPEN,4,0),COLORRED;
STICKLINE(CLOSE<=DTPRICE(REF(CLOSE,1),gspt6) AND CLOSE=LOW,CLOSE,OPEN,4,0),COLORBLUE;
流通市值:FINANCE(40)/100000000,NODRAW,COLORRED;
DRAWICON(gspt18 AND NOT(R.............