Can I use a thinkscript to set up custom OCO orders?


New member
Thinkorswim’s HotKeys are extremely limited in scope (compared to other trading platforms), which is very disappointing.

I like entering customized buy/sell orders and doing it manually is very slow, going through the following steps:

1. Left click on Trade tab
2. Move cursor and Right click on Ask price
3. Move cursor and Left click on Buy Custom
4. Move cursor and Left click on my (previously) customized order setup
5. There are two more step; to show my order entry (which I can Confirm and Send -or- Delete), followed by another window to Send.

That process (from 1 through 4 or 5) can be Hotkeyed in other trading platforms with one key combination.

Since I have not written any Thinkscipt code, my question is if that scenario is possible in ThinkScript or should I look elsewhere?

Last edited by a moderator:
Thinkscript can't submit live orders. You may have more luck experimenting with Active Trader, which has one click auto-send of customized templates, if you're so inclined. If you can tell me more about the order I can probably walk you through it.

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

@captchris801 You would have better luck if you were to create and save several Conditional Orders that can be applied based on your desired criteria... I and several others have mentioned how to set them up in other topics... I use several Conditional Orders for trading SPY Options which are based on both licensed and my own custom Studies... There are also several good YouTube videos that cover the concept quite well... The use of Conditional Orders is the closest we can get to automated trading in TOS...

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
303 Online
Create Post

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.