"Where to set it" is not the hardest question
Search this question and what comes back is all about position: the previous low, a percentage, a number some indicator works out.
None of those answers is wrong. But they are answering the first question, and most people lose on the second.
A stop-loss — your line — is one sentence: at this point I take the loss, and once I have, I leave.
That sentence is not hard to understand. What is hard is still doing it three months later.
And there is something else most people have not thought about: the position of the line is not something you decide in the moment. The method you use decided it beforehand. Different ways of entering work the line out differently — change the method and the calculation changes with it.
Also, you do not always have to wait for the line to be hit. Sometimes the conditions change first, and then you leave early and lose less.