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;
九毛八公式解读
X_1赋值:100*(收盘价-1日前的收盘价)/1日前的收盘价 X_2赋值:如果收盘价<1日前的开盘价ANDX_1<0,返回1,否则返回0 X_3赋值:X_2 X_4赋值:如果收盘价<2日前的开盘价ANDX_1<0,返回1,否则返回0 X_5赋值:X_4 X_6赋值:收盘价/1日前的收盘价>1.035 X_7赋值:最高价>=5日内最高价的最高值 X_8赋值:上次X_7距今天数 X_9赋值:如果最低价<0.989*X_8日前的最低价,返回1,否则返回0 X_10赋值:X_9 AND 统计X_8日中满足X_9的天数<2 AND X_8<30 AND X_8>0 X_11赋值:1日前的收阴线 AND 收阳线 X_12赋值:上次X_10距今天数 X_13赋值:如果最低价<0.989*X_12日前的最低价,返回1,否则返回0 X_14赋值:X_13 AND 统计X_12日中满足X_13的天数<2 AND X_12<30 AND X_8>0 AND X_12>0 X_15赋值:上次X_14距今天数 X_16赋值:如果最低价<0.989*X_15日前的最低价,返回1,否则返回0 X_17赋值:8日前的收盘价>OPENOROPEN>收盘价 X_18赋值:X_16 AND 统计X_15日中满足X_16的天数<2 AND X_15<30 AND X_8>0 AND X_12>0 AND X_15>0 X_19赋值:X_3=0 AND 1日前的X_3=1 AND X_5=0 AND 1日前的X_5=1 X_20赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均 X_21赋值:X_20的9日指数移动平均 X_22赋值:2*(X_20-X_21) X_23赋值:1日前的X_22<2日前的X_22 AND X_22>=0 AND X_22>1日前的X_22 AND X_17 X_24赋值:收盘价的5日简单移动平均 X_25赋值:收盘价的10日简单移动平均 X_26赋值:收盘价的20日简单移动平均 X_27赋值:收盘价上穿X_24 AND 收盘价上穿X_25 AND 收盘价上穿X_26 AND X_6 输出闪电起爆:X_19 AND (1日前的X_14 OR 1日前的X_18 OR 2日前的X_18) AND X_23 AND X_27 AND X_11