碰到30:=barslast(h<ma(c,30)*0.9996 and ref(cross(h,ma(c,30)*0.9996),1));突破:碰到30>2 and 碰到30<8 and ref(hhv(h,碰到30)<ma(c,30),1) and cross(c,ma(c,30)); 20210311
ma5:=ma(c,5);ma10:=ma(c,10);ma30:=ma(c,30);ma60:=ma(c,60);xg:cross(ma5,ma30) and cross(ma5,ma60) and cross(ma10,ma30) and cross(ma10,ma60) and ma60>ma30 and ma5>ma10 and ma10>ma30;
公式如下,在通达信中测试通过,你试试。mv5:=ma(v,5);mv10:=ma(v,10);mv20:=ma(v,20);mv30:=ma(v,30);tj1:=mv5>mv10 and mv10>mv20 and mv20>mv30;tj2:=mv5>ref(mv5,1) and mv10>ref(mv10,1) and mv20>ref(mv20,1) a...
根据你的要求条件,我使用通达信南京证券版来写,公式为:公式名称:30日上60日公式类型:指标条件选股代码如下:ma30:=ema(c,30);ma60:=ema(c,60);上穿多头:=ma30>ma60 and ma30>ref(ma30,1) and ma60>ref(ma60,1) and cross(ma(c,30),ma(c,60));上穿多头;我试过可以选出股票.