DOWN:=OPEN>CLOSE;
x1:=COUNT(DOWN,5)=4;
X2:=(HHV(C,20)-LLV(C,1))/ LLV(C,1)/50*100;
x3:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667 and (HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)<0.333 and (c-o)<0.1;
x4:=v<ma(v,135);
选:X1 and x2 and x3 and x4;
九毛八公式解读
DOWN赋值:收阴线 X1赋值:统计5日中满足DOWN的天数=4 X2赋值:(20日内收盘价的最高值-1日内收盘价的最低值)/ 1日内收盘价的最低值/50*100 X3赋值:(收盘价和开盘价的较小值-最低价)/(最高价-最低价)>0.667 AND (最高价-收盘价和开盘价的较大值)/(最高价-最低价)<0.333 AND (收盘价-开盘价)<0.1 X4赋值:成交量(手)<成交量(手)的135日简单移动平均 输出选:X1 AND X2 AND X3 AND X4