{wdjx-}a1:=ref(c,1);ma1:=ma(close,20);ma2:=ma(close,60);ma3:=ma(close,120);ma4:=ma(close,250);b1:=a1>=ma4 and cross(c,ma4); b2:=a1<ma4 and cross(c,ma3);b3:=a1<ma3 and cross(c,ma2);b4:=a1<ma2 and cross(c,ma1);xg:b1 or b2 or b3 or b4;{个人看法,仅供参考} 20210311
ma34:=ma(close,34);ma55:=ma(close,55);均线金叉:=cross(ma34,ma55);v1:=count(均线金叉,30)>=1 and barslast(均线金叉) > 10;{30日内均线金叉, 金叉距离今天时间大于10天}v2:=close>ma55 and close < ma55*1.1; {收盘价在55均线上到10%之间}目标...