Question about AI on ThinkorSwim


I'm looking to combine 3 different studies that I have found to be useful and reliable on the ThinkofSwim platform. I know it's possible to combine all three, but what I am not sure about is combining those three studies with the use of an algorithm on the platform. Does TOS allow use of algo's on their platform? To clarify, the algo would NOT be auto-trading. I'm looking to design it to learn collective wisdom....things it can refer back to.....and then learning continues and all this knowledge feeds into the program for the next trading session. However, before diving into this project, feedback is appreciated as to the use of algo's on TOS.


Active member
@madeinnyc putting 3 indicators into a single system would be pretty simple, but I believe you are referencing a self-optimizing algorithm, correct? If so, I do not think that thinkscript can accomplish this unfortunately, however I have heard of some doing this in metatrader which utilizes python if I'm not mistaken. Machine learning is a very unique concept, some have used it to optimize algos for best settings over years worth of data, others have used it to adjust settings over a specific look back period for algo to run on more relevant settings. Something to think about if you go forward with this. Would love to hear on any progress you make in this realm!

Join useThinkScript to post your question to a community of 21,000+ developers and traders.


@tradebyday , Yes....u hit the nail in the head. Well,'s good to know it's not doable on TOS. The original idea was to code this in Easy Language which is Tradestation's programming language. However, the studies are in Thinkscript and converting them to Easy Language was one more step I wanted to avoid. The goal is to teach the AI the rules of trading based on the studies and let the program find the optimal strategy. But backtesting may also present an issue given the changing symbols in future contracts for specific time periods.
Last edited:


Active member
@madeinnyc if you can run the backtest on something similar in motion like SPX, you may be able to have the bot "learn" the basics as a place to start and test the viability, then forward test a few months to see how it handles the 23/6 round the clock futures contracts
Thread starter Similar threads Forum Replies Date
M Time Based Ranges Question Questions 0
J Trade Statistics Question Questions 2
Darth Tradicus Dumb Renko Question... or maybe not? Questions 5
Darth Tradicus Question about an indicator error Questions 2
Darth Tradicus Overlay Alignment Question Questions 4

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
167 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.