Order typeBeginner

Stop Orders

A stop order is a dormant order that activates only when the market touches a specified trigger price, at which point it is released to the book as either a market order (SL-M) or a limit order (SL).

Quick answer: A stop order is a dormant order that activates only when the market touches a specified trigger price, at which point it is released to the book as either a market order (SL-M) or a limit order (SL).

In simple words

A stop order sits inactive until the price hits a trigger you set, then springs into action. Traders use it to cut losses automatically: put a sell stop below your long entry and if the price falls to the trigger, an exit order fires. The important detail is what fires — a stop-market takes any price to get out, while a stop-limit refuses to sell below a floor you set.

Purpose

Stop orders automate risk discipline. They let a system exit a losing position or enter on a breakout without a human watching the screen, converting a mental stop into a pre-committed, exchange-side instruction.

Visual explanation

Stop Orders

A resting stop below entry, its trigger price, and the two release modes: SL-M to market and SL to a limit.

Order Types on the Price LadderMarket — fills now at best priceLimit — only at set price or betterStop — becomes market once triggeredPrice →Sell Limit (above)Buy Stop (trigger)Market priceBuy Limit (below)

Professional explanation

Trigger price versus order price

Every stop order has two logical prices. The trigger (or stop) price is the level that, once traded through, activates the order. For a stop-limit (SL on NSE terminology), there is also a limit price that caps the fill once activated. A sell stop-loss to protect a long is placed with the trigger below the current price; when the last traded price reaches the trigger, the dormant order is injected into the book. Until then it is not in the book at all and provides no liquidity.

SL-M versus SL on the NSE

The NSE distinguishes SL-M (stop-loss market), which releases a market order on trigger and therefore guarantees an exit but not a price, from SL (stop-loss limit), which releases a limit order at your specified limit price and therefore guarantees a price floor but not an exit. The choice is the same market-versus-limit trade-off, but with far higher stakes because a stop fires exactly in the fast, one-sided conditions where the difference bites. Note that the NSE has at times disabled plain SL-M for certain segments such as options, forcing traders to use SL with a wide limit — a broker-specific detail worth checking.

The gap-risk problem

A stop does not guarantee you exit at the trigger. If the price gaps — jumps past the trigger without trading at intermediate levels, common overnight or on news — an SL-M fills at the first available price beyond the gap, which can be far worse than the trigger. An SL limit is even more exposed: if the market gaps clean through your limit price, the order activates but cannot fill, and you are left holding the position with no protection at all. Gap risk is the single most misunderstood property of stops.

Trigger logic and slippage stacking

On activation, an SL-M becomes a market order and inherits every market-order cost: spread, impact and any further adverse move. Because stops trigger in momentum, the book on your exit side is often thin and moving away, so realised slippage on a triggered stop is typically worse than on a routine market order. This is why stop slippage should be modelled with a wider assumption than normal execution slippage.

Stops as entries, not just exits

Stops are not only for exits. A buy stop placed above resistance is a classic breakout entry: it stays dormant until the price breaks out, then fires. Systematic breakout and momentum strategies rely on this. The same trade-offs apply — an SL-M breakout entry guarantees participation but pays up into the move, while an SL breakout entry risks not filling if the breakout is explosive and gaps through the limit.

Where the stop actually lives

A crucial engineering point: a stop order can be held at the exchange, at the broker, or purely in your own system. An exchange-native or broker-held stop fires even if your connection drops; a stop enforced only in your Python loop dies with your process or your internet. For an automated system this determines whether your risk control is resilient. Retail GTT stops on the NSE are broker-held triggers, not resting exchange orders, so their behaviour on a fast gap depends on the broker's trigger-evaluation latency.

SL-M (stop-loss market) vs SL (stop-loss limit)

AspectSL-M (market on trigger)SL (limit on trigger)
Exit certaintyHigh — fills at any priceNot guaranteed — may miss on a gap
Price certaintyNone — can slip badlyCapped at the limit price
Behaviour on a gapFills beyond the gap, worse priceMay not fill at all, no protection
Best forEnsuring you get outControlling worst exit price
NSE availabilityRestricted in some segmentsWidely available
Main riskSlippage on triggerBeing left unprotected

Practical example

Illustrative example (Indian market)

You are long one lot of Bank Nifty (lot 30) from 52,000 and decide to risk 200 points. You place a sell SL-M with a trigger of 51,800. Intraday, price drifts to 51,800, the stop activates as a market sell, and in an orderly book you exit around 51,795 — roughly your planned 205-point loss, or about 205 x 30 = ₹6,150. Now suppose bad news hits overnight and Bank Nifty opens at 51,400. Your SL-M triggers on the open and fills near 51,400, a 600-point loss (₹18,000) — three times your intended risk, because the price gapped past your trigger. Had you used an SL with a limit at 51,780, it would not have filled at all on that gap, leaving you still long into the fall.

On the NSE, brokers have periodically disabled SL-M orders for the F&O segment during volatile regimes to reduce runaway market fills, requiring traders to place SL (limit) with a buffer between trigger and limit. A common practice is to set the limit a few points beyond the trigger (for a sell, limit below trigger) so the order behaves almost like a market order but still refuses a catastrophic fill.

Advantages

  • Automates loss-cutting and breakout entries without watching the screen
  • Converts a mental stop into a pre-committed, exchange- or broker-side instruction
  • SL-M gives high exit certainty when getting out is the priority
  • SL limit caps the worst price you will accept on the exit

Limitations

  • No protection against gaps — price can jump past the trigger
  • SL-M can slip badly because stops fire in thin, fast, one-sided books
  • SL limit can fail to fill on a gap, leaving you unprotected in the worst case
  • A stop held only in your own code dies if your process or connection fails
  • Clustered stops at round numbers can be swept, triggering you out before a reversal

Why it matters in practice

  • Stop slippage is often the largest single source of a live drawdown exceeding its backtested value
  • Whether a stop is exchange-held or code-held decides if risk control survives an outage

Common mistakes

  • Believing a stop guarantees an exit at the trigger price, ignoring gap and slippage risk
  • Using an SL limit for critical protection and getting no fill when the market gaps through it
  • Backtesting stops as filling exactly at the trigger price, hiding real triggered-stop slippage
  • Placing stops at obvious round numbers where they cluster and get swept
  • Enforcing the stop only inside a Python loop that dies with the process, leaving positions unprotected
  • Confusing a broker GTT trigger with a resting exchange stop and misjudging its behaviour on a fast move

Professional usage

Professional systems treat the stop as a risk primitive that must be resilient, not just present. They prefer exchange- or broker-held triggers so protection survives process and network failure, they budget explicit extra slippage for triggered stops in their models, and they combine hard stops with a separate portfolio-level kill switch so a single gap cannot blow through the risk budget. Many quant desks also avoid tight stops on noisy instruments precisely because stop-clustering and mean-reverting noise turn stops into a tax; they size positions so the strategy survives normal adverse moves without needing a hair-trigger exit.

Key takeaways

  • A stop order is dormant until its trigger price is touched, then releases a market (SL-M) or limit (SL) order.
  • SL-M guarantees an exit but not a price; SL guarantees a price but not an exit — and can leave you unprotected on a gap.
  • Stops do not defend against gaps; model triggered-stop slippage wider than normal.
  • Hold stops at the exchange or broker, not only in your own code, so risk control survives failures.

Frequently asked questions

What is a stop order?
A stop order is a dormant order that activates only when the market trades at a trigger price you set. Once triggered it is released into the order book as either a market order (SL-M) or a limit order (SL), commonly used to cut losses or enter on a breakout.
What is the difference between SL-M and SL on the NSE?
SL-M releases a market order on trigger, guaranteeing an exit but not a price. SL releases a limit order at your specified price, guaranteeing a price cap but not that you will fill, which matters most during fast, gapping moves.
What is a trigger price?
The trigger price is the level that activates a dormant stop order. Until the market trades at or through the trigger, the stop is not in the book and does nothing; once touched, the underlying market or limit order is sent to the exchange.
Does a stop-loss guarantee I exit at my stop price?
No. A stop only guarantees the order activates at the trigger, not that it fills there. If the price gaps past the trigger, an SL-M fills at a worse price beyond the gap, and an SL limit may not fill at all.
What is gap risk on a stop order?
Gap risk is the danger that the price jumps past your trigger without trading at intermediate levels, so your stop fills far from the trigger (SL-M) or fails to fill entirely (SL). Gaps are common overnight and on news, and they are why a stop is not a hard guarantee of maximum loss.
Should I use SL-M or SL for a stop-loss?
Use SL-M when getting out matters more than the exact price and you accept slippage. Use SL when you must cap the worst fill price and can tolerate the risk of not filling. Many NSE traders use SL with the limit set a few points beyond the trigger as a compromise.
Why does my triggered stop slip more than a normal market order?
Because stops fire in exactly the fast, one-sided conditions where the book on your exit side is thin and moving away. The activated market order then pays a wider spread and more impact than a routine trade, so triggered-stop slippage is typically worse.
Can I use a stop order to enter a trade?
Yes. A buy stop placed above resistance is a standard breakout entry that stays dormant until the price breaks out, then fires. Systematic breakout and momentum strategies rely on stop entries just as risk management relies on stop exits.
Why did my SL limit order not fill?
Because the market gapped or moved cleanly through your limit price without trading at it. The stop activated on the trigger, but the limit refused to fill below (for a sell) your specified price, leaving the order live but unexecuted and your position unprotected.
What is stop clustering and stop hunting?
Stops tend to pile up at obvious levels like round numbers and prior highs or lows. A sharp move into that cluster triggers many stops at once, sometimes reversing immediately after — so placing stops at the most obvious level can get you swept out just before a bounce.
Where is my stop order actually held?
It depends. It may be an exchange-native order, a broker-held trigger such as a GTT, or a condition evaluated only inside your own software. Exchange- or broker-held stops fire even if your connection drops, while a code-only stop dies if your process or internet fails.
How should I model stops in a backtest?
Never assume a fill exactly at the trigger. Add extra slippage for SL-M triggered fills, and for SL limits model the real possibility of no fill on a gap. Also test overnight gaps explicitly, since intraday-only stop assumptions understate true risk.
Why did the NSE disable SL-M for options at times?
During volatile periods, plain SL-M orders in thin options strikes could produce extreme runaway market fills. Restricting SL-M and requiring SL with a limit forces a worst-price cap, which the exchange used as a protective measure. Availability varies by segment and time, so check with your broker.
Is a trailing stop a type of stop order?
A trailing stop is a stop whose trigger automatically follows the price by a set distance, locking in gains as the position moves favourably. It is usually managed by the broker or your own code rather than being a distinct native exchange order type, and it inherits the same gap and slippage risks as any stop.

Voice search & related questions

Natural-language questions people ask about Stop Orders.

What is a stop-loss order?
It is an order that sits quietly until the price hits your trigger, then fires to get you out of a losing trade automatically. It helps enforce discipline without watching the screen.
What is the difference between SL and SL-M?
SL-M fires a market order and gets you out at any price, while SL fires a limit order and caps your price but might not fill. One guarantees the exit, the other guarantees the price.
Does a stop-loss protect me from a gap down?
Not fully. If the price gaps past your trigger, a stop-market fills much lower and a stop-limit might not fill at all. Stops do not defend against overnight jumps.
Why did my stop-loss fill so far from my trigger?
Because stops fire in fast, thin markets and, if the price gapped, there was nothing to fill against at your level. The market order then took the first available price beyond the gap.
Can I use a stop order to buy a breakout?
Yes. Place a buy stop above resistance and it stays dormant until the price breaks out, then fires your entry. It is a common breakout and momentum tool.
Where should I keep my stop-loss, in my code or at the broker?
Prefer the broker or exchange, so it still fires if your internet or program crashes. A stop that lives only in your own script disappears the moment that script stops.

Sources & references

    Last reviewed 11 July 2026. Educational content only — not investment advice. Markets and rules change; verify current conventions with SEBI, NSE/BSE and your broker.

    Educational content only — not investment advice. Examples use illustrative numbers and simplified models. Algorithmic trading and derivatives involve substantial risk. See our Risk Disclosure and SEBI Disclaimer.