var1:=ref(close,1);var2:=sma(max(close-var1,0),7,1)/sma(abs(close-var1),7,1)*100;bias1:=(c-ma(c,6))/ma(c,6)*100;bias2:=(c-ma(c,12))/ma(c,12)*100;bias3:=(c-ma(c,24))/ma(c,24)*100;bias:=(bias1+2*bias2+3*bias3)/6;乖离:=ma(bias,3);xg:cross(bias,乖离) and 乖离<-9.5 ; 20210311
v11:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1),3,1);趋势线:=ema(v11,3);v12:=(趋势线-ref(趋势线,1))/ref(趋势线,1)*100;xg:趋势线<=13 and v12>13;
tr:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),7);hd:=high-ref(high,1);ld:=ref(low,1)-low;dmp:=sum(if(hd>0 and hd>ld,hd,0),7);dmm:=sum(if(ld>0 and ld>hd,ld,0),7);d...