X_1:=6;
X_2:=2;
X_3:=CLOSE;
X_4:=LOW;
X_5:=HIGH;
A1:=EXPMEMA(SLOPE(X_3,X_1)*X_1+X_3,X_1);
A2:=EXPMEMA(FORCAST(X_3,4),4);
X_6:=A1>REF(A1,1) OR A2>REF(A2,1);
X_7:=NOT(X_6);
X_8:=X_6 AND HHV(REF(X_6,1),1)=0;
X_9:=NOT(X_6) AND HHV(REF(X_6,1),1)=1;
X_10:=crOSS(A1,A2);
X_11:=CROSS(A2,A1);
X_12:=12;
X_13:=26;
X_14:=9;
X_15:=EMA(X_3,X_12)-EMA(X_3,X_13);
X_16:=EMA(X_15,X_14);
X_17:=(X_15-X_16)*2;
X_18:=CROSS(X_15,X_16) OR (X_17>REF(X_17,1) AND REF(X_17,2)>REF(X_17,1));
X_19:=(X_3-LLV(X_4,9))/(HHV(X_5,9)-LLV(X_4,9))*100;
X_20:=SMA(X_19,3,1);
X_21:=SMA(X_20,3,1);
X_22:=3*X_20-2*X_21;
X_23:=CROSS(X_20,X_21) OR (X_22>REF(X_22,1) AND REF(X_22,2)>REF(X_22,1));
X_24:=REF(X_3,1);
X_25:=SMA(MAX(X_3-X_24,0),6,1)/SMA(Abs(X_3-X_24),6,1)*100;
X_26:=SMA(MAX(X_3-X_24,0),12,1)/SMA(ABS(X_3-X_24),12,1)*100;
X_27:=SMA(MAX(X_3-X_24,0),24,1)/SMA(ABS(X_3-X_24),24,1)*100;
X_28:=CROSS(X_25,X_27) OR (X_25>REF(X_25,1) AND REF(X_25,2)>REF(X_25,1));
X_29:=IF(OPEN=CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>9.8,AMOUNT,AMOUNT/((HIGH-LOW)*2-ABS(OPEN-CLOSE))*(CLOSE-LOW));
X_30:=X_29/AMOUNT*100;
X_31:=AMOUNT*X_30/10000000000;
X_32:=AMOUNT/100000000-X_31;
X_33:=X_31-X_32;
X_34:=X_33>IF(MA(X_33>0,5)*2>1.5,MA(X_33>0,5)*2,1.5);
X_35:=HHV(X_8,X_2)>0 AND HHV(X_23,X_2)>0 AND HHV(X_18,X_2)>0 AND HHV(X_28,X_2)>0 AND X_34;
X_36:=X_35 AND REF(X_35,1)=0;
上指:X_36;