ThinkOrSwim Java IPC (inter-process communication)

epete

Member
Since ThinkOrSwim is a Java program, is there a way to create another Java application (or other language) that interacts with (perhaps read from) the ThinkOrSwim application, using Inter-Process Communication? I've never done any Java programming, but wondering if some Java guru has attempted this? In effect it would be similar to having an API but at a much more granular level. This would be especially helpful for querying strategies and indicators and watchlists and the message center. For example, I have a study that puts an alert into the message center (don't know how that's done) - but if there was a way to interrogate the message center looking for those messages from another application - that application could send a text/sms/email to alert me. This would be an alternative for getting alerts from ThinkScript which I don't think is possible with the functions available. Also, is there any file in the Programs or AppData locations that contain information that could be "queried" looking for alerts, etc.? Thanks so much.
 

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

Since ThinkOrSwim is a Java program, is there a way to create another Java application (or other language) that interacts with (perhaps read from) the ThinkOrSwim application, using Inter-Process Communication? I've never done any Java programming, but wondering if some Java guru has attempted this? In effect it would be similar to having an API but at a much more granular level. This would be especially helpful for querying strategies and indicators and watchlists and the message center. For example, I have a study that puts an alert into the message center (don't know how that's done) - but if there was a way to interrogate the message center looking for those messages from another application - that application could send a text/sms/email to alert me. This would be an alternative for getting alerts from ThinkScript which I don't think is possible with the functions available. Also, is there any file in the Programs or AppData locations that contain information that could be "queried" looking for alerts, etc.? Thanks so much.
Hi! I read your post and thought it was very interesting. Have you discovered if a Java program can communicate with thinkscript signals using Inter-Process Communication?
 
I've tried hooking it, as well as just using the Windows API itself to bypass the need for anything else. Aside from triggering my own anti-virus, I didn't have much luck. The entire TOS interface is only a single hWnd aside from detached windows, none of the interface elements are actual child objects with their own handles. I believe its all just sort of painted, like video game graphics. There isn't even any detectable change in focus or caret when shifting between elements. All user input seems to be based on mouse coordinate regions within the single pane.
 
I've tried hooking it, as well as just using the Windows API itself to bypass the need for anything else. Aside from triggering my own anti-virus, I didn't have much luck. The entire TOS interface is only a single hWnd aside from detached windows, none of the interface elements are actual child objects with their own handles. I believe its all just sort of painted, like video game graphics. There isn't even any detectable change in focus or caret when shifting between elements. All user input seems to be based on mouse coordinate regions within the single pane.
Unless you hack the code. There is no way to communicate and get data from TOS. (I try but fail in the jar encryption and login process. If anyone is good in Java, we can try again :] )

TOS is a good platform. However, it has no support for external integration and no API to connect.
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

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