{周k线缩量十字星收盘在10周线上并且10周线拐点向上。}xg: abs((close-open)/open)<0.015 and close>ma(close,10) and ma(close,10)>ref(ma(c,10),1) and (ref(ma(c,10),1)<ref(ma(c,10),2));{说明:1选股周期为周线,2加入条件}
公式源码不全。按你给的源码如下:varf:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);xg:var11 and count(var11,30)=1;
这个公式的核心就是判断17日均线是向上或向下,如果向上三线合并,向下则分开.故选股简化为:xg:ma(c,17)>=ref(ma(c,17),1) and ref(ma(c,17),1)<ref(ma(c,17),2); 或:fl:=ma(close,17)+abs(ma(close,17)-ref(ma(close,17),1));fs:=ma(close,17)+ma(close,...
你的选股思路还是具有可操作性的,是属于会独立思考的股民,公式已经做好,在通达信中测试通过,你试试。ma3:=ma(c,3);ma5:=ma(c,5);ma10:=ma(c,10);ma30:=ma(c,20);jx:=ma5>ma10 and ma10>ma30 and ma5>ref(ma5,1).
{买入股票}v11:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1),3,1);趋势线:=ema(v11,3);v12:=(趋势线-ref(趋势线,1))/ref(趋势线,1)*100;买入股票:趋势线<=13 and v12&g...