Prior High Resistance now Support

V1 = PERCENTSWING(PERCENT=0.5);
V1S = SWINGSTART(V1);
V1E = SWINGEND(V1);
V5 = V1S[2] *.0025;

V1E > V1S[2] - V5 and
V1E < V1S[2] + V5

I’m trying to scan for when an instrument is finding support at a previous high.
I’m wondering if there is a better way to deal with the tolerance, so it doesn’t have to be at the exact previous high price?

Hi David,

Have you tried the Support / Resistance Finder? It has a scanning function you can use, which may allow you to find what you are looking for without having to manually define the levels.

How would I go about using that in a scan?