ma5:=MA(CLOSE,5),COLORYELLOW;
MA10:=MA(CLOSE,10),COLORLICYAN;
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
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);
拉:TFILTER(X_15,CLOSE