A stop-loss order is built to get you out of a position once price hits your stop. A stop-limit order is built to protect the price you accept, and it may not fill at all. For an automated TradingView strategy, that choice decides what your bot does in the one moment it matters most: a fast, thin market. Tickerly turns your TradingView alerts into live orders, so the order logic you design in your strategy is the logic that runs.
Key Takeaways
- A stop-loss turns into a market order when the stop price is reached. It prioritizes getting executed, not the price.
- A stop-limit turns into a limit order when the stop price is reached. It controls the price, but it may not execute.
- In a gap or fast move, a stop-loss can fill far from your stop and a stop-limit can be left unfilled.
- The stop and its size belong in your TradingView strategy. Your automation platform carries out the orders the strategy sends.
- Exchange rules differ on what triggers a stop, so read your venue’s order documentation before going live.
Table of Contents
- The difference in one table
- How a stop-loss works
- How a stop-limit works
- What happens in a gap or fast market
- Which one fits which job
- Know what triggers the stop on your exchange
- Where the stop lives in an automated setup
- Perspective
- Put your stop logic to work
- FAQ
- Sources
The difference in one table
The SEC’s Investor.gov bulletin explains that a stop order becomes a market order once its stop price is reached, while a stop-limit order becomes a limit order. That single difference drives everything else.
| Stop-loss (stop-market) | Stop-limit | |
|---|---|---|
| Trigger | Stop price reached | Stop price reached |
| What activates | Market order | Limit order |
| Guarantees | Attempt to execute | Price or better |
| Main risk | Fill far from the stop | No fill at all |
| Best when | Exiting matters most | Price matters most |
A note on vocabulary: many brokers use “stop-loss” for a stop-market order, and some exchanges also label a stop-market as “stop” or “stop-loss”. Read the name against the behavior, not the other way around.
How a stop-loss works
You hold a long position bought at 100 and place a sell stop at 95. Nothing happens while price stays above 95. When price reaches 95, the order becomes a market order and sells at the best available prices. The Investor.gov bulletin notes that a sell stop is generally set below the current price and a buy stop above it, so the same tool protects both long and short positions.
The weakness is the fill. Market orders are not guaranteed a price, and the execution price can differ from the last trade or quote because of demand and available liquidity. FINRA’s investor guidance adds that when prices move rapidly, a stop order can execute at a price markedly different from the stop.
So with the 95 stop above, a gap down overnight could fill you at 91. You are out, but not where you planned.

How a stop-limit works
A stop-limit has two prices. The stop price is the trigger. The limit price is the worst price you will accept once triggered. They need not be the same. Using the same example, you might set a stop at 95 and a limit at 94. When price touches 95, a sell limit order at 94 or better goes live.
FINRA describes a sell limit as executable only at the limit price or higher, with no assurance of execution if the market does not reach it. If price gaps from 96 straight to 91, your limit at 94 sits unfilled while the position keeps falling. That is the trade-off: you protected the price and lost the exit.

What happens in a gap or fast market
The two orders fail in opposite ways.
- Stop-loss: you exit, possibly at a much worse price. FINRA warns that sell stops can add downward pressure in extreme volatility and can execute well below the stop during a precipitous decline.
- Stop-limit: you keep your price discipline, but the position stays open if price moves through your limit.
A brief spike can also trigger a stop, after which the market rebounds. Once the sale executes, it cannot be undone. This matters for bots, because a bot will trigger on every touch, every time, without second thoughts. For more on this behavior, see our piece on how trading bots respond to market volatility.
Which one fits which job
FINRA suggests considering a stop-limit when a target price matters more than immediate execution. The reverse logic applies to a stop-loss. Use this as a decision guide:
- The exit is non-negotiable (leveraged futures, a prop firm drawdown rule, a position you cannot hold through news): use a stop-loss. A worse fill is the cost of certainty.
- You trade liquid instruments in orderly sessions and a specific exit price is part of your edge: a stop-limit can fit, with a limit placed far enough from the stop to give it room to fill.
- You are unsure: start with the stop-loss behavior for protection and examine your slippage before tightening anything.
FINRA’s Regulatory Notice 16-19 even suggests firms consider defaulting retail customers to stop-limit orders and restricting triggers near volatile opens and closes. That shows how seriously regulators treat the gap risk of plain stops.
Choosing the distances
Rules of thumb such as a fixed 7% stop are not a substitute for your strategy’s own volatility. A stop that suits a slow large-cap stock is likely too tight for a crypto perpetual. Size the stop from the instrument’s typical range, and test it on your own chart history in TradingView. If you use a stop-limit, the gap between stop and limit is the amount of slippage you will tolerate before leaving the trade open.
Know what triggers the stop on your exchange
The word “stop” does not mean the same thing everywhere, and for a bot that is where surprises come from.
- Kraken documents that its stop-loss triggers a market order and its stop-loss-limit triggers a limit order, with the reference price being index price or last trade, defaulting to last trade.
- Coinbase Exchange documents that stop orders activate on last-trade price and execute as limit orders once triggered.
- Deribit’s rulebook defines stop-market and stop-limit orders triggered by mark or index price, not simply the last trade.
In forex and CFDs, execution terms are set by the broker. FxPro, for example, states that its CFD stop-loss executes as a market order at the available price, which may differ in volatile conditions. That is one provider’s policy, so read your own broker’s terms.
These are examples of why you should check the reference price and order behavior on the exact venue where your bot trades.
Where the stop lives in an automated setup
In a TradingView workflow, the stop logic belongs in your Pine Script strategy: where the stop sits, how it is sized, and when it exits. Your alert fires when the strategy generates the order, and Tickerly carries that alert to your connected exchange or MetaTrader terminal. We do not set stops, position sizes or risk rules on our side; they come from your strategy.
That clean split helps in three ways:
- Your stop is defined once, in the place you already test it.
- Execution speed matters at the trigger. Tickerly acts on the alert within a fraction of a second, so the time between your signal and the order reaching the exchange stays short. Our guide on real-time trade execution walks through how an order moves from signal to fill.
- When you want to move stops after entry, you can read how to build a breakeven stop on TradingView or a trailing stop automation.
What that means for the choice in this article: when your strategy’s stop triggers on the chart, TradingView fires the exit alert and Tickerly sends the closing order reduce-only, so it can only close the position. The alert has no order-type or limit-price field, so a stop-limit exit cannot be set from the alert. If you want the stop to rest on the exchange instead, a full trade alert attaches a stop loss and take profit to the entry as absolute prices, on Bybit, Binance, Oanda and Capital.com.
If a fill differs from what your chart showed, the cause is usually slippage rather than the stop type alone. We cover that in backtest vs live slippage and in methods to reduce slippage in trading bots. To compare market and limit orders more broadly, see our market vs limit orders checklist.
Before running real money, test on your exchange’s demo account so you see exactly how your strategy’s exits arrive and fill when the alert fires.
Perspective
Most of the stop questions we hear come down to one thing: people choose an order type by its name and discover its behavior in the worst moment. A stop-loss and a stop-limit are different promises. One promises an attempt to exit. The other promises a price.
Our view is that the decision should be made deliberately, in your strategy, and then executed without delay. A bot removes hesitation, so the quality of the rule you hand it matters more than ever. That is why we built Tickerly around carrying your TradingView alerts to your exchange quickly, within a fraction of a second, across crypto, forex, stocks and futures, without a VPS or code on your side for most setups.
Define the stop where you already work, in TradingView. Let the platform do the repetitive part.
Jay
Put your stop logic to work
Tickerly connects your TradingView alerts to supported exchanges and MetaTrader, with no coding required, and runs as many strategies and alerts as your plan allows. Plans start at $19 per month for Level 2 (crypto), with Level 3 at $29 adding Oanda, Capital.com and Alpaca, and Level 4 at $39 adding MetaTrader, each with a 30-day free trial. You can compare them on the Tickerly plans page.
If you want the full path from chart to live order, start with TradingView strategy automation.
FAQ
Should I use a stop-loss or a stop-limit?
Use a stop-loss when leaving the position matters more than the exact price. Use a stop-limit when your price matters more than a guaranteed exit. FINRA’s guidance points to stop-limits for traders who prioritize a target price over immediate execution.
Can a stop-limit order fail to execute?
Yes. If price moves through your limit before the order can fill, it stays open and the position keeps moving. This is the main reason many traders accept a stop-loss for protective exits.
Is the 7% stop-loss rule right for every trade?
No. A fixed percentage ignores how volatile each instrument is. Set the distance from the instrument’s typical range and your strategy’s logic, then test it on your chart history.
Where do I set the stop in a TradingView bot?
In your TradingView strategy. The strategy generates the order and the alert, and Tickerly sends it to your connected exchange or MetaTrader terminal.
Sources
- SEC Investor.gov: Stop, Stop-Limit, and Trailing Stop Orders
- SEC Investor.gov: Understanding Order Types
- FINRA: Stop Orders, Factors to Consider During Volatile Markets
- FINRA: Order Types
- FINRA Regulatory Notice 16-19
- Kraken FIX API: New Order Single
- Coinbase Exchange API: Create a new order
- Deribit Exchange Rulebook
- FxPro order execution
Recommended
- Ten Second Investor Checklist: Market vs. Limit Orders and Automation
- Trailing Stop Automation: Three Ways to Build It Right
- Automate trade exits in TradingView for better risk control
- Breakeven Stop on TradingView: Build and Automate It
This article was produced with Al assistance and reviewed for accuracy. It is provided for general information only and is not professional or financial advice.

