X_1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
X_2:=SMA(X_1,9,1)+100;
X_3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_4:=SMA(X_3,3,1);
X_5:=SMA(X_4,3,1)+100;
X_6:=X_5-X_2;
X_7:=IF(X_6>45,X_6-45,0);
X_8:=IF(CLOSE>OPEN,CLOSE,OPEN);
X_9:=IF(CLOSE>OPEN,OPEN,CLOSE);
X_10:=LLV(X_8,4);
X_11:=HHV(X_9,4);
X_12:=X_8>=X_10 AND X_9<=X_10 AND X_8>=X_11 AND X_9<=X_11;
X_13:=REF(X_8,1)>=X_10 AND REF(X_9,1)<=X_10 AND REF(X_8,1)>=X_11 AND REF(X_9,1)<=X_11;
X_14:=REF(X_8,2)>=X_10 AND REF(X_9,2)<=X_10 AND REF(X_8,2)>=X_11 AND REF(X_9,2)<=X_11;
X_15:=REF(X_8,3)>=X_10 AND REF(X_9,3)<=X_10 AND REF(X_8,3)>=X_11 AND REF(X_9,3)<=X_11;
X_16:=X_12 AND X_13 AND X_14 AND X_15;
X_17:=REF(X_11,BARSLAST(X_16));
X_18:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_19:=(REF(OPEN,5)+REF(CLOSE,5))/2;
X_20:=(HIGH+LOW+CLOSE+OPEN)/4;
X_21:=MAX(X_19,MAX(X_20,HHV(HIGH,5)));
X_22:=MIN(X_19,MIN(X_20,LLV(LOW,5)));
X_23:=X_21=X_19;
X_24:=X_23;
X_25:=REF(X_21,BARSLAST(X_24));
X_26:=CLOSE>X_25;
X_27:=EMA(EMA(EMA(OPEN,5),5),5);
X_28:=ATAN((X_27/REF(X_27,1)-1)*100)*57.299999;
X_29:=EVERY(X_28>10 AND X_27>REF(X_27,1),2);
X_30:=EMA(CLOSE,5)-EMA(CLOSE,55);
X_31:=EMA(X_30,10);
X_32:=X_30-X_31;
X_33:=MA(LOW+(HIGH-LOW)/2,26)*1.15;
X_34:=MA(LOW+(HIGH-LOW)/2,26)*0.95;
X_35:=(X_33+X_34)/2;
X_36:=(MA(CLOSE,5)+MA(OPEN,5))/2*1.06;
X_37:=(MA(CLOSE,5)+MA(OPEN,5))/2*0.98;
X_38:=(X_36+X_37)/2;
X_39:=X_36>X_34;
X_40:=X_36>X_35;
X_41:=X_36>X_33;
X_42:=X_38>X_34;
X_43:=X_38>X_35;
X_44:=X_38>X_33;
X_45:=X_37>X_34;
X_46:=X_37>X_35;
X_47:=X_37>X_33;
X_48:=X_39+X_40+X_41+X_42+X_43+X_44+X_45+X_46+X_47;
X_49:=X_48>0 AND X_7>1 AND EXIST(X_16>0,13) AND EXIST(X_48<2,50) AND X_29 AND CLOSE>X_17 AND X_32>0 AND X_26;
FILTER(X_49,9);
九毛八公式解读
X_1赋值:(9日内最高价的最高值-收盘价)/(9日内最高价的最高值-9日内最低价的最低值)*100-70 X_2赋值:X_1的9日[1日权重]移动平均+100 X_3赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100 X_4赋值:X_3的3日[1日权重]移动平均 X_5赋值:X_4的3日[1日权重]移动平均+100 X_6赋值:X_5-X_2 X_7赋值:如果X_6>45,返回X_6-45,否则返回0 X_8赋值:如果收阳线,返回收盘价,否则返回开盘价 X_9赋值:如果收阳线,返回开盘价,否则返回收盘价 X_10赋值:4日内X_8的最低值 X_11赋值:4日内X_9的最高值 X_12赋值:X_8>=X_10 AND X_9<=X_10 AND X_8>=X_11 AND X_9<=X_11 X_13赋值:1日前的X_8>=X_10 AND 1日前的X_9<=X_10 AND 1日前的X_8>=X_11 AND 1日前的X_9<=X_11 X_14赋值:2日前的X_8>=X_10 AND 2日前的X_9<=X_10 AND 2日前的X_8>=X_11 AND 2日前的X_9<=X_11 X_15赋值:3日前的X_8>=X_10 AND 3日前的X_9<=X_10 AND 3日前的X_8>=X_11 AND 3日前的X_9<=X_11 X_16赋值:X_12 AND X_13 AND X_14 AND X_15 X_17赋值:上次X_16距今天数日前的X_11 X_18赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100 X_19赋值:(5日前的开盘价+5日前的收盘价)/2 X_20赋值:(最高价+最低价+收盘价+开盘价)/4 X_21赋值:X_19和X_20和5日内最高价的最高值的较大值的较大值 X_22赋值:X_19和X_20和5日内最低价的最低值的较小值的较小值 X_23赋值:X_21=X_19 X_24赋值:X_23 X_25赋值:上次X_24距今天数日前的X_21 X_26赋值:收盘价>X_25 X_27赋值:开盘价的5日指数移动平均的5日指数移动平均的5日指数移动平均 X_28赋值:(X_27/1日前的X_27-1)*100的反正切*57.299999 X_29赋值:最近2日一直存在X_28>10ANDX_27>1日前的X_27 X_30赋值:收盘价的5日指数移动平均-收盘价的55日指数移动平均 X_31赋值:X_30的10日指数移动平均 X_32赋值:X_30-X_31 X_33赋值:最低价+(最高价-最低价)/2的26日简单移动平均*1.15 X_34赋值:最低价+(最高价-最低价)/2的26日简单移动平均*0.95 X_35赋值:(X_33+X_34)/2 X_36赋值:(收盘价的5日简单移动平均+开盘价的5日简单移动平均)/2*1.06 X_37赋值:(收盘价的5日简单移动平均+开盘价的5日简单移动平均)/2*0.98 X_38赋值:(X_36+X_37)/2 X_39赋值:X_36>X_34 X_40赋值:X_36>X_35 X_41赋值:X_36>X_33 X_42赋值:X_38>X_34 X_43赋值:X_38>X_35 X_44赋值:X_38>X_33 X_45赋值:X_37>X_34 X_46赋值:X_37>X_35 X_47赋值:X_37>X_33 X_48赋值:X_39+X_40+X_41+X_42+X_43+X_44+X_45+X_46+X_47 X_49赋值:X_48>0 AND X_7>1 AND 最近13日存在X_16>0 AND 最近50日存在X_48<2 AND X_29 AND 收盘价>X_17 AND X_32>0 AND X_26 X_49的9日过滤