n:=14;m:=6;tr:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),n);hd:=high-ref(high,1);ld:=ref(low,1)-low;dmp:=sum(if(hd>0 and hd>ld,hd,0),n);dmm:=sum(if(ld>0 and ld>hd...
ma1:=ma(c,5);ma2:=ma(c,10);ma3:=ma(c,20);ma4:=ma(c,30);bias1:=(close-ma(close,5))/ma(close,5)*100;bias2:=(close-ma(close,10))/ma(close,10)*100;aa:=dma.dif>0.5 and dma.ama>0.5;bb:=bias1<20 and...