X_1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
X_2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
X_3:=(2*CLOSE+HIGH+LOW)/4;
X_4:=LLV(LOW,26);
X_5:=HHV(HIGH,34);
X_6:=EMA((X_3-X_4)/(X_5-X_4)*100,16);
X_7:=SMA(SMA(X_2,3,1)+3,3,1);
X_8:=EMA(X_6,7);
X_9:=SMA(X_1,3,1);
X_10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_11:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_12:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
X_13:=(X_10+X_11+X_12)/3;
X_14:=IF(X_13<=(-20),10,0);
X_15:=HHV(X_14,10);
X_16:=LLV(LOW,36);
X_17:=HHV(HIGH,30);
X_18:=EMA((CLOSE-X_16)/(X_17-X_16)*4,4)*25;
X_19:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100/2+22)*1;
X_20:=(CLOSE-EMA(AMOUNT,13)/EMA(VOL,13)/100)/(EMA(AMOUNT,13)/EMA(VOL,13)/100)*100;
X_21:=X_20<0 AND (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100<X_19-2 AND X_18<10;
抄底警戒:IF(X_21,20,0),COLORYELLOW;
X_22:=REF(抄底警戒,1)>0;
X_23:=抄底警戒=0;
X_24:=X_22 AND X_23;
末日绝底:IF(X_24,30,0),COLORRED,LINETHICK2;
X_25:=COUNT(X_24,10);
X_26:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)>=0.041;
X_27:=CLOSE>MA(CLOSE,10) AND HIGH<=MA(CLOSE,20) AND CLOSE>=MA(CLOSE,5) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1);
X_28:=(REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,2)<=0.01;
X_29:=LAST(CLOSE>MA(CLOSE,10),3,10);
X_30:=FINANCE(52)=0;
X_31:=X_25 AND X_26 AND X_27 AND X_28 AND X_29 AND X_30;
真底:IF(X_31,40,0),COLORMAGENTA;