ThinkorSwim "custom expression subscription limit exceeded"

Hi, I'm running across the custom expression script limit when scanning using the code below. I'm wondering if anyone has any suggestions to lean out this code while preserving the same function so that i can have hit more searches with it. I'm capped at 200 with this code atm. Thanks!

Code:
def A = hl2;
def highestvolofday  = highestall(if GetLastDay() == GetDay() and highestall(volume) then (volume) else double.nan);
def High_vol_Price =  if  volume == highestvolofday then A else High_vol_Price[1];
Plot scan = (High_vol_Price*100) * highestvolofday;
 
@wildeye It isn't your code that is at fault... It has to do with the sheer number of Custom Watchlist Column cells being populated across your entire Thinkorswim install... That limit is between 1100 and 1500 calculated cells... Reducing the number of Custom Watchlist Columns OR reducing the number of symbols in the watchlists, scans, etc, is the only solution...
 
Last edited by a moderator:
One thing I noticed today while trying to work around this is that if you sort the scanner by the custom column using the dropdowns next to the scan button, it will correctly sort the exceeded ones. So you can get an idea of what the number is by seeing what is above it and below it. This does not work though if you simply click on the column header.

H81DpUs.png
 
Last edited:
The following solved it for me -
I had detached watchlists. I simply closed all detached watchlists and reopened only one.
 
Not certain if this is discussed anywhere else as the search I ran did not reveal any other conversation on this topic.

The way to run as many "expressions" as you want is to install multiple instances of the Thinkorswim platform and run them simultaneously.

In my setup I have one instance dedicated to charts alone while 4 or 5 others are running unique versions of custom watchlists with multiple custom columns.

Of course you will adjust the number of columns by the size of watchlist or scan you are working on.

Simply download Thinkorswim as many times as you wish (alter the name for each on installation). Set the memory accordingly for each install and you are good to go. I simply rename each shortcut on my desktop to remind me which watchlist (or lists) that instance contains.

I forgot to mention that the user will be limited by the amount of memory installed on their computer. But even lower memory levels should still allow multiple installs.
My friend, this is the most awesome thing Ive read all week.
 
This has been a problem of mine for years. Now with joining UTS and adding lots of complex watchlist items is a major problem TOS support has no good answer. It related to the total number of whitelist calculations active at one time. It may be mitigated by having only one watchlist with your calculations in and the rest only have basic date, symbol and notes.
 
This has been a problem of mine for years. Now with joining UTS and adding lots of complex watchlist items is a major problem TOS support has no good answer. It related to the total number of whitelist calculations active at one time. It may be mitigated by having only one watchlist with your calculations in and the rest only have basic date, symbol and notes.

For more information:
https://usethinkscript.com/threads/...-subscription-limit-exceeded.1441/#post-51462
 
I also ran into this and thanks to the posts here (the questions and the answers are equally informative and helpful!) I realized that a second instance of thinkorswim running on another computer was my culprit. For a variety of reasons, I sometime run it on a separate computer where I create custom Excel calculators for myself using RTD (real time data) and having them both running put me over the limit. Now that I know that, as long as I don't need those custom columns at the time, it's no problem and when I'm working on my actual trading, I can just shut TOS off on my other one. Thanks to ALL the great participants on this site!
 
@wildeye It isn't your code that is at fault... It has to do with the sheer number of Custom Watchlist Column cells being populated across your entire Thinkorswim install... That limit is between 1100 and 1500 calculated cells... Reducing the number of Custom Watchlist Columns OR reducing the number of symbols in the watchlists, scans, etc, is the only solution...
Thanks
 

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
306 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