选股公式源码:
X_1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_2:=IF(CLOSE>OPEN,X_1*(HIGH-LOW),IF(CLOSE<OPEN,X_1*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
X_3:=MA(X_2,35);
X_4:=(LOW+HIGH+CLOSE+OPEN)/3.82;
X_5:=HHV(MA(X_4,6),15);
X_6:=MA(CLOSE,30);
X_7:=X_6+2*STD(CLOSE,30);
X_8:=CLOSE>X_7 AND CLOSE>=OPEN;
攻击:X_2>X_3 AND CROSS(CLOSE,X_5) AND X_8 AND 100*VOL/(FINANCE(7)/100)>10;
选股公式翻译:
X_1赋值:成交量(手)/((最高价-最低价)*2-收盘价-开盘价的绝对值)X_2赋值:如果收阳线,返回X_1*(最高价-最低价),否则返回如果收阴线,返回X_1*(最高价-开盘价+(收盘价-最低价)),否则返回成交量(手)/2X_3赋值:X_2的35日简单移动平均X_4赋值:(最低价+最高价+收盘价+开盘价)/3.82X_5赋值:15日内X_4的6日简单移动平均的最高值X_6赋值:收盘价的30日简单移动平均X_7赋值:X_6+2*收盘价的30日估算标准差X_8赋值:收盘价>X_7 AND 收盘价>=开盘价输出攻击:X_2>X_3 AND 收盘价上穿X_5 AND X_8 AND 100*成交量(手)/(流通股本(股)/100)>10
演示图片: