Stop-Loss Order Types and Marked Price
Your stop-loss got swept away by a wick, but the price was clearly back where it belonged. That's not slippage — you picked the wrong order type, or maybe you never knew TradingView's Mark Price was there to protect you.
Why Three Different Stop-Loss Methods?
A stop-loss does one thing: it exits automatically when the price moves against you. But how it triggers and how it executes are two separate concerns. TradingView offers four order types (market, limit, stop-market, stop-limit), plus trailing stops as a dynamic variant — each solves a different problem.
If you only think about "sell when the price hits my number," you'll run into situations where the order doesn't fill (a limit order gets skipped), fills at a worse price than expected (market orders with heavy slippage in thin markets), or gets whipsawed by noise (trailing stops set too tight).
This article won't tell you which one is best — because none of them are. It depends on your situation. Let's break down how each order type works, then see how they pair with Mark Price.
| Market Order | Stop-Market Order | Limit Order | Stop-Limit Order | ||
|---|---|---|---|---|---|
| Trigger | Immediately | Price breaks stop line | Price reaches target | Price breaks stop line | |
| Execution Guarantee | ✓ | ✓ | ✗ | ✗ | |
| Price Guarantee | ✗ | ✗ | ✓ | ✓ | |
| Best For | Emergency exit | Automatic stop-loss | Precise entry | Capped stop-loss |
Quick reference for the four order types. Source: TradingView "Types of orders" help page, verified 2026-10-17.
Market Orders: Speed Over Price Certainty
TradingView's official documentation is clear: "A market order can execute quickly, but the final price may differ from what you expected, especially in volatile or low-liquidity markets."
The key word here is "especially." Market orders guarantee immediate execution — as long as there's liquidity, your order will fill. But they don't guarantee price. When the market is volatile or liquidity dries up (right at open, right after major news), the gap between the price you see and the actual fill price can be significant.
| Scenario | Market Order Performance | Risk Level |
|---|---|---|
| BTC/USDT during normal hours | Slippage typically <0.01% | Low |
| Crypto open / major news event | Slippage may reach 0.5–2% | High |
| Low-liquidity altcoin | Slippage may reach 3–5%+ | Very High |
| Traditional stocks (large caps) | Slippage typically <0.01% | Low |
Typical slippage for market orders across scenarios. Source: TradingView official documentation, verified 2026-10-17. Actual values vary by exchange.
If you're using TradingView Webhooks to auto-place orders (sending {"qty_type":"usdt"} ), market orders execute the fastest because they don't wait for a specific price. But flip that around: when your strategy depends on precise cost control (say, a mean-reversion strategy entering at a set level), a market order can outright break your risk model.
That means, if you care about "filling at a reasonable price" more than "filling instantly", a market order might not be your best choice. Next, let's look at how limit orders solve this problem.
Limit Orders: Price Certainty Over Immediate Execution
TradingView defines a limit order as: "A limit order gives you more control over price, but it may not be filled."
In other words, you set the maximum price you're willing to pay (for a sell) or the minimum you'll accept (for a buy), and the system executes automatically when conditions are met. The benefit is precise entry cost control — the cost is that you might never get that fill.
| Market Order | Limit Order | ||
|---|---|---|---|
| Execution Guarantee | ✓ Fills immediately (when liquid) | ||
| Price Guarantee | ✗ No price guarantee | ||
| Use Case | Emergency exit, high-liquidity markets | Precise entry, low-liquidity markets | |
| Risk | Slippage | Missed entry |
Core differences between market and limit orders. Source: TradingView "Types of orders" help page, verified 2026-10-17.
Here's a common misunderstanding: many people think limit orders are "safer" than market orders because the price is locked in. But the risk of a limit order is "not filling." When the market moves fast, you might miss the best entry point — or worse, be unable to exit during a stop-loss scenario entirely.
This is why TradingView offers both stop-market and stop-limit orders — the former executes as a market order once your trigger price breaks (guaranteed execution, no price guarantee), while the latter executes as a limit order after triggering (price guaranteed, execution not). Both have their use cases.
Stop-Market vs Stop-Limit: What Happens After Trigger
Stop orders follow a simple logic: price triggers → order executes. The difference is "what kind of order fires after the trigger."
Stop-Market Orderexecutes as a market order once triggered — guaranteed execution but no price guarantee. Use this when you "must exit" — like a stop-loss, where you don't care about slippage, only about getting out.
Stop-Limit Orderexecutes as a limit order once triggered — price guaranteed but execution not. Use this when you "would rather not fill than accept a bad price" — but beware: if the market gaps, your limit order may never fill.
| Type | Post-Trigger Behavior | Execution Guarantee | Price Guarantee |
|---|---|---|---|
| Stop-Market | Executes as market order | ✓ (when liquid) | ✗ |
| Stop-Limit | Executes as limit order | ✗ | ✓ |
Post-trigger behavior of the two stop order types. Source: TradingView official documentation, verified 2026-10-17.
In practice, if your strategy relies on precise risk control (e.g., no more than 1% loss per trade), a stop-limit order may be a better fit — because you won't accept slippage beyond your expectations. But if what keeps you up at night is "not getting out in time," the stop-market order is the right call.
These two orders pair especially well in automated trading: {"stop_type":"stop_market"} for emergency stops, {"stop_type":"stop_limit"} for routine protection. The key is figuring out which risk your strategy fears more — slippage or missed execution.
Trailing Stops: Dynamic Stop-Losses That Follow the Trend
A trailing stop is a dynamic stop-loss order. It works intuitively: as long as the price moves in your favor, the trailing stop follows; once the trend reverses, it stays at the highest point reached and triggers an exit.
TradingView provides two concrete examples to illustrate why trailing distance matters:
Trailing distances from the two TradingView official examples (positive and negative cases). Source: TradingView "Introduction to trailing stops" help page, verified 2026-10-17. Not general advice.
The first example (5%): You buy at $100, price rallies to $120. With a 5% trailing distance, the stop trails from $120 minus 5% ($6) down to $114. If price pulls back and hits $114, the trade closes automatically — you locked in a 14% gain.
The second example (15%): Same $100 entry, price steadily climbs to $130. But a 15% trailing distance means the stop sits at $110.50. When price pulls back, you're still profitable (+10.5%), but compared to exiting at $130, you gave up 65% of your peak profit.
TradingView's summary: "Trailing stops can be particularly useful for trend trading. They may help you save most of your gains once trend reverses and prevent larger losses."
Mark Price: Who's Protecting Your Stop-Loss?
This is the core question of this article: why does your stop-loss get swept away by a wick when the price clearly bounced back?
TradingView defines Mark Price as: "Mark price is a fair-value estimate used by derivatives venues for risk controls and liquidation logic."
Its purpose is clear: reduce sensitivity to isolated trade spikes, and provide a stable reference for margin and PnL calculations. How it's computed varies by exchange, but the core concept is the same — weighted average of multiple data sources, not a single trade price.
| Last Traded Price | Mark Price | ||
|---|---|---|---|
| Definition | Price of the most recent trade | Fair value from multi-source weighted average | |
| Stability | |||
| Anti-Wick | |||
| Stop-Loss Triggering | Market orders, Limit orders (exchange execution) | Stop-Market (most exchanges), Trailing Stops (varies) |
Comparison of the two price types. Last traded price comes from a single trade; mark price aggregates multi-source data. Source: TradingView "Mark price" help page, verified 2026-10-17.
Here's a common misconception worth clarifying: TradingView's help pages do not explicitly state which price type trailing stops use. Most exchanges do use Mark Price to trigger stop-market orders, avoiding false triggers from wicks. But trailing stops are different — on Binance, for example, users can choose either "Last Price" or "Mark Price" as the trigger price. So the article's phrasing about "most exchanges using mark price to trigger stop orders" needs to be refined to be more precise.
If you're using TradingView Webhooks for auto-trading, this distinction matters especially: confirm what trigger price type your strategy is set to, so you can avoid getting whipsawed by market noise — but if your exchange uses Last Price to trigger, slippage during a wick could eat your entire position.
Practical Combinations of Three Order Types
As stated at the beginning, no single order type is best — only most suitable. Here's a real-world scenario showing how to combine all three:
- Use limit orders for precise entries (cost control)
- Place stop-market orders as emergency stops (execution guaranteed)
- Add trailing stops to auto-follow trends (lock in profits)
- Confirm your exchange's trigger price type (Mark Price vs Last Price)
- Periodically check if your trailing distance still fits (adjust based on volatility)
The benefit of this combination: you control entry cost (limit orders), guarantee exit in bad scenarios (stop-market orders), and auto-follow trends when things go right (trailing stops). The three complement each other — none is optional.
But remember: any automated trading system needs regular monitoring. Your trailing distance isn't set-and-forget — when market volatility shifts (say, from low to high), you need to adjust your trailing distance to avoid getting whipsawed by normal pullbacks or giving back too much profit.
For detailed guidance on entry cost control, check out our /blog/en/atr-volatility-position-sizing tutorial, which covers how to dynamically adjust stop-loss distances based on market volatility.
Risk Management: Order Types Are Just Tools
No matter which order type you use, the core principle of risk management doesn't change: your controlled loss per trade should stay within what you can tolerate.
TradingView's official documentation repeatedly emphasizes one concept: "Understanding these trade-offs helps you choose the order that best fits your strategy, risk tolerance, and market conditions."
In other words, order types are just tools. What actually determines whether you survive long-term is your risk management — including position sizing, entry conditions, and most critically, your stop-loss strategy.
/blog/en/atr-volatility-position-sizing first, which covers how to dynamically adjust your stop-loss distances based on market volatility.Frequently Asked Questions
What's the difference between market orders and limit orders?
TradingView's official documentation says: market orders "guarantee immediate execution but do not guarantee a specific price"; limit orders "guarantee a specific price but do not guarantee immediate execution." The key difference isn't about "filling or not" — it's "speed vs. price."
How tight should my trailing stop distance be?
TradingView doesn't give a specific percentage recommendation. Their official examples use 5% (positive case) and 15% (negative case), but explicitly state this depends on the asset you're trading. TradingView's original text only says "finding the right distance is the key" — no specific percentage ranges or recommendations for different market types — because every trading pair has different volatility characteristics.
Should I pick stop-market or stop-limit?
A stop-market order executes as a market order after triggering — guaranteed execution, no price guarantee. A stop-limit order executes as a limit order — price guaranteed, execution not. If you absolutely must exit (e.g., emergency stop-loss), go with stop-market. If you'd rather not fill than accept a bad price, choose stop-limit.
Technical Details
What's the difference between Mark Price and Last Traded Price?
TradingView's official documentation: "Mark price is a fair-value estimate used by derivatives venues for risk controls and liquidation logic." It uses a weighted average of multiple data sources, reducing sensitivity to isolated trade spikes. Last traded price is simply the most recent trade price, which can be influenced by market noise.
What price type does TradingView use to trigger trailing stops?
TradingView's help pages don't explicitly state this. Most exchanges use Mark Price to trigger stop-market orders to avoid false wick triggers. But for trailing stops, it varies by exchange — on Binance, users can choose "Last Price" or "Mark Price" as the trigger price. Confirm your exchange's behavior before placing orders in practice.
Does order type affect latency when using Webhooks?
Yes. Market orders execute fastest because they don't wait for a specific price; limit orders must wait until the market reaches your specified level. If you're connecting TradingView signals via Webhook (/blog/en/tradingview-webhook-not-working), market order latency comes mainly from network transmission, while limit orders also include the time waiting for the market to reach your price.
Get started
Create your first tracking signal on TVSBot and experience the convenience of automated trading.
Get Started Free- How to Size Positions with TradingView Webhooks: Funding Ratio vs. Fixed Quantity
- TradingView Webhook Not Responding? Complete Debug Flowchart from Alert Setup to Exchange Rejection
- ATR Complete Guide — Dynamically Adjust Position Size Using Volatility (2026 Risk Control Core)
- Signals Too Frequent? Fees Will Eat Your Profits: Calculate How Many Times Per Day Your Strategy Can Send
- Non-Custodial Trading Bot API Key Permissions Checklist