you should not set stop loss at more than you can afford to lose. But while determining stop loss you should consider few other factors as well, first whether risk reward ratio is good when you set stop loss at this level, and secondly is the stop loss you set is meaningful i.e. just below support level for long positions and just above resistance level for short positions.