yes,you are right.SL should be decided with Support or resistance and they act as good one to determine.Even pivot points are also good in determining.so one can put SL based on this or specified values like ratio of TP :SL as 2:1 like that.It depends on traders need.