YS1:=(HIGH+LOW+CLOSE*2)/4;
RK3:=EMA(YS1,10);
RK4:=STD(YS1,10);
RK5:=(YS1-RK3)*100/RK4;
RK6:=EMA(RK5,5);
涨:=EMA(RK6,10)+100/2-5;
跌:=EMA(涨,4);
STICKLINE(crOSS(涨,跌) AND 跌<20 AND 跌>-10,0,1,2,0),COLORYELLOW;
XD:=SUMBARS(vol,CAPITAL);
缩量:=IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),VOL
涨幅要求:=(C-REF(C,1))/REF(C,1)*100>1 AND C>(MA(V,25)>MA(V,5));
STICKLINE(连续缩量 AND 涨幅要求,0,1,2,0),COLORRED;