Would this work for it ??
CROSSOVER (ADX (CLOSE,14) >20 ) AND CROSSOVER (DIP(14),DIN (14) )
As per the above condition
ADX(14)>20 AND DIP(14)>DIN(14)