qw1:=(high+low+close*2)/4;qw3:=ema(qw1,10);qw4:=std(qw1,10);qw5:=(qw1-qw3)*100/qw4;qw6:=ema(qw5,5);涨:=ema(qw6,10)+100/2-5;跌:=ema(涨,4); xg:(cross(涨,跌) and 涨<-7) or (cross(涨,跌) and 涨<-60);
五天涨幅:=(c/ref(c,5)-1)*100;十天涨幅:=(c/ref(c,10)-1)*100;五天势能:=if(五天涨幅/5>0,五天涨幅/5,0);十天势能:=if(十天涨幅/10>0,十天涨幅/10,0);五天强势:=五天势能>2.5;十天强势:=十天势能>1.5;ref(五天势能,1)=0 and 五天势能>0 and ref(十天势能,1)=0 and...
{买预警}varc:=(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig(3,5),2)<=ref(zig(3,5),3));买:varc;{卖预警}vard:=(zig(3,5)<ref(zig(3,5),1)) and (ref(zig(3,5),1)>=re...