• Get $40 off VIP by signing up for a free account! Sign Up

Simple spread trade

Dynamo2000

New member
Hi, I am new to ThinkorSwim. I am a spread trader. I have spoken to several people on the advanced trading desk and they told me that ThinkorSwim does not support the simple trade triggers I need, but it may be doable in ThinkScript. Very simply, if a stock A goes down to say $20 then you want to automatically (trigger) buy it and automatically set up a sell OCO at say 10 and 30- the first as a stop loss, the second to take profits. This can easily be done within the framework of ThinkorSwim. However I need to do this on a spread i.e. say two stocks A & B, but now I want to buy A - B (i.e. buy A and sell B simultaneously and automatically) if A - B goes down to 20 (regardless of the individual prices). Similarly I want to automatically set up a sell OCO at say 10 and 30 i.e. sell A and buy B simultaneously. The advanced trade desk said if it could be done it would only be through Thinkscript, but they did not know how or even if it could be done. Can anyone help me?
 
Solution
@Dynamo2000 The support desk was correct, we cannot use a Conditional Order to simultaneously Buy one symbol and Sell another - unless they are two totally separate Conditional Orders... If they are two separate orders then they could both be triggered by the same symbols trigger criteria, say monitor symbol A for the purchase of A while monitoring symbol A to trigger the sale of symbol B... The caveat of this is that we cannot force the purchase of A before the sale of B gracefully - at least not until Schwab gets the Portfolio functions working properly... Without the Portfolio function GetAveragePrice("A") we have no way of knowing that A has been purchased before B is sold...

You are talking Stocks, not Options, correct...
@Dynamo2000 The support desk was correct, we cannot use a Conditional Order to simultaneously Buy one symbol and Sell another - unless they are two totally separate Conditional Orders... If they are two separate orders then they could both be triggered by the same symbols trigger criteria, say monitor symbol A for the purchase of A while monitoring symbol A to trigger the sale of symbol B... The caveat of this is that we cannot force the purchase of A before the sale of B gracefully - at least not until Schwab gets the Portfolio functions working properly... Without the Portfolio function GetAveragePrice("A") we have no way of knowing that A has been purchased before B is sold...

You are talking Stocks, not Options, correct...??? An Option Spread could function in this manner via a Conditional Order, but not Stocks... And with Options you would have to have the spread strikes pre-selected...
 
Solution

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
264 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