ThinkorSwim App System Lag

Good Afternoon Traders! I've read a lot of posts around the web about how to speed up TOS but still looking for some answers.

Four main questions:
1) Does referencing built-in TOS studies in User Defined studies slow things down? (I reference SequenceCounter in one of my studies)
referencing several complex studies whether built-in or custom could potentially slow down charting.
Sequence Counter on its own, will not.

2) Does the AddCloud function slow things down? (I have a study that plots several different clouds simultaneously)
AddCloud is not a complex function, in of itself should not slow charting down

3) I have a study that is about 1500 lines long. It has references to TOS built-ins, uses several instances of ATR, EMA, Fibs, etc. It seems to really bog down TOS. Does anyone know if I separated out some of the sections into individual studies and then stacked them on a chart if that would improve performance?
The number of lines of code has no correlation to whether a script is complex.
Four lines of code with complex functions could be too complex.
2000 lines of simple plotting might be fine.

(I've heard TOS is a single-core/thread application so I'm guessing this won't help because there's still only one core doing the same amount of work...)
You are correct.

4) Does anyone know how to reference a TOS built-in study but also have that reference address a higher time-frame? In other words, if I wanted to see SequenceCounter values from a 15Min time frame but have them plotted on a 5Min chart is that possible?
Sequence Counter is a proprietary code. No modifications can be made to it.

Some traders run multiple instances of TOS on their systems - that's not going to help me if I want mostly everything on a single chart.
However, I have been running multiple instances lately and have allocated a minimum of 24GB of RAM to each instance. Can't quite tell if that's helping.
Here is a thread for the discussion of ram:
https://usethinkscript.com/threads/ideal-memory-usage-settings-for-thinkorswim.10201/#post-128355

Here are more threads related to your discussion:
https://usethinkscript.com/threads/maximum-amount-of-lines-in-a-script.8258/
https://usethinkscript.com/threads/thinkorswim-app-system-lag.1173/
 
Last edited:

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