Organization of Frequently Used Scripts

I have a small issue that creates a bit of annoyance and am looking for suggestions. Say I am using the simple script below (2% swing).

I create the script and its saved in Script Editor as 2% Swing. Now, say I have three more swings to work with, a 5%, 7.5% and 10%.

If I change the original 2% script to 5% and use it in a new chart, it will change the old chart from 2% to 5%.

To avoid this, I create 4 scripts of 2% - 10% and place those in the Editor. When doing this with a lot of scripts by just changing a single variable, it starts to create a lot of unnecessary scripts.

The other issue is if you change methodology, now you’re changing 4 different scripts, which is error prone. There seems like a much better way to do this.

So the question is, what’s the best way to recycle parts of the script by only changing a variable that does not change the other scripts?

Any best practices to keep the Script Editor less messy?

Pct=PERCENTSWING(PERCENT=2.0);
V1=SwingUp(Pct);
IF(V1, 1, -1)

Thank you as always,

Eric