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);
a:=ref(every(c/ref(c,1)>1,3),1);b:=asr<ref(asr,1) and scr>ref(scr,1) and c/ref(c,1)>1.03 and dyna**(37)>0.03;a and b and ref(c,1)/ref(c,4)<1.08;测试通过!希望能够帮助你!
drawtext(count(c>ref(c,1)*1.096,14)>1 and ma(c,5)>ma(c,20) and cross(c,ma(c,5)) or (count(c>ref(c,1)*1.096,13)>1 and open<ma(c,5) and c>ma(c,5) and ma(c,5)>ma(c,20)) {and ma(c,...