ma05:=ma(c,5);ma30:=ma(c,30);五日乖离率:=(c-ma05)/ma05*100;三拾日乖离率:=(c-ma30)/ma30*100;mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma05>ref(ma05,1) and (c/ref(c,1)-1)*100>5...
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...
t:=barscount(c);tp:= filter( c>=hhv(h,t) and v>ma(v,0)*2 and dyna**(17)>1 and time>39600 ,240) ;drawtext(tp,l,'★上去'),colorred;if((hhv(h,t)-llv(l,t))/llv(l,t)<0.05 and dyna**(22...