OCO auto close all positions with set profit amount

jmd2893

New member
VIP
Hello fellow Scripters,

I for the life of me cannot remember how to set up a custom OCO bracket to save my life. I'm switching up my strategy and the previous one's that I have do not accommodate my needs. I've watched YouTube videos, but they don't really explain my specific request. This is why I'm resorting to my fellow community for their grateful guidance.

My question is this:

Straddle: - I buy 10 contracts of let's say "XLE" for x at whatever strike. I would like a automatic sell order that closes both out when I hit a desired profit, in this case lets say $500.

Another one is a Strangle, but with different Strikes. Example: I want to buy 5 98Cs and buy 5 93P's for whatever Expiry date. Again, same thing as above, I would like to have both of these closed out with a set dollar amount.

And if possible... Lets say my target price was hit on my strategy, How would I add a trailing stop w/ LMT if it rally's and continues (to protect my target gains, but also continue to ride the train. I know traditional trailing stops are usually MKT orders) but still secure and lock in my initial profit target?

As always, everyone of you are awesome, and that's why I continue to enjoy to be a part of this community. I have spent 100's of hours reading thru threads continuously trying to learn all because of everyone's input.

Regards,

JMD
 
Solution
In Active Trader (depth of market ladder) make sure you have the "Order Template Editor" and "Order Template Selector" added to the top section by clicking the gear icon and adding those items.

Then, select the OCO or TRG w/Brackets items and customize your OCO bracket. You can use $, ticks, or percent I think.
In Active Trader (depth of market ladder) make sure you have the "Order Template Editor" and "Order Template Selector" added to the top section by clicking the gear icon and adding those items.

Then, select the OCO or TRG w/Brackets items and customize your OCO bracket. You can use $, ticks, or percent I think.
 
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
551 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