rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=ma(rsv,3);d:=ma(k,3);xg1:=cross(k,d);dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg2:=macd>ref(macd,1) and ref(macd,1)<ref(macd,2) and ref(macd,1)>0;短期:=100*(c-llv(l,5))/(hhv(c,5)-llv(l,5));中期:=100*(c-llv(l,10))/(hhv(c,10)-llv(l,10));中长期:=100*(c-llv(l,20))/(hhv(c,20)-llv(l,20));长期:=100*(c-llv(l,30))/(hhv(c,30)-llv(l,30));xg3:=短期=中期 and 中期=中长期 and 中长期=长期 and 长期=100;a1:=h-l;b1:=c-o;c1:=(b1/a1);dx:=v*c1/10000;dx1:=ema(ema(dx,20),3)*20;dx2:=ma(dx1,5);dx3:=ma(dx1,10);xg4:=cross(dx1,dx2) and cross(dx1,dx3);xg1 and xg2 and xg3 and xg4; 20210311