Heads Up on Saving Order Templates In ThinkOrSwim

Mocnarf1

Member
I was having a problem with saving Order Templates for Sequential Conditional Orders that reference
custom Studies . TOS would mess up the Conditional Order when it is re-loaded you can send it but it
will never trigger a Buy or Sell . I reported the problem to ThinkOrSwim Support and got this response:

Thank you for your message! My name is Brandy and I am happy to help.

Regrettably, a saved order template will not automatically reference a custom script as a condition, even if the original order (that the template was saved from) included a custom script as a condition. The saved order would only reference the name of the study, and not the actual script itself, so it would not function as intended. While this is currently a known limitation on the platform, I have submitted a suggestion to our developers to consider adding the ability to save orders with custom scripts in the future, as I understand that this would be inconvenient for you!

As a workaround, you can still save the set of order legs as a template so that you do not need to re-enter all of the legs of the order every time that you place a new order. Then, you would just need to click on the "gear" icon (Order Rules) next to each leg to add the custom study as a condition for that specific leg. I do understand that this does not remove all of the manual work from placing this type of order, but hopefully this helps to make the process easier than re-entering the new order entirely.

I hope this helps. If there is anything else at all that we can assist with, please let us know.

It took me quite a while to figure out there was a problem. I keep going back to my studies to try and
find why my buy and/or sell was not working. Wasted a lot of time. Hope this helps you avoid this problem
or at least your aware of this know bug. Or maybe it's a design feature. Anyway Heads Up!
 
I just joined the group yesterday. I am trying to do the same thing that you are interested in.
I can change some commands in thinkskript but not good at it. Have been using Thinkorswim for 10 years.
 
Last edited by a moderator:
In TOS, when I save an order template with a conditional study, the template saves and the order will execute successfully. However, when I attempt to create a new order using the template, TOS displays this message in the conditional think script editor: "{tho=true}" rather than the below code:

Code:
plot _Data_ = MovAvgExponential("length" = 50)."AvgExp" is less than MovAvgExponential("length" = 21)."AvgExp" and close is less than MovAvgExponential("length" = 21)."AvgExp" and StochasticFull()."FullK" is less than 20 within 5 bars and StochasticFull()."FullK" crosses above StochasticFull()."FullD";

Also, the timeframe for the template was created with a 1 minute chart + excluding extending trading. However, when I pull up this template the order gets reset to a daily chart w/ extended trading hours checked.
 

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

Thread starter Similar threads Forum Replies Date
Mocnarf1 Can someone explain the Order type options? Playground 1
zeek ThinkorSwim Bookmap Order Flow Playground 46

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
452 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