J:=3*K-2*D; A:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14); HD:=HIGH-REF(HIGH,1); LD:=REF(LOW,1)-LOW; DMP:=EXPMEMA(IF(HD 0 LD,HD,0),14); PDI:=DMP*100/A; XG:J 20 AND J 80 AND PDI REF(PDI,1)AND PDI