X_1:=(3*CLOSE+OPEN+LOW+HIGH)/6;
X_2:=(20*X_1+19*REF(X_1,1)+18*REF(X_1,2)+17*REF(X_1,3)+16*REF(X_1,4)+15*REF(X_1,5)+14*REF(X_1,6)+13*REF(X_1,7)+12*REF(X_1,8)+11*REF(X_1,9)+10*REF(X_1,10)+9*REF(X_1,11)+8*REF(X_1,12)+7*REF(X_1,13)+6*REF(X_1,14)+5*REF(X_1,15)+4*REF(X_1,16)+3*REF(X_1,17)+2*REF(X_1,18)+REF(X_1,20))/210;
X_3:=MA(X_2,5);
X_4:=(X_2-X_3)/CLOSE*100;
X_5:=X_4>REF(X_4,1) AND REF(X_4,1)<REF(X_4,2) AND REF(X_4,2)<REF(X_4,3) AND X_4<0.01;
X_6:=X_4>0.01 AND REF(X_4<0.01,1);
X_7:=BArslAST(X_6>0);
X_8:=COUNT(X_5>0,X_7);
X_9:=REF(LOW,1);
X_10:=SMA(Abs(LOW-X_9),3,1)/SMA(MAX(LOW-X_9,0),3,1)*100;
X_11:=EMA(X_10*10,3);
X_12:=LLV(LOW,13);
X_13:=HHV(X_11,13);
X_14:=EMA(IF(LOW<=X_12,(X_11+X_13*2)/2,0),3)/618;
X_15:=IF(IF(X_14>500 AND X_8>0,500,X_14)/10*X_8>10,IF(X_14>500 AND X_8>0,500,X_14)/10*X_8*5/100,IF(X_14>500 AND X_8>0,500,X_14)/10*X_8);
X_18:=X_15>=5 AND X_15>X_8 AND X_8>=1;
红柱:X_18;