Setting a stop loss is one of the most important parts of a trading strategy. Many traders place their stop loss at a fixed percentage or distance from the entry price. However, a more logical approach is to use market structure. This allows you to place your stop loss at a level where your trading idea becomes invalid.
In this article, we will explore how to identify the right stop loss using swing highs, swing lows, support and resistance, and market structure shifts.

1. Understand Market Structure
Before placing a stop loss, you need to understand the current market structure. There are three main market conditions:
- Uptrend. Price creates higher highs (HH) and higher lows (HL).
- Downtrend. Price creates lower lows (LL) and lower highs (LH).
- Sideways market. Price moves between support and resistance without a clear trend.
Market structure helps you identify important price levels where buyers or sellers are likely to defend their positions.

2. Stop Loss in an Uptrend
When trading an uptrend, traders typically look for buying opportunities after a pullback. The most logical place for a stop loss is below the most recent significant higher low.
Why?
Because if the price breaks below that higher low, the bullish market structure may be weakening or invalidated.
Imagine that Bitcoin moves from $60,000 to $65,000, pulls back to $63,000, and then continues higher. If you enter a long position around $63,500, you could place your stop loss below the $63,000 swing low, with some additional room for market volatility.
This way, your stop loss is based on market structure rather than an arbitrary percentage.

3. Stop Loss in a Downtrend
The same principle applies in a downtrend, but in the opposite direction. When looking for short positions, identify the most recent significant lower high. Your stop loss should generally be placed above this swing high.
Suppose Ethereum falls from $3,500 to $3,200, then retraces to $3,300 before continuing downward. If you enter a short position around $3,280, placing your stop loss above the $3,300 swing high may make sense. If the price breaks above this level, the bearish setup could be invalidated.

4. Use a Buffer to Avoid Stop Hunts
One common mistake is placing a stop loss exactly at a swing high or swing low. Markets often create temporary liquidity sweeps, where price moves beyond an obvious level before reversing.
To reduce the risk of being stopped out by normal market noise, consider placing your stop loss slightly beyond the structural level. The buffer can be determined using:
- Average True Range (ATR).
- Recent market volatility.
- The size of the current price swings.
- The timeframe you are trading.
For example, instead of placing a stop loss exactly below a swing low, you can add a small volatility-based buffer. However, a wider stop loss also increases the distance to your invalidation point, so position size must be adjusted accordingly.

5. Combine Market Structure with Risk Management
A technically correct stop loss does not automatically mean a good trade. You should always calculate your position size based on the distance between your entry and stop loss.
For example:
- Account balance: $10,000.
- Risk per trade: 1% ($100).
- Entry price: $100.
- Stop loss: $98.
- Risk per unit: $2.
Your position size would be 50 units, excluding fees and slippage. This approach keeps your financial risk consistent, even when market structure requires different stop loss distances.

6. Common Stop Loss Mistakes
Avoid these common mistakes:
- Placing stop losses at random distances from the entry.
- Setting stops exactly at obvious swing highs or lows.
- Ignoring higher-timeframe market structure.
- Moving a stop loss further away to avoid taking a loss.
- Using the same stop loss distance in every market condition.
- Increasing position size without considering the stop loss distance.
Remember that a stop loss should protect your capital, not simply make a trade more comfortable to hold.

Conclusion
Setting a stop loss based on market structure is a more logical approach than using arbitrary price distances.
For long positions, look below significant higher lows. For short positions, look above significant lower highs. Use volatility to determine an appropriate buffer and always adjust your position size to match your predefined risk.
The key principle is simple: place your stop loss where your trading idea becomes invalid, not where your loss feels uncomfortable.