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;
投股票 网 w ww.tou18.cn
[源码翻译]通达信软件动态翻译的结果
DOWN赋值:收阴线
X1赋值:统计5日中满足DOWN的天数=4
X2赋值:(20日内收盘价的最高值-1日内收盘价的最低值)/ 1日内收盘价的最低值/50*100
X3赋值:(收盘价和开盘价的较小值-最低价)/(最高价-最低价)>0.667 AND (最高价-收盘价和开盘价的较大值)/(最高价-最低价)<0.333 AND (收盘价-开盘价)<0.1