Build Custom Scans, Alerts and Chart Studies Using Thinkorswim Condition Wizard
Wouldn’t you love to be able to create highly complex scans, alerts and chart studies? Frustrated from spending endless hours trying to learn how to write code? In this video, I show you how to use the Thinkorswim Condition Wizard to build highly complex alerts, scans and chart studies. We start by showing a very basic example but we cover every detail so you won’t get lost. Then we progress to more complex solutions through a series of 5 examples. Each example is taken directly from posts to our Q&A forum. These are real world examples, posed by real traders just like you.
Lean More:
Would you like to learn how to master the custom scan tools on Thinkorswim?
Click here: Thinkorswim Scans Beginner to Advanced
Examples included in this video:
- Identifying stocks where the TTM_Wave C is light blue
- Stocks above simple moving average the previous 3 bars
- Three consecutive bars of 2% or more gain
- Unusual option volume
- MACD crossover below the zero line
Want to learn more?
Once you master these techniques, be sure to view our advanced Strategies video: Thinkorswim AutotTade Almost . This video explains how to use the Thinkorswim Condition Wizard to build chart strategies and conditional orders for automated trade execution. Also included are code templates. Which make it very easy to copy code from the Thinkorswim Condition Wizard and paste it into your own custom chart strategy.
For a complete understanding of Thinkorswim Chart Strategies be sure to view all our videos in this topic:
*Thinkorswim is a chart analysis platform offered by TD Ameritrade: www.tdameritrade.com
TD Ameritrade provides financial services including the trading of Stocks, Futures, Options and Forex.
Please be sure to share this page with your friends and colleagues. Leaving comments below is the best way to help make the content of this site even better.
I created the following script in TOS with conditions wizard. SimpleMovingAvg().”SMA” is less than close and SimpleMovingAvg().”SMA” from 1 bars ago is less than close from 1 bars ago and SimpleMovingAvg().”SMA” from 2 bars ago is greater than close from 2 bars ago then I went back after watching the video to assign background color but I get the invalid statement when trying to “Assign Background Color” to an existing script.
The best place to find solutions and request help is in our Q&A forum: https://www.hahn-tech.com/thinkorswim-forum-topics/
Hello Pete, first I’m like to thank you for all the good teaching you are providing us.My question for you is, I build a custom watch list on a Mac Pro. However, when activated the watch list I get “custom expression limit exceeded”. Can you pls help me. thank you for your time and help.
Best place to find answers is in the Q&A forum. Here is one post that explains there is a limit to how many custom quotes you can have: https://www.hahn-tech.com/ans/ttm-squeeze-watchlist-column-for-all-nyse-stocks/
Hello Pete,
I’m looking to add the condition in the scan when 8,21,34,55,89 moving avg (Exponential) are overlapping each other, is there any way I can get this working?
What does that mean? Overlapping each other. You mean stacked? Shortest EMA on top, longest EMA on bottom, each moving average in order from top to bottom according to their length?
First of all you’re amazing, thank you for quick reply. I’m looking for the the scan where ( 8,21,34,55,89) exponential moving avg are stacking up on each other (it doesn’t matter which one is on top or down), like they are in very tight range. Take current example of ticker “LK” on 78 minute chart, all my moving avgs are in very tight range. I attached picture, all yellow lines are exponential moving avg on 78 min chart. I tried many things but sadly It didn’t work. If any you can guide me, that would be really helpful.
https://imgur.com/QRTIEFX
There is no way to build any scan on Thinkorswim using the 78 min time frame. It is not supported.
Hello Pete, I understand 78 min is not possible, can we do for an hour or a day?
yes, you can use any of the standard time frames that are supported by scans. This is really not the place to seek a solution of this nature. We have a Q&A forum were you can post a question. However I suspect that in order to complete this idea you have will take more time than I permit for free solutions I provide in the forum.
Hi, thanks for looking at this question. I’m kind of lost on where I might find the answer later but I’ll try. You did a custom bollinger band squeeze with someone. I called TOS and we installed it. I wish for the bands to be tighter as I’m not seeing the tight bands. I’d like to go back about about five days for the squeeze. I’m kind of new to all this trading for only a year. Thx so much. Glad to hear you’re doing well.
I wanted to upload a pic of what I was looking for but I don’t see attachment button.
There is no way to attach a file to a comment.
Mr. Pete, I’m glad to see you are feeling better and are back in action. I’m having trouble logging in to your message board so I figured I would ask it here. Is it possible, on TOS, to code arrows to show up at cycle highs/lows determined by slow stochastics %D value crossovers? A cycle high being %D crossing above 45 and then back down crossing below 55. The cycle high would be the highest price in that “loop”. Sorry to post this here but I can’t seem to login to your webpage. Thank you sir, Matt B
That certainly would require some custom code. Can’t do that with the Condition Wizard alone. Regarding the Q&A forum, did you view the introductory video to learn how to login and navigate the forum? From the Help menu at the top of the website: https://www.hahn-tech.com/introduction-video/
HI Pete I just found you on youtube, I really appreciate your teaching, that it is so great, thank you for all the time you put into
You are very welcome Arlette. Thanks for taking the time to provide your feedback.
Hello there, Pete! I am very glad to hear that your recovery has been so successful, and I wish you continued good health.
I cannot express adequately how much I appreciate your videos, and their ability to broaden my understanding of TOS, and the awesome power it contains.
This video in particular has opened my eyes to a part of TOS I had never considered using before your clear tutorial. I can only imagine ( laying in bed, awake, too late…) what can done with a bit of thinkScript studying in conjunction with the Condition Wizard. Really amazing- I, for one, would really be interested in further adventures with The Wizard!
Thanks again,
Steve
Hi Steve,
Thanks so much for your kind and encouraging words. I’m really excited that you found this video so useful. I certainly have plans for more in this series. Stay tuned.
Good to hear you are well!
I just today hit a bump and needed some help. I have been offline myself for a while so I was unaware of your problem. I am so pleased to hear that you are on the mend from a very serious condition. You have always been my GO TO resource when I encounter a problem and once again you gave me a hand across the gap in my knowledge of Thinkorswim ! I was unaware of all the posting you have made on the condition wizard, etc. so I will have a field day over the next week catching up. Seriously, you have helped me at least as much as Tech Support at thinkorswim, and on the more advanced features, well, as I said you have been my GO TO. Thank you ! and my VERY best wishes for a continued recuperation. I will have a field day going through the treasure chest (as I call it) of educational material I have missed in my absence.
JimP
Hi Jim. So very glad you found our content so useful. Great to have feedback that confirms I am hitting the mark.