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?