Showing DMminus Extreme

I'm trying to show, either on the price chart as an arrow (Show Bar) or a separate layer (show view), whenever the DM minus hits an extreme low value over the last X periods. I started with the following script for a Show Bar, which didn't work:
v1 = LOWESTLOW(ADX(DEFAULT=DMMinus), RANGE=All Time);
IF(V1 <= ADX(DEFAULT=DMMinus))

I tried a number of variations of the above the the look back period (instead of All Time) but none worked. I've also tried to use a regression band on the DM minus, then tried to apply a similar script as above but again was unsuccessful.

Anyone have any ideas on how I can accomplish my task?

Of course - if I was to simply use the correct math, it would work...
v1 = LOWESTLOW(ADX(DEFAULT=DMMinus), RANGE=All Time);
IF(ADX(DEFAULT=DMMinus) <= v1)

All well.

Yes .

i also looking the correct script . Its get error.

I am trying this but result is not satisfactory

v1 = HIGHESTHIGH(ADX(DEFAULT=DMPlus), RANGE=Look Back Period, BARS=30);

v2 = HIGHESTHIGH(ADX(DEFAULT=DMMinus), RANGE=Look Back Period, BARS=30);

IF(v1 >= v2) or (v2 >= v1)