aa1:=c#week; {取周线收盘价}aa2:=ma(aa1,5);{5周均价线}bb1:=ma(c,5); {求5日均价}bb2:=ma(c,10); {......}bb3:=ma(c,20); {......}bb4:=ma(c,30); {......}bb5:=ma(c,60); {......}sum(bb1>=bb2 and bb2>=bb3 and bb3>=bb4 and bb4>=bb5 and bb5>=aa2,3)=1;{三天内,条件满足一次,即刚站上五周线} 20210311
v0:=ema(c,5);v1:=ema(c,10);v2:=ema(c,15);v3:=ema(c,30);v4:=ema(c,60);m1:=1000*v1/v4*v1/v4>=975;m2:=1000*v2/v4*v2/v4>=980;m3:=1000*v3/v4*v3/v4>=985;m4:=m1 and m2 and m3 and cross(v0,v1);m5:=m1...
朋友,以下是你要的选股公式,公式带未来,请慎用:v1:=zig(3,12);v2:=if(ref(v1,2)>ref(v1,1) and v1>ref(v1,1),50,0),colorred,linethick2;v3:=if(ref(v1,2)<ref(v1,1) and v1<ref(v1,1),50,0),colorgreen,linethick2;var1:=zi...