MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),10);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),10);PDI:=DMP*100/MTR;:=DMM*100/MTR;PDI<9>40 AND V/REF(V,1)<0>REF(C,1)AND REF(V,1)/REF(V,2)>1.5;