n=14 m=6 mtr:=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);pdi:=dmp*100/mtr;mdi:=dmm*100/mtr;adx:=ma(abs(mdi-pdi)/(mdi+pdi)*100,m);adxr:=(adx+... 20210311