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...
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,ld,0),n);pd...