通达信五鬼擒妖指标公式
X_1:=ma(CLOSE,5);
X_2:=IF(X_1>REF(X_1,1),X_1,DRAWNULL);
X_3:=IF(CLOSE>REF(CLOSE,1),88,0);
X_4:=IF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH/CLOSE<1.035 AND X_3>0,91,0);
X_5:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAst(vol,5),0.3*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_6:=FILTER(X_4>90,30)=1;
X_7:=FILTER(X_5,60);
X_8:=X_2 AND X_7 AND X_6;
X_9:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_10:=X_9 AND COUNT(X_9,9)=1;
X_11:=(CLOSE-EMA(CLOSE,5))/EMA(CLOSE,5)*100;
X_12:=EMA(EMA(EMA(CLOSE,50),50),50)*1.1;
X_13:=EMA(EMA(EMA(CLOSE,10),10),10)*1.09;
X_14:=crOSS(X_11,5) AND CROSS(CLOSE,X_12) AND CROSS(CLOSE,X_13);
X_15:=IF(CLOSE>REF(CLOSE,1),88,0);
X_16:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_15>0,91,0);
X_17:=FILTER(X_16>90,45);
X_18:=FILTER(X_16>90,35);
X_19:=MA(CLOSE,10);
X_20:=MA(CLOSE,54);
X_21:=(CLOSE-X_20)/X_20<0.1;
X_22:=(CLOSE-X_19)/X_19<0.3;
X_23:=(X_21=1 AND X_22=1)*0.2;
X_24:=(X_23=0 AND REF(X_23,1)=0.2 AND REF(COUNT(X_23=0.2,10)=10,1)=1)*(-0.1);
X_25:=X_24=(-0.1);
STICKLINE(X_8,3,(-20),8,0),COLORMAGENTA;
STICKLINE(X_10,26,3,8,0),COLORFFCC00;
STICKLINE(X_14,49,26,8,0),COLORYELLOW;
STICKLINE(X_18,72,49,8,0),COLORGREEN;
STICKLINE(X_25,95,72,8,0),COLOR0000CC;