Thinkorswim Condition Wizard Watchlist 39

Build Custom Watchlist Columns Using Thinkorswim Condition Wizard

Build your own customized color-coded watchlists in Thinkorswim using the Condition Wizard. Color the background and values in your watchlist based on your favorite

Thinkorswim Condition Wizard Watchlist chart studies. Review hundreds of stocks at a glance. After mastering Thinkorswim Condition Wizard Watchlist, no more thumbing through endless charts to find your “needle in the haystack”.

The Condition Wizard in Thinkorswim does all the hard work for you. Just a few clicks of the mouse and the Thinkorswim Condition Wizard creates your code for you.

Learn how to write a very small amount of code to dynamically set the colors of the background and text in your custom watchlist columns. I walk you through it step-by-step. Several examples included. By the end of the video your mind will be exploding with new ideas on how to apply these techniques.


Examples included in this video:

  • Stochastic FullK above FullD
  • Price above or below VWAP
  • RSI overbought or oversold
  • TTM Wave
  • Mystery Bonus!

Want to learn more?

View videos from the Thinkorswim Watchlist category to learn more advanced methods of customizing the watchlist. Download free code with each of our free tutorial videos. See how easy it is to add custom columns for multiple time frames. Drastically reduce the amount of time spent searching for that perfect setup. Be sure to visit this link to the thinkorswim Watchlist category on the Hahn-Tech website: TOS Watchlists

*Thinkorswim is a chart analysis platform offered by TD Ameritrade:

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.

Watch the video, Thinkorswim Condition Wizard Watchlist below:

About Pete Hahn

For those trying to contact me about our professional services you will find all those details here: Any questions not related to our professional services or premium indicators should be directed to the comment section of the applicable video or you may post a question in our Q&A Forum:
__ Support our free content by making a purchase below. Thanks! __

Questions? Comments? Post a review?

39 thoughts on “Thinkorswim Condition Wizard Watchlist

  • TW

    Hi Pete, I created the following custom watchlist column using your Ichimoku indicator (thank you) but unfortunately, the background color isn’t showing, just the number 1.0.

    plot myVariable = signalBreakAboveCloud and signalBullishConfirmation;
    AssignBackgroundColor(if myVariable then Color.GREEN else Color.current);

    Can you please tell me how to fix this?
    Best Regards

    • Pete Hahn Post author

      Assuming you included the rest of the code and made all the corrections that are required to get the code to work as a watchlist column it should be working just fine. Sometimes the background color requires that you apply an index to the variable. So you might try using “myVariable[1]” in place of “myVariable”. That’s all I can suggest given the details you provided.

      • TW

        I included all of your original code in the custom watchlist column without any changes. I just added the code shown above to the bottom of your code. Can you tell me the corrections that are required to get the code to work?

      • Pete Hahn Post author

        The changes are far too numerous to list here in the comments section of a video. If you are attempting to do this on your own, it is assumed that you already know what changes are required to convert a chart study to work in a custom watchlist column. And this topic is light-years beyond the scope and context of the video in which you are posting this question.

  • S Flynn

    Thanks so much for the video on Price above or below VWAP and the RSI overbought or oversold. Could you show us how to place indicators so we know when the stock price is at the upper band an lower bands on the vwap?


    • Pete Hahn Post author

      Check the Q&A Forum. There are over a dozen posts on the VWAP. Very common. If you search and don’t find what you are looking for then post a new question in the forum.


    Thank you for making such a very educative video! I am having trouble accessing the condition wizard just before the thinkscript editor. It wasn’t enabled and greyed out. Please help!!!

    • Pete Hahn Post author

      This only happens when the code editor already contains a chart study which the Condition Wizard does no recognize. You simply need to remove all the lines of code from that view and the Condition Wizard tab will be enabled.


    Instead of setting an alert to price, I would like to set an alert as a STUDY when the MACD crosses (fast length crosses above the slow length) + the 9 EMA crosses above the 20 EMA +the RSI is above 50.
    Ideally when the 1 minute candle closes above the 9 EMA, regardless of the chart time frame.
    If this is too much to sinc to get an alert, then I would be happy with just the price closing above the 9 EMA when it crosses over the 20 EMA.

    I have tried setting the alert to study and use the condition for the alerts, but I can`t seem to make it work properly or save it to use everytime.

    Thank you.

    • Pete Hahn Post author

      You have quite a lot of moving pieces there so this is certainly going to be a challenge for you. I suggest you break things into individual components and practice with the basics before jumping straight into a highly advanced application. If you are looking for alerts, this is not the video for you. This video is for custom watchlist columns and they are not even able to generate alerts. You should be working with the scans:
      That will be the only way you can combine conditions from more than one time frame. Start small, practice, then gradually add complexity as you learn.

  • saad1962m

    AssignBackgroundColor(if valu equals 1 than Color .GREEN else if value equals -1 then Color.RED else Color.CURREN);
    Please it’s doesn’t work with me and i try too many time

  • Severn

    Thank you Mr. Hahn, your teachings are informative and extremely valuable. I was wondering is there some way to scan for ascending/descending 200 & 50 SMA?

    • sevjac

      Thank you for your timely reply and I do apologize for send my question under the wrong video lesson. I am very new (5 days new) to your site. Since then I have watched your Introduction Video and the Condition Wizard Lesson. To no avail, I have also searched for “SMA Trend Scan” in the Frequently as Question. These lessons have provided for an awareness and a better understanding of capabilities. Unfortunately, I am the limitation at this point, as I have yet developed the fundamentals to create a SMA Trend Scan from scratch. Could you assist with a walk through?

  • drewcook

    Thank you for this video Mr. Hahn. It helped me a great deal! I do have a question however. I am trying to set up a watchlist with Bollinger Ban conditions. The idea is that once the price crosses above the top band it enters a ‘Long’ condition, and if the crosses below the bottom band it enters a ‘Short’ condition. It then remains in the condition until the other one is met. I am able to set the conditions to inform me when the cross happens, but I am not able to have it stay in the condition until the opposite is met. Can you help me with this? Thanks again, Drew