你好,帮你编写了,希望能帮到你。rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;typ:=(high+low+close)/3;cci1:=(typ-ma(typ,14))/(0.015***edev(typ,14));条件选股:cross(k,d) and ...
diff:=ema(close,3)-ema(close,8);dea:=ema(diff,5);macd:=2*(diff-dea);x2:=((ema(close,3)-ema(close,8)))*5;x3:=x2 and x2>0;xg:x3>23;这个公式其实就是个macd指标公式,无非是加上了柱子及颜色。股票公式专家团为你解答,希望能帮到你,祝投资顺利。
公式如下:短线:=100-100*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10));**:=100-100*(hhv(high,20)-close)/(hhv(high,20)-llv(low,20));长线:=100-100*(hhv(high,30)-close)/(hhv(high,30)-llv(low,30));xg:短线=0 and **=...
试这个: a1:=ma(c,5);a2:=ma(c,10);ab:=c>a1 and c>a2;长上影:=(h-max(c,o))>=(max(c,o)-l)and c>o;实体1:=(max(c,o)-min(c,o))/min(c,o)*100;长上影选:ab and 长上影 and 实体1>1.5;
以下是修改过的,按问题要求做的股票选股公式,用软件实际测试过能达到要求,可以使用: za1:=sma(close,2,1);za2:=ema(c,2);za3:=ema(slope(c,24)*20+c,42);bu:=cross(za2,ref(za2,1)*1.017);sel:=cross(za3,za2);zmin:bu and cross(za2,za3*1.008)and za1>...