Rules and systems

Stop-loss orders explained: stop-limit, trailing stops and take-profit rules for investors

Written by

Reviewed by

Arpit AgarwalCharvi AgarwalThe Amaltash Team

Updated ยท Published

The short answer. A stop-loss order sells a stock once its price falls to a level you set, the stop price. Then it becomes a market order, so the sale price is not guaranteed. A stop-limit order won't sell below its limit price, but it may not sell at all.

How big should one position be?

$
%
%

A stop is not a guarantee: prices can gap past it.

Per position
$5,000
Full-size positions that fit
10
At risk per position
$5,000
At risk, share of portfolio
10.00%
Position$5,000
At risk$5,000

Hypothetical illustration based on your inputs. Not a prediction, a recommendation, or the performance of any Amaltash strategy.

Turn this into a rule

Hold SPY at no more than 5% of my portfolio. If it falls 25% from its high, sell it and move the money to T-Bills. If it grows above 8% of my portfolio, sell back down to 5%.
Write both exits as one rule

Opens the Strategy Builder with this rule filled in. It starts building after a 3-second countdown; type to stop it. Nothing trades until you deploy.

Stop-loss meaning: what is a stop-loss order?

A stop-loss order tells your broker to sell a stock if its price falls to a set level. That level is called the stop price. Investor.gov, the SEC's site for investors, says a stop order is also called a stop-loss order.

The stop price is a trigger, not a promise. When the stock reaches it, your order becomes a market order. A market order sells at the next price a buyer will pay.

Investor.gov is direct about it: the stop price is not the guaranteed sale price. The price you get can be far below your stop.

Made-up example: you own a stock at $100 and set a stop at $90. If the price slides to $90, your order becomes a market order. It sells near $90 only if buyers are there.

Brokers differ on what counts as hitting the stop. Some use the last trade price. Others use price quotes. Ask your broker which one it uses.

What is a stop-limit order?

A stop-limit order is a stop order with a second price, the limit price. When the stock reaches the stop price, the order becomes a limit order. A limit order sells only at your limit price or better.

The two prices do not have to match. Investor.gov gives an example: a sell stop-limit order with a stop price of $3.00 and a limit price of $2.50. It becomes active at $3.00, but it can only sell at $2.50 or better.

That protects the price, not the sale. If the stock falls straight past your limit, the order may never fill. You would still own the stock as it falls.

Stop loss vs stop limit: the difference

The difference is what each order turns into at the stop price. A stop-loss becomes a market order and sells at the next price a buyer will pay. A stop-limit becomes a limit order and sells only at your limit or better, if it sells at all.

So a stop-loss favors getting out. A stop-limit favors the price you get.

Both share one risk. Investor.gov warns that a short, sharp move during the day can set off either order. The sale price can then be far worse than the closing price that day.

Stop-loss vs stop-limit vs trailing stop

Feature Stop-loss (stop order) Stop-limit order Trailing stop
What sets it off Price reaches your stop price Price reaches your stop price Price falls a set % or $ below its high since you set it
What it turns into A market order A limit order A market or limit order, depending on the type
Price you get Next available price, which can be far below the stop Your limit price or better Same as the order it turns into
Main risk Sells far below the stop after a gap May not sell at all Normal swings can set it off

Source: Investor.gov (SEC), Investor Bulletin: Stop, Stop-Limit, and Trailing Stop Orders, updated Aug 18, 2026; FINRA, Order Types. Not every broker offers every type.

What is a trailing stop-loss?

A trailing stop-loss is a stop order whose stop price moves up as the price rises. You set it as a percent or a dollar amount below the market price. If the price falls, the stop stays where it is.

Investor.gov says a trailing stop can be a stop order or a stop-limit order. So it can sell at a worse price after a gap, or not sell at all, just like the order it is built on.

Investor.gov also warns that normal short-term swings can set off a trailing stop. Set it too tight, and it sells on noise.

Here is the example Investor.gov uses, step by step.

  1. You buy a stock at $20 a share, and it rises to $22.
  2. You place a sell trailing stop $1 below the market price.
  3. The price peaks at $24, so your stop price rises to $23.
  4. The price starts to fall, and your stop stays at $23.
  5. When the price reaches $23, the shares are sold. The sale price may still differ from $23.

Gap risk: why a stop can sell far below your price

A gap is when a stock opens far from where it last closed. It can follow news that came out while the market was closed.

FINRA lists normal trading hours as 9:30 a.m. to 4 p.m. Eastern Time. It warns that news outside those hours can move a price a lot by the next open.

Made-up example: your stop is at $90, and the stock closes at $95. Bad news comes out that night. The stock opens at $70. Your stop triggers at the open and sells near $70, not $90.

A stop-limit with an $85 limit would not sell at $70. You would still own the stock, now at $70.

So a stop decides when you act. It does not decide how much you lose.

Stop-loss trading versus investing

Most stop-loss advice is written for traders. They hold for hours or days and use tight stops a few percent away.

Long-term investors ride out normal swings on purpose. A tight stop would fire on that noise. It would turn a long-term plan into frequent trades, each with costs and possible taxes.

Investors who use exits can set them wider. They can size positions for the risk, or set one limit for the whole portfolio. They can treat taking profits as rebalancing, not as guessing a top.

Exit types compared

Every exit trades one failure for another. Pick the one whose failure you can live with.

A stop on one holding does nothing for the rest of your portfolio. In a broad stock market crash, stops can fire one after another at poor prices.

A portfolio limit acts once, on the total. It is set as a maximum drawdown: the most the whole portfolio may fall from its high.

Exit rules for long-term investors

Exit Trigger Scope What can go wrong
Stop-loss (stop order) Price falls to a set level One holding Fills below the stop after a gap; fires on normal swings if too tight
Stop-limit Price falls to a set level, sells only at or above a limit One holding May not fill at all if the price falls through the limit
Trailing stop Price falls a set percent from its high One holding Same gap risk; fires more often after strong runs
Take-profit (limit sell) Price rises to a target One holding Sells a winner that keeps rising; creates taxable gains
Rebalancing trim A holding grows past its target weight One holding or the portfolio Sells part of a winner; taxable in taxable accounts
Portfolio drawdown limit Whole portfolio falls a set percent from its high Portfolio Can sell near a low and miss the rebound; gaps; taxes

Source: Stop and market order mechanics: Investor.gov, Types of Orders and Stop Order. Stop-limit and trailing-stop terms vary by broker; check your broker's order terms.

How to set a stop-loss: size the position first

A stop says how far a holding may fall. Position sizing says how much that fall costs your whole portfolio. Use both together.

The formula: position size = (portfolio value x risk per position) / stop distance.

Made-up example: a $100,000 portfolio risks 1%, or $1,000, on any one holding. With a stop 20% below the buy price, the position is $5,000. A wider stop needs a smaller position for the same risk.

A gap past the stop means the real loss can be bigger than the budget.

Position size for a $1,000 risk budget (1% of $100,000)

Stop distance Position size Share of portfolio
10% $10,000 10%
20% $5,000 5%
25% $4,000 4%
30% $3,333 3.3%

Source: Arithmetic: position = risk budget / stop distance. Before gaps, fees and taxes.

Take-profit rules that fit long-term investing

Picking a top is a guess. A take-profit rule based on weight is not. When a holding grows past a set share of the portfolio, you sell it back down to target.

You keep the position and bank part of the gain. One winner cannot take over your risk. This is a form of rebalancing.

Selling in stages, such as a third at a time, also avoids an all-or-nothing call. Check the tax cost first.

The IRS taxes gains on shares held one year or less at ordinary income rates. That applies in a taxable account.

Common stop-loss mistakes

Most stop problems come from how the stop was set, not from the idea itself.

  1. Setting the stop inside the holding's normal daily or weekly swings, so it fires on noise.
  2. Assuming a stop guarantees a price. A stop order becomes a market order and can fill far lower.
  3. Moving the stop lower as the price gets close. That turns a rule back into a hope.
  4. Having no plan for getting back in after the stop fires, which leaves the money idle.
  5. Forgetting that news outside trading hours can open a stock below the stop.

How Amaltash runs both exits as one rule

On Amaltash you can write a stop, a take-profit and a size cap together in plain English. The rule can cover one holding or the whole portfolio.

When a limit is broken, the rule sells what it covers and moves that money into Treasury bills. When a weight cap is passed, it trims back to target.

The rule decides when to act, not the price you get. It sells at market prices, so a gap can mean a lower fill. It can sell before a rebound or trim a holding that keeps rising. Every sale in a taxable account can create tax.

Use the calculator on this page to size a position around your own stop. Then write the rule.

Risks and limits

  • All investing involves risk of loss. A stop does not guarantee a sale price; a gap can fill it far below the stop.
  • Stops set inside normal swings can fire repeatedly, adding costs and selling before rebounds.
  • Take-profit and trim rules can sell holdings that keep rising.
  • Every sale in a taxable account can create capital gains tax; short-term gains are taxed at ordinary income rates.

Frequently asked questions

What is the difference between a limit order and a stop-limit order?

A limit order is live right away and sells only at your limit price or better. A stop-limit waits until the stop price is reached, then becomes that limit order.

What is a buy stop-limit order?

It is the buy side of a stop-limit, often used to limit losses on a stock sold short. The stop price sits above today's price. Once the stock rises to it, a limit order to buy at your limit or better goes in.

What is the difference between a trailing stop-loss and a trailing stop-limit?

Both raise the stop price as the stock rises. When hit, a trailing stop-loss becomes a market order. A trailing stop-limit becomes a limit order, which may not sell at all.

What is a good stop-loss percentage for long-term investing?

There is no single right number. A stop inside a stock's normal swings will go off often. One approach: set the stop outside those swings, then size the position to fit your risk budget.

What is a take-profit order?

Usually a sell limit order at a target price above today's price. It fills only if the price reaches the target. It may sell a stock that keeps rising afterward.

Do stop-loss orders work after hours?

It depends on your broker, so check its rules. FINRA warns that news outside normal trading hours can move a price a lot by the next open. That is how a stock can open far below your stop.

Sources

Share this article

Educational content published by Amaltash Advisors LLC. Nothing here is investment advice or a recommendation to buy or sell any security. All investing involves risk of loss, including loss of principal, and past performance does not guarantee future results.

Get started