Welcome!
The web page you landed on is for paid Patreon subscribers. If you are not already one of my paid members than please consider subscribing to support my work. You can subscribe by clicking the orange button named "UNLOCK WITH PATREON" below this welcome message.
Current Subscribers:
What's that? You are already a Hahn-Tech Patron (Tier 1 or higher / $3)? Well then you can use the following link to access the login screen, and click the "LOG IN WITH PATREON" button.Paid Patreon Member LoginBe sure to bookmark this current page so you can come right back to where you left off before logging in. Thanks again for your support!
To view this content, you must be a member of Hahn-Tech's Patreon at $1 or more
Already a qualifying Patreon member? Refresh to access this content.

Im assuming that script dosent really work for futures you entered value of 25 well isnt the value going to be different for futures
My apologies but I published this video almost 7 years ago and I do not recall “entering a value of 25”. Please provide the exact time stamp in the video in which you saw this and I will attempt to answer your question.
Pete thank you for all the tutorials you provide. I just finished the “almost” video and was struck by the coding required. I saw the study code for SLM and not the strategy for SLM. I don’t know if I just missed it or if it hasn’t been posted yet. Please advise.
After reviewing the video to refresh my memory I see that I showed a chart strategy for the SLM Ribbon on my chart but only the chart study has been provided.
1. The chart study needs to be added as a new custom chart study.
2. Then you can reference it in the Conditional Order tool as demonstrated in the video.
3. In order to build a chart strategy from that custom chart study you can use the techniques described earlier in the video, in which I show how to use the strategy templates to convert your conditional order statements into a chart strategy.
So yes, everything is provided, but it takes a while to learn how to put all these pieces together.
Has this ” Almost ” criteria changed At TOS learning center there is a page that seems ti imply otherwise. ” ThinkScript in Conditional Orders ” https://toslc.thinkorswim.com/center/howToTos/thinkManual/Trade/Order-Entry-Tools/Order-Types/thinkScript-in-Conditional-Orders Would love to hear your updated comments.
Nothing has changed since this video was first published. The instructions provided in the link you included are the same as what I demonstrate in this video. However if you read through the earlier comments on this page you will find one of our users discovered a way to place a round-trip conditional order. I have plans to publish an updated video to show how that looks on the platform. But the “Almost” clause is still very much in place. Which mean we cannot perform fully automated trading natively in Thinkorswim.
Hello Pete. Thanks so much for posting all of your tutorials, very helpful! Question: How do you get your orders to continue in wait condition after they have been fired/executed? For example, once my buy order is executed/filled it disappears (same with sell order). How do I get the orders to continue to stay in wait condition mode so that when the buy order condition is met again, the order will be filled and same for sell order.
One other note — Someone will want to wait to make sure the buy order is filed first if they are intending a long side sequence. If the sell order is filled first, the sequence would be inversed to a short order sequence. Does that make sense and I stated that clearly?
Thanks in advance!
The short answer is simple. You don’t. That’s exactly why the word “Almost” is included in the title of this video. Pretty sure I explained this in the video too. And that should answer part two of your question as well. It’s largely a manual process. We have very limited automation features in Thinkorswim.
Thanks for your fast response Pete!! I apologize, I knew you said it was almost but I guess I missed the part where the orders would not persist. I did think it was very cleaver to embed code into the orders to make them a little “smarter”. Question — Have you considered or looked into using the TDAmeritrade developer’s APIs to have the orders continue to be placed? I was directed to the by TDAmeritrade and am beginning to study it but not sure if it will handle the part that is missing for automation. I see that some folks out there are selling automated products for ThinkorSwim, so I am hopeful. Again, thank you for all your hard work and sharing all of your knowledge. I would not have made the progress I have made without you and your work!
The very best answer I have for this question. Why go through the trouble of modifying a Corvette to plow your fields when you can simply use a tractor? In this analogy, Thinkorswim is the Corvette. If you want a fully automated trading system the answer is very simple. Move to a trading platform that supports this functionality right out of the box. The list of such trading platforms is very broad.
Thanks Pete! I have always liked ThinkorSwim, but I understand what you are saying. Are there any ones you would recommend? Again, thanks so much!!
I have created fully automated trading systems in Sierra Chart and TradeStation. I believe that TradeStation provides a more flexible and robust trading platform than Sierra Chart.
Hi Pete. Just watched this last night…very informative. Thank you for sharing. Is there a way to change the time interval and aggregation period in the chart that is displayed in the condition wizard? I would like to see it at the 5 minute level, not the day level and have not been able to figure out how to change it in the condition wizard. Thanks in advance.
Hi Pete. No worries…I just figured it out. I finally saw the drop down at the top of the wizard. Thanks!
Glad you found it on your own. Thanks for the follow up to your question.