The short answer

Yes. In Interactive Brokers you can attach a price condition on the underlying stock to an option sell order, so that the order is submitted only when the stock reaches your level. IBKR calls this a conditional order.

It works well for one exit at one level. It becomes laborious when you want a target and a stop on the same position, partial exits, a stop that waits for a candle to close, or a stop that trails the stock. This guide covers the TWS steps, the limits and the alternatives.

Why sell on the stock price at all?

If you bought a call because the stock held $100, the trade is wrong when the stock loses $100. The option’s own price is a poor proxy for that level: it also moves with implied volatility, time decay and the bid/ask spread.

An exit tied to the stock fires on the level you analyzed. The option is still what gets sold, so the fill still depends on the option’s own market.

For stops placed on the option itself, see how to set a stop loss on options.

How do I set it up in TWS?

These steps follow the Classic TWS order ticket. Labels differ slightly between TWS versions, so compare them with IBKR’s own lesson linked at the end.

  1. Create a sell order for the option you hold, for the quantity you want to exit.
  2. Choose the order type. A limit order controls the price but may not fill; a market order fills but accepts the spread.
  3. Open the order ticket and go to the Conditional tab.
  4. Add a condition of type Price and select the underlying stock as its contract.
  5. Set the operator and the trigger price: less than or equal for a stop on a call, greater than or equal for a target on a call. For a put the directions reverse.
  6. Choose whether the condition may be satisfied outside regular trading hours.
  7. Transmit. The order waits until the condition is met and is then submitted.

In our own Paper-account test in November 2026, a conditional order still triggered after TWS had been closed. Run it once in a Paper account yourself before relying on it.

What can a conditional order not do?

A conditional order is one order with one condition. A typical intraday exit plan has more parts than that:

You wantWith a conditional order
A target and a stop on the same positionTwo separate orders. Link them in a one-cancels-all group, or one can sell after the other already has.
To scale out at two targetsOne order per target, each with its own fixed quantity.
To protect only what actually filledQuantities are typed in advance. After a partial entry fill you adjust them by hand.
To wait for a candle to close beyond the levelNot available. A price condition reacts to the price reaching the level.
To trail the stop as the stock movesNot available as a condition on the underlying. A trailing stop order trails the option’s own price.
A sensible limit price when it triggersThe limit is typed when you create the order, before you know where the option will be quoted.

None of this is a fault in TWS. A conditional order is a general tool, and a multi-step option exit plan is several of them maintained by hand.

What are the ways to exit an option on the stock price?

There are three practical approaches, and they differ mostly in how much you maintain by hand.

AspectWatch and sell by handTWS conditional orderOptionTrigger
CostFreeFree with an IBKR accountFree for Practice and IBKR Paper; live accounts on the Live plan ($24.99/month or $249/year) or Pro ($29.99/month or $299/year)
Where the level livesIn your head or a price alertIn the order ticket, as a numberOn the TradingView stock chart, as a line
Several targets and a stopYou manage each saleSeveral linked ordersOne plan; each target sells its share
Candle-close and trailing stopsYour judgmentNeitherWick, body, hybrid and trailing modes
Quantity after a partial fillYou countYou edit the ordersFollows the filled quantity
What must keep runningYou, at the screenNothing on your computer: in our Paper test it still triggered with TWS closedDesktop, its local backend, the chart data source and the IBKR connection

Which one fits?

  • One level, one exit, set once: a TWS conditional order is enough.
  • You are at the screen and trade rarely: selling by hand costs nothing.
  • Targets, a stop and partial exits planned on the chart, several times a day: that is the case OptionTrigger is built for.

OptionTrigger is not hands-off automation. You choose the contract and click Buy yourself, exits need your computer and connections running, and a trigger never guarantees a fill.

Official references

TWS behavior is defined by Interactive Brokers, not by this guide:

Frequently asked questions

Can I sell an option automatically when the stock hits a price?

Yes. In Interactive Brokers, attach a price condition on the underlying stock to the option sell order. OptionTrigger does the same from levels drawn on the chart.

Does a conditional order guarantee my fill price?

No. The condition decides when the order is submitted. After that it is an ordinary limit or market order on the option.

Should the triggered order be a limit or a market order?

A limit order protects the price but can miss the exit if the option has moved. A market order exits but pays the spread, which can be wide on short-dated options. Decide which risk matters more for that trade.

Can one conditional order hold both a target and a stop?

No. Each exit is its own order. Put them in a one-cancels-all group so that one filling cancels the other.

Do price conditions work before the open or after the close?

Only if you allow the condition to be satisfied outside regular trading hours. Whether the option order can then fill is a separate question, because most equity options trade only in regular hours.

Can a TradingView alert sell my option?

Not by itself. An alert can call a webhook, and a relay service can turn that into a broker order. OptionTrigger does not use alerts; it reads levels drawn on the chart.

These guides describe software behavior. Product features depend on the matching app version, market data and broker connectivity. Check the Downloads page for supported versions and installation requirements.
Explore the complete workflow