MA5:MA(CLOSE,5),COLORYELLOW;
MA10:MA(CLOSE,10),COLORLICYAN;
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
DRAWICON(crOSS(MA10,MA5),MA10,6);
_10日涨跌%:(CLOSE-REF(CLOSE,10))/REF(CLOSE,10)*100,NODRAW,COLORGREEN;
_5日涨跌%:(CLOSE-REF(CLOSE,5))/REF(CLOSE,5)*100,NODRAW,COLORGREEN;
DRAWICON(CROSS(MA5,MA10) AND MA5>REF(MA5,1),MA10,9);
X_1:=(2*CLOSE+HIGH+LOW)/4;
X_2:=EMA(EMA(EMA(X_1,4),4),4);
X_3:=(X_2-REF(X_2,1))/REF(X_2,1)*100;
X_4:=MA(X_3,3);
X_5:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_6:=EMA(X_5,9);
X_7:=(X_5-X_6)*2;
X_8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_9:=SMA(X_8,9,1);
X_10:=SMA(X_9,3,1);
X_11:=3*X_9-2*X_10;
X_12:=CLOSE>OPEN OR HIGH>MA5>MA60 AND vol/CAPITAL*100>3 AND REF(VOL/CAPITAL*100>3,1) AND REF(VOL/CAPITAL*100>3,2) AND NOT(CROSS(REF(MA10,1),REF(MA5,1))) AND ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416>10 AND (ATAN((MA60/REF(MA60,1)-1)*100)*180/3.1416>(-10) OR VOL/REF(VOL,1)>1.5 OR (REF(VOL,1)/REF(VOL,2)>1.5 AND VOL/REF(VOL,1)>0.6 OR REF(VOL,2)/REF(VOL,3)>1.5 AND VOL/REF(VOL,1)>0.6) AND ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416>0 AND ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416>0 AND MA5>MA10 AND CLOSE>MA(CLOSE,30) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1) AND X_11>REF(X_11,1) AND X_3>X_4 AND REF(macd.MacD,2)X_10 AND (X_7>0 AND NOT(CROSS(X_5,X_6)));
X_13:=CLOSE>OPEN AND NOT(CROSS(REF(MA10,1),REF(MA5,1))) AND MA5>REF(MA5,1) AND MA5>MA10 AND CLOSE>MA(CLOSE,30) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1) AND X_11>REF(X_11,1) AND X_11>X_10 AND X_3>X_4 AND X_7>0;
X_14:=CROSS(MA5,MA10) OR MA5>MA10 AND MA5>REF(MA5,1) AND MA5>MA20 AND MA10>MA20 AND MA20>REF(MA20,1);
X_15:=IF(ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416>0,X_13,X_12);
STICKLINE(TFILTER(X_15,CLOSE
DRAWTEXT(TFILTER(CROSS(MA10,MA5),X_15,1),HIGH*1.12,'逃'),COLORGREEN;
X_16:=EMA(CLOSE,12)-EMA(CLOSE,150);
X_17:=EMA(X_16,9);
X_18:=(X_16-X_17)*2;
X_19:=MA(CLOSE,3)>REF(MA(CLOSE,3),1);
X_20:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100;
X_21:=CROSS(X_3,X_4);
X_22:=X_18<0 AND X_18>REF(X_18,1) AND REF(X_18,1)X_23:=X_19 AND (X_20<=0 AND X_20>REF(X_20,1)) AND X_21 AND (X_22 OR REF(X_22,1) OR REF(X_22,2) OR REF(X_22,3));
X_24:=X_19 AND (X_20<=0 AND X_20>REF(X_20,1)) AND X_22 AND (X_21 OR REF(X_21,1) OR REF(X_21,2) OR REF(X_21,3));
X_25:=X_23 OR X_24;
STICKLINE(X_25,LOW,0.85*LOW,1,0),COLORLIBLUE;
DRAWTEXT(X_25,0.84*LOW,'吸'),COLORYELLOW;
X_26:=VOL;
X_27:=MA(X_26,5);
X_28:=MA(X_26,50);
X_29:=CROSS(X_27,X_28) AND X_26>X_27 AND X_26/REF(X_26,1)>1.2 AND CLOSE>MA5 AND MA5>REF(MA5,1);
X_30:=X_27>X_28 AND X_27>REF(X_27,1) AND X_26>X_27 AND X_26/REF(X_26,1)>1.5 AND REF(X_26,1)1.01 OR X_26/REF(X_26,1)>2.5) AND CLOSE>MA5 AND MA5>REF(MA5,1);
STICKLINE(X_29,LOW,0.85*LOW,1,0),COLORYELLOW;
STICKLINE(X_30,LOW,0.9*LOW,1,0),COLORYELLOW;
STICKLINE(X_30,0.9*LOW,0.85*LOW,1,0),COLORRED;