VARTIME:=IF(YEAR>=9999 AND MONTH>=10 AND DAY>=28,0,1);
Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*VARTIME;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*VARTIME*100;
Q3:=SMA(Q2, 9, 1)*VARTIME;
Q4:=SMA(Q3, 3, 1)*VARTIME;
庄:=3*Q3-2*Q4;
Q5:=庄>1*REF(庄, 1)*VARTIME;
散筹1:=EMA(Q3, 3);
涨:crOSS(庄, 散筹1) AND Q5 AND 散筹1<20 AND Q1>9 OR 散筹1>1*REF(散筹1, 1) AND Q1>4 AND 散筹1<60;