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 AND HJ_9 AND REF(HJ_11=REF(HJ_11,1),1) AND LOW<HJ_26 AND
MA(VOL,3)<MA(VOL,6);
HJ_28:=CROSS(HJ_11,1.5) AND COUNT(HJ_16<REF(HJ_16,1),2)=2 AND HJ_10
AND HJ_8 AND HJ_9 AND REF(HJ_11=REF(HJ_11,1),1) AND LOW<HJ_26 AND
MA(VOL,3)<MA(VOL,6);
天天利:IF(HJ_5<=(-0.45) AND HJ_5>=(-0.48) AND
COUNT(HJ_5<REF(HJ_5,1),2)=2 OR (HJ_5<=(-0.48) AND
COUNT(HJ_5<REF(HJ_5,1),3)=3) AND CLOSE>OPEN AND
REF(COUNT(CLOSE<OPEN,2)=2,1) AND MA(VOL,12)<MA(VOL,24),0.5,0);
九毛八公式解读
HJ_1赋值:收盘价 HJ_2赋值:(最高价+最低价+收盘价)/3 HJ_3赋值:(最高价+最低价+收盘价+开盘价)/4 HJ_4赋值:4日内最低价的最低值 HJ_5赋值:-最低价<=HJ_4的13日指数移动平均 HJ_6赋值:(HJ_1-HJ_1的10日简单移动平均)/HJ_1的9日简单移动平均*100<(-2) HJ_7赋值:(HJ_1-HJ_1的10日简单移动平均)/HJ_1的12日简单移动平均*115>(-13) HJ_8赋值:(HJ_1-HJ_1的10日简单移动平均)/HJ_1的12日简单移动平均*123>(-13) HJ_9赋值:2日前的统计2日中满足收阴线的天数=2 AND 1日前的最高价/收盘价>收盘价/开盘价 HJ_10赋值:统计3日中满足HJ_6的天数=3 HJ_11赋值:(HJ_1-13日内HJ_1的最低值)/50日内HJ_1的最低值*123 HJ_12赋值:(HJ_2-HJ_2的14日简单移动平均)/(0.015*HJ_2的14日平均绝对偏差) HJ_13赋值:1日前的HJ_12<(-60) AND 1日前的HJ_12<(-92) AND HJ_12<(-45) HJ_14赋值:1日前的HJ_12 HJ_15赋值:(HJ_2-HJ_2的12日简单移动平均)/(0.015*HJ_2的12日平均绝对偏差) HJ_16赋值:1日前的HJ_15 HJ_17赋值:(HJ_3-HJ_3的13日简单移动平均)/(0.016*HJ_3的15日平均绝对偏差) HJ_18赋值:(HJ_1-HJ_1的12日简单移动平均)/(0.014*HJ_1的10日平均绝对偏差) HJ_19赋值:(HJ_1-HJ_1的11日简单移动平均)/(0.014*HJ_1的8日平均绝对偏差) HJ_20赋值:HJ_18上穿(-200) AND HJ_18>1日前的HJ_18 OR (HJ_19上穿(-200) AND HJ_19>1日前的HJ_19) AND 收盘价的5日简单移动平均/最低价>=1.07 AND 成交量(手)<1日前的成交量(手)*0.66 HJ_21赋值:收盘价的14日简单移动平均 HJ_22赋值:收盘价-HJ_21的2乘幂 HJ_23赋值:HJ_22的24日简单移动平均 HJ_24赋值:HJ_23的开方 HJ_25赋值:HJ_21-2*HJ_24 HJ_26赋值:1日前的HJ_25 HJ_27赋值:HJ_11上穿1.5 AND 统计2日中满足HJ_14<1日前的HJ_14的天数=2 AND HJ_10 AND HJ_8 AND HJ_9 AND 1日前的HJ_11=1日前的HJ_11 AND 最低价=(-0.48)ANDCOUNT(HJ_5<1日前的HJ_5,2)=2OR(HJ_5<=(-0.48)ANDCOUNT(HJ_5<1日前的HJ_5,3)=3)ANDCLOSE>OPENANDREF(统计2日中满足收阴线的天数=2,1)ANDMA(成交量(手),返回12)<成交量(手)的24日简单移动平均,否则返回0.5