Blog / Can You Automate thinkorswim? What It Can Do on Its Own, and How to Go Further

8 min readJorgAI TeamSep 27, 2026

Can You Automate thinkorswim? What It Can Do on Its Own, and How to Go Further

Can You Automate thinkorswim? What It Can Do on Its Own, and How to Go Further

thinkorswim is one of the most capable trading platforms a retail trader can use, and since TD Ameritrade accounts moved to Charles Schwab, a lot of people who grew up on it are asking the same question: can I make it trade for me? The honest answer is partly. thinkorswim can automate more than most people realize, but it stops well short of running a strategy on its own. This guide covers exactly what it can do, how to set it up, where it runs out, and what the options are when you need more. Education, not financial advice.

thinkorswim supports semi-automated trading: advanced orders like brackets and trailing stops, plus conditional orders that submit or cancel automatically when a study condition you define is met. It does not run strategies for you. thinkScript strategies are for backtesting only and cannot send real orders. Full automation of a Schwab account runs through Schwab's Trader API or a platform that connects to it.

What can thinkorswim automate on its own?

It helps to think in three levels, because the word automated covers very different things.

  • Level one: advanced order types. One-cancels-other pairs, brackets where a filled entry triggers both a profit target and a stop, and trailing stops that follow price up. These automate your exits, which is where most traders make their most expensive emotional decisions. If you have never used them, start here; how to automate your stop losses and what a trailing stop is and when to use one cover the mechanics.
  • Level two: study-based conditional orders. You attach a condition to an order, such as a moving average cross or an RSI level, and thinkorswim submits or cancels the order automatically when that condition is met. This is the closest thinkorswim gets to automation, and it is genuinely useful.
  • Level three: running a strategy. Scanning for setups, deciding what to buy, sizing positions, managing exits, and enforcing account-wide limits without you. thinkorswim does not do this natively. That is where the rest of this guide comes in.

How to set up a conditional order in thinkorswim

Conditional orders live in the order entry tools. Per thinkorswim's own documentation, the process looks like this:

  1. Build the order as usual in Order Entry: symbol, quantity, order type, and price.
  2. Click the gear icon in the Order Rules column. This opens a window where you set rules for both submission and cancellation.
  3. Define the submission condition using the Condition Wizard or the thinkScript Editor. You can use a built-in study, a custom study, or an expression.
  4. Optionally add a cancellation condition, so the order is pulled if the setup falls apart before it triggers.
  5. Confirm and send. The order then waits and is placed automatically when your condition is fulfilled.

Two rules from the documentation catch people out. A study used as a condition must have exactly one plot, so a multi-line indicator has to be reduced to a single value first. And you are free to use bid and ask functions in your conditions, which matters if your trigger depends on the spread. If indicator logic is new to you, RSI, MACD, and moving averages explained is a useful primer before you encode any of them.

Where conditional orders run out

Conditional orders are excellent at one job: executing a single decision you already made when a specific condition arrives. They are not a strategy engine, and people usually outgrow them for the same few reasons.

  • You still choose the stock. A conditional order waits on the symbol you gave it. It does not scan the market for new opportunities.
  • You still choose the size. The quantity is fixed when you build the order, not calculated from your account or your risk at the moment it triggers.
  • There are no account-wide guardrails. Nothing stops ten conditional orders from triggering on the same bad morning. Limits like a maximum number of open positions or a daily loss cap are not part of the tool.
  • It does not know about events. A condition can trigger the afternoon before a company reports earnings, when a gap can blow straight through any stop. That risk is covered in our Q3 2026 earnings season guide.
  • Maintenance grows with every order. A handful of conditional orders is manageable. A strategy built out of dozens of them, each needing to be recreated as conditions change, becomes a second job.

Can thinkScript strategies place real trades?

No, and this is the most common misunderstanding about thinkorswim. A thinkScript strategy draws buy and sell signals on a chart so you can see how a set of rules would have performed. thinkorswim's strategy documentation is explicit that all the signals you get are hypothetical and you cannot send real orders using strategies. You can right-click a signal and choose Show report to see the hypothetical profit and loss, which makes strategies a solid backtesting tool.

Treat that report as a starting point rather than proof. Backtests on a chart assume fills you may not get and make it easy to tune rules until the past looks perfect. How to backtest a strategy before risking real money covers the traps. The workflow that makes sense is to prove the rules with a strategy, then execute them some other way.

Going further: automating a Schwab account

When conditional orders are no longer enough, full automation of a Schwab account runs through Schwab's own programming interface. There are two ways to use it.

Build it yourself. Schwab offers its Trader API through the Schwab developer portal, which took over from the old TD Ameritrade API after the move to Schwab. Individual developers can register an application, then write, host, and monitor the code themselves. Expect one permanent chore: the authorization token behind the connection expires every seven days, so someone has to log in and re-authorize weekly. That is a hard limit on Schwab's side, not something a clever setup gets around, and we wrote up the details in how Schwab's API token refresh works for automated trading.

Use a platform that connects to Schwab for you. Several services link to a Schwab account through Schwab's official sign-in, so there is no code to write or host. The tradeoffs between them, and what to look for, are in the best AI trading bots for Charles Schwab, and the step-by-step setup is in how to automate trading on a Schwab account. If you are not a programmer, automating stock trading without coding explains the no-code options in more depth.

Before you mix thinkorswim orders with outside automation

Here is something we learned the hard way while building Schwab support, and it applies to anyone running thinkorswim orders and automation on the same account. When you have a working exit order in place, such as a stop or a limit sell, the shares it covers are committed to that order. If separate software then tries to sell the same shares, the new order can be rejected for insufficient shares, even though you clearly own them and the available quantity you see may suggest the shares are free.

The fix is a rule, not a setting: decide which system owns the exits for each position. If thinkorswim holds the stop, the automation should leave that position alone. If the automation manages the position, it should cancel any resting orders of its own before it sells. Two systems both trying to protect the same position is how a routine exit turns into a rejected one at the worst possible moment.

Is it safe to connect a trading bot to a Schwab account?

It can be, if the connection is built the right way. Insist on three things. The connection should use Schwab's official sign-in, so you never hand your password to a third party. It should be able to place trades but never withdraw or move money. And you should be able to revoke it from Schwab's side at any time. Anything that asks for your login credentials directly, or wants you to move money anywhere, is a reason to walk away. Our full checklist is in how to connect a trading bot to your brokerage account safely.

For what it is worth, JorgAI is one of the platforms described above. It connects to Charles Schwab through Schwab's official sign-in, scans the market and trades inside limits you set, explains every buy, sell, and skip in plain English, and can never withdraw money from your account. The weekly re-authorization still applies, because that is Schwab's rule for every connected app. You can try it on simulated money first, with no card required.

Frequently asked questions

Does thinkorswim have automated trading?

Partly. thinkorswim supports semi-automated trading through advanced order types such as brackets, one-cancels-other orders, and trailing stops, and through conditional orders that submit or cancel automatically when a study-based condition is met. It does not run a full trading strategy on its own.

Can thinkScript place trades automatically?

thinkScript strategies cannot. thinkorswim's documentation states that strategy signals are hypothetical and cannot send real orders; they are for backtesting. thinkScript can, however, define the condition on a conditional order, which then submits automatically when the condition is met.

Does thinkorswim have an API?

thinkorswim itself is a trading platform rather than an API. Programmatic access to a Schwab account runs through Schwab's Trader API, available on the Schwab developer portal, which replaced the TD Ameritrade API after the move to Schwab.

Can I use a trading bot with my Schwab account?

Yes. You can build your own using Schwab's Trader API, or use a platform that connects to Schwab through its official sign-in. Either way, expect to re-authorize the connection every seven days, because Schwab's refresh tokens expire on that schedule.

Why does my Schwab connection need re-authorizing every week?

Schwab's refresh token, the credential that keeps an app connected, expires every seven days. It applies to every connected application and cannot be extended by a user, so any automation on a Schwab account needs a quick weekly login to keep running.

Is thinkorswim still available after TD Ameritrade moved to Schwab?

Yes. TD Ameritrade accounts were moved to Charles Schwab, and thinkorswim continues as Schwab's trading platform. If you are weighing Schwab against other brokers for active trading, Robinhood vs Charles Schwab compares the two.

Let the AI do the trading.

Set it up in minutes. 7 day free trial on Starter and Pro.

Get started free