Fib Retracement Up

I’m using the Show Bar tool to try to put an arrow on a bar that
has reached a fibonacci level of 1.618 up of the previous down leg.

This is what I can come up with, but it doesn’t work:

PS1 = VOLATILITYSWINGS(ATRS=2.00);
SS1 = SWINGSTART(PS1);
SE1 = SWINGEND(PS1);

V1 = SE1[1] - SS1[1];
V2 = SS1- SE1;

V2/V1 > 1.5 and V2/V1 < 1.75

Is there a way to do this?