ma5:ma(c,5);ma10:(c,10);ma20:(c,20);ma30:(c,30);ma60:(c,60);max1:=max(ma5,ma10,ma20);max2:=max(max1,ma30,ma60);min1:=min(ma5,ma10,ma20);min2:=min(max1,ma30,ma60);选股:ma10>=ma20 and ma20>ma30 and ma30>ma60 and ma60>ref(ma60,1)and(max2-min2)/min2*100;m 可以设为参数,根据自己需要... 20210311
a1:=max(max(ma(v,5),ma(v,10)),ma(v,60))/min(min(ma(v,5),ma(v,10)),ma(v,60))<=1.4; a2:=max(ma(c,5),ma(c,10))/min(ma(c,5),ma(c,10))<=1.4;diff:=ema(c,12)-ema(c,26);dea:=ema(diff,9);xg:a1 and a2 and...
ma5:=ma(close,5);ma13:=ma(close,13);ma34:=ma(close,34);t:=ma13/ma34<1.002 and ma13/ma34>0.998;t1:=count(t,5)=5;xg:cross(ma5,ma13) and cross(ma5,ma34) and t1;其中粘合的思路是过去5日内,13线和34线的差价在0.4%内。这里可以根据...
a5:=ma(c,5);a10:=ma(c,10);a30:=ma(c,30);var1:=count(max(max(a5,a10),a30)/min(min(a5,a10),a30) <1.03,5)>=3;var2:=a5>ref(a5,1) and a10>ref(a10,1) and a30>ref(a30,1) and c>a5 and c>...