dd1:=ema(c,3)-ema(c,8);dd2:=ema(o,3)-ema(o,8);aa1:=ployline(cross(dd1,dd2),dd2),dotline;aab1:=ployline(cross(dd2,dd1),dd1),dotline;理想:=count(cross(dd1,dd2),aa1<ref(aa1,3) and aab1>ref(aab1,3));xg:filterx(理想,30); 20210311
{周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加入条件}