X_1:=(3*CLOSE+LOW+OPEN+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))/210;
X_3:=MA(X_2,6);
X_4:=CLOSE>REF(CLOSE,1)*1.097;
X_5:=COUNT(X_4,12);
X_6:=REF(X_5,1)>=1;
X_7:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_8:=MA(X_7,6);
X_9:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_10:=EMA(X_9,9);
X_11:=2*(X_9-X_10);
X_12:=X_11-REF(X_11,1);
X_13:=X_11-REF(X_11,1);
X_14:=MA(X_13,3);
X_15:=SMA(AMOUNT,10,1)/10000;
X_16:=REF(X_15,1);
X_17:=SMA(AMOUNT,10,1)/10000;
X_18:=MA(X_15,13);
X_19:=HHV(AMOUNT,13);
X_20:=IF(REF(CLOSE,BARSLAST(AMOUNT=X_19))>REF(CLOSE,BARSLAST(AMOUNT=X_19)+1),1,0);
X_21:=SMA(AMOUNT,10,1)/10000;
{分析家公式网www.gspt.Com}
X_22:=BARSLAST(CLOSE/REF(CLOSE,1)>=1.097);
X_23:=REF(X_21,1);
X_24:=IF(X_22<=12,X_22,0);
X_25:=COUNT(X_21<X_23,X_24);
X_26:=COUNT(OPEN>CLOSE,X_24);
X_27:=COUNT(HIGH>=HHV(HIGH,12) AND OPEN>CLOSE AND X_22>3 AND X_22<12,X_24);
强势金叉:CROSS(X_7,X_8) AND X_13>X_14 AND X_20>0 AND X_18>REF(X_18,1) AND X_25<3 AND X_26<5 AND X_27=0 AND X_6>=1 AND COUNT(CLOSE>X_3,4)>=4;