通达信闪电起爆选股指标公式

通达信万能手主图指标公式

通达信闪电起爆选股指标公式:

X_1:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);

X_2:=IF(CLOSE<REF(OPEN,1) AND X_1<0,1,0);

X_3:=X_2;

X_4:=IF(CLOSE<REF(OPEN,2) AND X_1<0,1,0);

X_5:=X_4;

X_6:=CLOSE/REF(CLOSE,1)>1.035;

X_7:=HIGH>=HHV(HIGH,5);

X_8:=BArslAst(X_7);

X_9:=IF(LOW<0.989*REF(LOW,X_8),1,0);

X_10:=X_9 AND COUNT(X_9,X_8)<2 AND X_8<30 AND X_8>0;

X_11:=REF(CLOSE<OPEN,1) AND CLOSE>OPEN;

X_12:=BARSLAST(X_10);

X_13:=IF(LOW<0.989*REF(LOW,X_12),1,0);

X_14:=X_13 AND COUNT(X_13,X_12)<2 AND X_12<30 AND X_8>0 AND X_12>0;

X_15:=BARSLAST(X_14);

X_16:=IF(LOW<0.989*REF(LOW,X_15),1,0);

X_17:=REF(CLOSE>OPEN OR OPEN>CLOSE,8);

X_18:=X_16 AND COUNT(X_16,X_15)<2 AND X_15<30 AND X_8>0 AND X_12>0 AND X_15>0;

X_19:=X_3=0 AND REF(X_3,1)=1 AND X_5=0 AND REF(X_5,1)=1;

X_20:=EMA(CLOSE,12)-EMA(CLOSE,26);

X_21:=EMA(X_20,9);

X_22:=2*(X_20-X_21);

X_23:=REF(X_22,1)<REF(X_22,2) AND X_22>=0 AND X_22>REF(X_22,1) AND X_17;

X_24:=MA(CLOSE,5);

X_25:=MA(CLOSE,10);

X_26:=MA(CLOSE,20);

X_27:=crOSS(CLOSE,X_24) AND CROSS(CLOSE,X_25) AND CROSS(CLOSE,X_26) AND X_6;

闪电起爆:X_19 AND (REF(X_14,1) OR REF(X_18,1) OR REF(X_18,2)) AND X_23 AND X_27 AND X_11;

通达信双均线买入卖出主图指标公式