X_1:=VOL/REF(VOL,1);
X_2:=VOL/REF(LLV(VOL,100),1);
X_3:=VOL/REF(HHV(VOL,100),1);
X_4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_5:=(CLOSE-OPEN)/OPEN*100;
X_6:=(HIGH-MAX(CLOSE,OPEN))/MAX(CLOSE,OPEN)*100;
X_7:=VOL/REF(VOL,1)>1.95 AND VOL/REF(VOL,1)<2.05 AND CLOSE>OPEN;
X_8:=VOL/REF(VOL,1)<0.55 AND CLOSE<REF(CLOSE,1) AND HIGH>LOW;
X_9:=OPEN/CLOSE>=1.04 OR (REF(CLOSE,1)/CLOSE>=1.03 AND
CLOSE<OPEN) AND
IF(REF(X_4>1.095,1),VOL/REF(VOL,1)<=1.1,VOL/MA(VOL,60)<=2/3 OR
VOL/REF(VOL,1)<=1.15 OR VOL<HHV(VOL,5));
X_10:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.03 AND CLOSE>OPEN OR
(CLOSE-OPEN)/OPEN>=0.04 AND (VOL<=MA(VOL,60) OR
VOL/REF(VOL,1)<=1.2 OR VOL<HHV(VOL,5)) AND
IF(REF(HIGH=LOW,1),VOL/REF(VOL,1)<16,VOL/REF(VOL,1)<6) AND
HIGH>LOW;
X_11:=REF(X_4>0 AND CLOSE>OPEN,2) AND REF(X_4>0 AND
CLOSE>OPEN,1) AND X_4>0 AND CLOSE>OPEN AND
REF(VOL,1)/REF(VOL,2)>1.05 AND VOL/REF(VOL,1)>1.02 AND
CLOSE/REF(CLOSE,1)>1.07;
X_12:=REF(X_3>1,1) AND VOL/REF(VOL,1)>1.2 AND CLOSE>REF(HHV(CLOSE,21),1);
X_13:=REF(X_10,2) AND REF(X_3>1,1) AND X_3>1;
X_14:=REF(CLOSE<OPEN,1) AND REF(OPEN,1)>=REF(HHV(MAX(CLOSE,OPEN),21),1) AND REF(VOL,1)/REF(VOL,2)>0.85 AND X_10;
X_15:=REF(X_10,1) AND X_10 AND VOL/REF(VOL,1)>1.2;
X_16:=REF(X_10,2) AND REF(X_10,1) AND X_10 AND VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2);
X_17:=X_10 AND NOT(REF(X_3>=1,1) AND REF(CLOSE<OPEN,1)) AND
NOT(X_3>1) AND NOT(X_11) AND NOT(REF(X_12,1) AND
VOL/REF(VOL,1)>0.85) AND NOT(X_14) AND NOT(X_15) AND NOT(X_16);
X_18:=ABS(X_4)<=3 AND ABS(X_5)<=2;
X_19:=REF(X_9,1) AND X_18 OR (REF(X_9,2) AND REF(X_18,1) AND X_18) OR
(REF(X_9,3) AND REF(X_18,2) AND REF(X_18,1) AND X_18) OR (REF(X_9,4) AND
REF(X_18,3) AND REF(X_18,2) AND REF(X_18,1) AND X_18);
X_20:=CLOSE>OPEN AND X_4<(-4);
X_21:=CLOSE<OPEN AND X_4<=(-4) AND ABS(X_5)<1;
X_22:=REF(CLOSE<OPEN,2) AND (REF(CLOSE<OPEN,1) OR
(REF(CLOSE>=OPEN,1) AND REF(CLOSE,1)<REF(MIN(CLOSE,OPEN),2))) AND
(CLOSE<OPEN OR (CLOSE>=OPEN AND CLOSE<REF(MIN(CLOSE,OPEN),1)))
AND CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2) AND
VOL<REF(VOL,1) AND REF(VOL,1)<REF(VOL,2);
X_23:=REF(CLOSE<=OPEN,3) AND REF(CLOSE<=OPEN,2) AND
REF(CLOSE<=OPEN,1) AND CLOSE<=OPEN AND CLOSE<=REF(CLOSE,1) AND
REF(CLOSE,1)<=REF(CLOSE,2) AND REF(CLOSE,2)<=REF(CLOSE,3);
X_24:=COUNT(CLOSE<=OPEN AND CLOSE<REF((CLOSE+OPEN)/2,1),5)>=3 AND CLOSE<OPEN AND CLOSE<=REF(LLV(CLOSE,9),1);
X_25:=REF(X_9,1) AND REF(ABS(X_5),1)>2 AND CLOSE>OPEN AND CLOSE>REF((CLOSE+OPEN)/2,1) AND VOL/REF(VOL,1)<2.6;
X_26:=REF(X_19,1) AND X_17;
X_27:=REF(X_9,1) AND X_17;
X_28:=REF(X_20,1) OR REF(X_20,2) AND (X_17 OR (CLOSE>REF(CLOSE,1) AND
VOL>REF(VOL,1) AND VOL/REF(VOL,1)<6)) AND CLOSE>OPEN AND
(X_4>3 OR X_5>4);
X_29:=REF(X_19,1) AND CLOSE>OPEN AND X_4>3 AND VOL>REF(VOL,1);
X_30:=REF(X_22,1) AND (X_17 OR (CLOSE>REF(OPEN,1) AND VOL>REF(VOL,1) AND VOL/REF(VOL,1)<2.6) AND X_4>3);
X_31:=REF(X_9,2) AND REF(X_19,1) AND CLOSE>=OPEN AND CLOSE>REF(MAX(CLOSE,OPEN),1);
X_32:=REF(X_4<=(-4) AND X_5>=3,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1);
X_33:=REF(X_9,2) AND REF(CLOSE<OPEN,1) AND
REF(CLOSE,1)<REF(CLOSE,2) AND REF(X_1,1)<1 AND
OPEN<REF(CLOSE,1) AND CLOSE>REF(OPEN,1);
X_34:=REF(X_9,2) AND REF(X_22,1) AND CLOSE>OPEN AND CLOSE>REF(OPEN,1);
X_35:=REF(X_23,1) OR REF(X_23,2) AND (X_17 OR X_4>2.95 OR X_5>3 OR
(OPEN>=REF(CLOSE,1) AND X_4>1.5)) AND CLOSE>OPEN;
X_36:=REF(X_19,2) AND REF(X_4,1)<=(-0.01) AND OPEN>REF(CLOSE,1) AND REF(ABS(X_5),1)<3 AND X_4>3;
X_37:=REF(X_9,3) AND REF(X_19,2) AND REF(X_19,1) AND
REF(CLOSE,1)<=REF(MAX(CLOSE,OPEN),2) AND REF(CLOSE<=OPEN,1) AND
CLOSE>REF(OPEN,1) AND CLOSE>OPEN;
X_38:=REF(X_24,1) AND REF(VOL,1)/REF(VOL,2)<3.5 OR (REF(X_24,2) AND
REF(X_18,1)) AND (X_17 OR (VOL/REF(VOL,1)<5 AND X_4>7.5));
X_39:=REF(X_20,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND
(X_4>0.5 AND X_5>0.3 OR (X_5>=1.15 AND X_4>=0.02));
X_40:=IF(NAMELIKE(1),0,1);
X_41:=IF(NAMELIKE(3),0,1);
X_42:=DYNAINFO(7)>2 AND DYNAINFO(7)<270 AND NOT(DYNAINFO(4)=0);
X_43:=X_40 AND X_41 AND X_42;
X_44:=X_25 OR X_26 OR X_27 OR X_28 OR X_29 OR X_30 OR X_31 OR X_32 OR
X_33 OR X_34 OR X_35 OR X_36 OR X_37 OR X_38 OR X_39 AND NOT(X_6>4)
AND NOT(X_3>=1) AND CLOSE>OPEN AND X_43;
量柱选股:IF(1,FILTER(X_44,1) AND (X_5>3 OR X_4>3),FILTER(X_44,1));
九毛八公式解读
X_1赋值:成交量(手)/1日前的成交量(手) X_2赋值:成交量(手)/1日前的100日内成交量(手)的最低值 X_3赋值:成交量(手)/1日前的100日内成交量(手)的最高值 X_4赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100 X_5赋值:(收盘价-开盘价)/开盘价*100 X_6赋值:(最高价-收盘价和开盘价的较大值)/收盘价和开盘价的较大值*100 X_7赋值:成交量(手)/1日前的成交量(手)>1.95 AND 成交量(手)/1日前的成交量(手)<2.05 AND 收阳线 X_8赋值:成交量(手)/1日前的成交量(手)<0.55 AND 收盘价<1日前的收盘价 AND 最高价>最低价 X_9赋值:开盘价/收盘价>=1.04 OR (1日前的收盘价/收盘价>=1.03 AND 收阴线) AND 如果1日前的X_4>1.095,返回成交量(手)/1日前的成交量(手)<=1.1,否则返回成交量(手)/成交量(手)的60日简单移动平均<=2/3ORVOL/1日前的成交量(手)<=1.15ORVOL<5日内成交量(手)的最高值 X_10赋值:(收盘价-1日前的收盘价)/1日前的收盘价>=0.03 AND 收阳线OROSE (收盘价-开盘价)/开盘价>=0.04 AND (成交量(手)<=成交量(手)的60日简单移动平均 OR 成交量(手)/1日前的成交量(手)<=1.2 OR 成交量(手)<5日内成交量(手)的最高值) AND 如果1日前的最高价=最低价,返回成交量(手)/1日前的成交量(手)<16,否则返回成交量(手)/1日前的成交量(手)<6 AND 最高价>最低价 X_11赋值:2日前的X_4>0ANDCLOSE>开盘价 AND 1日前的X_4>0ANDCLOSE>开盘价 AND X_4>0 AND 收阳线ANDSE 1日前的成交量(手)/2日前的成交量(手)>1.05 AND 成交量(手)/1日前的成交量(手)>1.02 AND 收盘价/1日前的收盘价>1.07 X_12赋值:1日前的X_3>1 AND 成交量(手)/1日前的成交量(手)>1.2 AND 收盘价>1日前的21日内收盘价的最高值 X_13赋值:2日前的X_10 AND 1日前的X_3>1 AND X_3>1 X_14赋值:1日前的收阴线 AND 1日前的开盘价>=1日前的21日内收盘价和开盘价的较大值的最高值 AND 1日前的成交量(手)/2日前的成交量(手)>0.85 AND X_10 X_15赋值:1日前的X_10 AND X_10 AND 成交量(手)/1日前的成交量(手)>1.2 X_16赋值:2日前的X_10 AND 1日前的X_10 AND X_10 AND 成交量(手)>1日前的成交量(手) AND 1日前的成交量(手)>2日前的成交量(手) X_17赋值:X_10 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 X_18赋值:X_4的绝对值<=3 AND X_5的绝对值<=2 X_19赋值:1日前的X_9 AND X_18 OR (2日前的X_9 AND 1日前的X_18 AND X_18) OR (3日前的X_9 AND 2日前的X_18 AND 1日前的X_18 AND X_18) OR (4日前的X_9 AND 3日前的X_18 AND 2日前的X_18 AND 1日前的X_18 AND X_18) X_20赋值:收阳线ANDSE X_4<(-4) X_21赋值:收阴线ANDSE X_4<=(-4) AND X_5的绝对值<1 X_22赋值:2日前的收阴线 AND (1日前的收阴线 OR (1日前的收盘价>=开盘价 AND 1日前的收盘价<2日前的收盘价和开盘价的较小值)) AND (收阴线OROSE (收盘价>=开盘价 AND 收盘价<1日前的收盘价和开盘价的较小值)) AND 收盘价<1日前的收盘价 AND 收盘价<2日前的收盘价 AND 成交量(手)<1日前的成交量(手) AND 1日前的成交量(手)<2日前的成交量(手) X_23赋值:3日前的收盘价<=开盘价 AND 2日前的收盘价<=开盘价 AND 1日前的收盘价<=开盘价 AND 收盘价<=开盘价 AND 收盘价<=1日前的收盘价 AND 1日前的收盘价<=2日前的收盘价 AND 2日前的收盘价<=3日前的收盘价 X_24赋值:统计5日中满足收盘价<=OPENANDCLOSE<1日前的(收盘价+开盘价)/2的天数>=3 AND 收阴线ANDSE 收盘价<=1日前的9日内收盘价的最低值 X_25赋值:1日前的X_9 AND 1日前的X_5的绝对值>2 AND 收阳线ANDSE 收盘价>1日前的(收盘价+开盘价)/2 AND 成交量(手)/1日前的成交量(手)<2.6 X_26赋值:1日前的X_19 AND X_17 X_27赋值:1日前的X_9 AND X_17 X_28赋值:1日前的X_20 OR 2日前的X_20 AND (X_17 OR (收盘价>1日前的收盘价 AND 成交量(手)>1日前的成交量(手) AND 成交量(手)/1日前的成交量(手)<6)) AND 收阳线ANDSE (X_4>3 OR X_5>4) X_29赋值:1日前的X_19 AND 收阳线ANDSE X_4>3 AND 成交量(手)>1日前的成交量(手) X_30赋值:1日前的X_22 AND (X_17 OR (收盘价>1日前的开盘价 AND 成交量(手)>1日前的成交量(手) AND 成交量(手)/1日前的成交量(手)<2.6) AND X_4>3) X_31赋值:2日前的X_9 AND 1日前的X_19 AND 收盘价>=开盘价 AND 收盘价>1日前的收盘价和开盘价的较大值 X_32赋值:1日前的X_4<=(-4)ANDX_5>=3 AND 收阳线ANDSE 收盘价>1日前的收盘价 X_33赋值:2日前的X_9 AND 1日前的收阴线 AND 1日前的收盘价<2日前的收盘价 AND 1日前的X_1<1 AND 开盘价<1日前的收盘价 AND 收盘价>1日前的开盘价 X_34赋值:2日前的X_9 AND 1日前的X_22 AND 收阳线ANDSE 收盘价>1日前的开盘价 X_35赋值:1日前的X_23 OR 2日前的X_23 AND (X_17 OR X_4>2.95 OR X_5>3 OR (开盘价>=1日前的收盘价 AND X_4>1.5)) AND 收阳线 X_36赋值:2日前的X_19 AND 1日前的X_4<=(-0.01) AND 开盘价>1日前的收盘价 AND 1日前的X_5的绝对值<3 AND X_4>3 X_37赋值:3日前的X_9 AND 2日前的X_19 AND 1日前的X_19 AND 1日前的收盘价<=2日前的收盘价和开盘价的较大值 AND 1日前的收盘价<=开盘价 AND 收盘价>1日前的开盘价 AND 收阳线 X_38赋值:1日前的X_24 AND 1日前的成交量(手)/2日前的成交量(手)<3.5 OR (2日前的X_24 AND 1日前的X_18) AND (X_17 OR (成交量(手)/1日前的成交量(手)<5 AND X_4>7.5)) X_39赋值:1日前的X_20 AND 收阳线ANDSE 收盘价>1日前的收盘价 AND (X_4>0.5 AND X_5>0.3 OR (X_5>=1.15 AND X_4>=0.02)) X_40赋值:如果模糊匹配品种名称,返回0,否则返回1 X_41赋值:如果模糊匹配品种名称,返回0,否则返回1 X_42赋值:现价>2 AND 现价<270 AND 取反 X_43赋值:X_40 AND X_41 AND X_42 X_44赋值:X_25 OR X_26 OR X_27 OR X_28 OR X_29 OR X_30 OR X_31 OR X_32 OR X_33 OR X_34 OR X_35 OR X_36 OR X_37 OR X_38 OR X_39 AND 取反 AND 取反 AND 收阳线ANDSE X_43 输出量柱选股:如果1,返回X_44的1日过滤AND(X_5>3ORX_4>3),否则返回X_44的1日过滤