X_1:=MA(CLOSE,46)+MA(CLOSE,46)*10/100;
X_2:=MA(CLOSE,23)+MA(CLOSE,23)*5/100;
X_3:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
X_4:=MA(HIGH,5);
X_5:=CLOSE/REF(CLOSE,1)>1.06;
X6:=MAX(X_1,MAX(X_2,MAX(X_3,X_4)));
X7:=MIN(X_1,MIN(X_2,MIN(X_3,X_4)));
X8:=(X6-X7)/X7*100;
X9:=CROSS(X8,5);
X10:=X6>REF(X6,1) AND REF(X6,1)>REF(X6,2) AND REF(X6,2)>REF(X6,3) AND REF(X6,3)>REF(X6,4);
X11:=X7>REF(X7,1) AND REF(X7,1)>REF(X7,2) AND REF(X7,2)>REF(X7,3) AND REF(X7,3)>REF(X7,4) ;
X12:=X10 AND X11;
X13:= X9 AND X12;
X14:=MA(C,60);
X15:=MA(C,125);
X16:=X14>REF(X14,1)AND REF(X14,1)>REF(X14,2)AND REF(X14,2)>=REF(X14,3)AND REF(X14,3)>=REF(X14,4);
X17:=X14>X15;
X18:=CROSS(X14,X15);
X19:=X17 OR X18;
X20:=X19 AND X16;
XDIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
XDEA:=EMA(XDIF,9);
XMACD:=(XDIF-XDEA)*2;
X21:=CROSS(XDIF,XDEA);
X22:=BARSLAST(X21);
X23:=X22<6;
X24:=X13 AND X20 AND X23;
AC:=HHV(C,220);
AB:=C;
X25:=AB=AC;
X26:=(X25=1 OR REF(X25,1)=1 OR REF(X25,2)=1);
TYP:=(HIGH+LOW+CLOSE)/3;
优化CCI:=EMA((TYP-MA(TYP,36))/(0.015*AVEDEV(TYP,36)),30);
X27:((X24 AND X26)OR (X26 AND REF(X24,1))) AND 优化CCI>100;
202108201222.jpg
|