X_1:=LLV(LOW,120);
X_2:=HHV(HIGH,250);
X_3:=EMA((CLOSE-X_1)/(X_2-X_1)*4,4)*25;
X_4:=MAX(DYNAINFO(3),DYNAINFO(5));
X_5:=MIN(DYNAINFO(3),DYNAINFO(6));
X_6:=X_4-X_5;
X_7:=X_5+X_6*7/8;
X_8:=X_5+X_6*0.5/8;
X_9:=(X_8+X_7)/2;
X_10:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
X_11:=EMA(X_10,3);
X_12:=(X_3+X_11)/2;
X_13:=(X_12-REF(X_12,1))/REF(X_12,1)*100;
X_14:=X_12<11 AND FILTER(X_12<=11,15) AND CLOSE<X_9;
X_15:=REF(X_12,1)<11 AND CROSS(X_12,11) AND CLOSE<X_9;
X_16:=REF(X_12,1)<11 AND REF(X_12,1)>6 AND CROSS(X_12,11);
X_17:=REF(X_12,1)<6 AND REF(X_12,1)>3 AND CROSS(X_12,6);
X_18:=REF(X_12,1)<3 AND REF(X_12,1)>1 AND CROSS(X_12,3);
X_19:=REF(X_12,1)<1 AND REF(X_12,1)>0 AND CROSS(X_12,1);
X_20:=REF(X_12,1)<0 AND CROSS(X_12,0);
X_21:=X_16=1 OR X_17=1 OR X_18=1 OR X_19=1 OR X_20=1;
X_22:=X_12>89 AND FILTER(X_12>89,15) AND CLOSE>X_9;
X_23:=REF(X_12,1)>89 AND CROSS(89,X_12) AND CLOSE>X_9;
X_24:=REF(X_12,1)>89 AND REF(X_12,1)<94 AND CROSS(89,X_12);
X_25:=REF(X_12,1)>94 AND REF(X_12,1)<97 AND CROSS(94,X_12);
X_26:=REF(X_12,1)>97 AND REF(X_12,1)>99 AND CROSS(97,X_12);
X_27:=REF(X_12,1)>99 AND REF(X_12,1)<100 AND CROSS(99,X_12);
X_28:=REF(X_12,1)>100 AND CROSS(100,X_12);
X_29:=X_24=1 OR X_25=1 OR X_26=1 OR X_27=1 OR X_28=1;
NOTEXT :IF(X_12<11,0.5,0),COLOR3366FF;
NOTEXT :IF(X_12>89,3.5,4),COLORBLUE;
NOTEXT :IF(X_14 OR X_22,2,1.5),COLORWHITE;
NOTEXT :IF(X_14 OR X_22,2,2.5),COLORWHITE;
NOTEXT卖 :IF(X_29=1 AND CLOSE>X_9,3,4),COLORGREEN;
NOTEXT加 :IF(X_23,2.5,4),COLORGREEN;
NOTEXT买 :IF(X_21=1 AND CLOSE<X_9,1,0),COLORRED;
NOTEXT加 :IF(X_15,1.5,0),COLORRED;