aa05:=ma(c,5);五日乖离率:=(c-aa05)/aa05*100;bb05:=((aa05/(aa05,1)-1)*100)*180/3.1416;速度5:=(((aa05-(aa05,1))/(aa05,1),3)*100,3,1);加速度5:=((速度5-ref(速度5,1)),3);aa10:=ma(c,10);aa20:=ma(c,20);bb10:=((aa10/ref(aa10,1)-1)*100)*180/3.1416;aa30:=ma(c,30);三拾日乖离率:=(c-aa30)/aa30*100;var1:=(aa20-aa30)>ref((aa20-aa30),1) and aa20>ref(aa20,1) and aa30>ref(aa30,1); 加仓:(count((bb05,30),5)>=1 and aa05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and aa10>ref(aa10,1) and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ; 20210311
v0:=ema(c,5);v1:=ema(c,10);v2:=ema(c,15);v3:=ema(c,30);v4:=ema(c,60);年线:=ema(c,250);m1:=1000*v1/v4<=1015 and 1000*v1/v4>=975;m2:=1000*v2/v4<=1020 and 1000*v2/v4>=980;m3:=1000*v3/v4<=101...