X1:=REF(CLOSE,1)<REF(OPEN,1) AND REF(vol,1)>MAX(REF(MA(VOL,5),1),MAX(REF(MA(VOL,10),1),REF(MA(VOL,20),1))) AND REF(AMOUNT,1)=REF(HHV(AMOUNT,20),1) OR REF(CLOSE,1)<REF(OPEN,1) AND REF(AMOUNT,1)=REF(HHV(AMOUNT,20),1);
Y1:=IF(X1,REF(CLOSE,1),0);
Z2:=REF(Y1,BArslAST(X1));
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
KK:=SMA(RSV1,5,1);
中多:=SMA(KK,10,1),COLOR669933;
VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
RSV3:=SMA(SMA(VARE,3,1),3,1);
RSV4:=3*SMA(VARE,3,1)-2*RSV3;
短多:=EMA(RSV4,5),COLORRED;
红箭头:crOSS(短多,中多);