ThinkorSwim First Triggers OCO Order

mastermind07

New member
New to ThinkorSwim. I have a basic question, can you place an order on thinkorswim whereby you place three OCO (One-Cancels-the-Other Order) orders for three different stocks, and two get canceled once any of them is placed?

Thanks.
 
I learned a lot on this site and others and I am exited to finally have a thinkscript that I can use to buy and sell and I already tested it for my use. Today, I set up the ticker in Tos with an order and added the condition by using the little gear thingy on the far right, but the order did not fill so I'm trying to figure out why and I'm sharing what I did for your input in case you have a better way. At first, I tried to set the order to buy but then I would not be able to set the sell order at the same time before the buy order goes live. Next, I click on the "ask" and chose "buy with custom" so that I would have access to the brackets under "advance order" and could place multiple orders at the same time. Then, I changed advance order to "1st triggers all" so that I can place 3 orders; the buy and sell order with the condition for each one and stop order all at the same time and it still didn't get filled. As I watched my working order and price movement, it finally dawned on me that I probably need to change from limit order to market order to get it to fill since it would be difficult to know at what price the condition would trigger, and since there was only a 1cent difference between bid and ask it would have minimal slippage. Finally, by the time I worked out all of this the price had moved from my ideal entry point. How do you all enter a buiy and sell order in TOS using thinkscript? In thinkscripts code price is named as the close, high, low and etc so does this mean the setting to set up the order should be as a market order? Thanks in advance.

As a follow up with TOS team it can be done by setting up a buy with custom OCO or sell with custom OCO order and you get 3 brackets, so then you enter your buy and sell orders with thinkscript conditions as I described previously and add your stop. If you already know how to use OCO you already know most of this, the difference is the addition of thinkscript conditions. In back testing the system creates new orders but like you said, in real it will not create new orders and will only work with the orders that are set up manually with or without conditions. It's done as a market order to get filled so I will use it with tight bid-ask spreads and the thinkscript conditions will rule the trades. I'm not a licensed financial professional and only trade for myself, so if anyone follows this practice it in paper trade first.
 
Last edited:

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

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
444 Online
Create Post

Similar threads

Similar threads

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.
Back
Top