Can TOS filter stocks by Country


Category:
0
0

I would like to modify my scans to Exclude non-USA owned stocks.  I can display Company-address Nation, which shows the country and so I am hoping there is a way to filter our non-USA stocks.  Is it possible in TOS?

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on May 25, 2023 1:25 pm
65 views
0
Private answer

The short answer is no. I found nothing within the thinkscript language which would allow us to write a custom script to identify US vs Non-US stocks.

However even if this were possible it would not be the ideal solution. Why? Because the scan would still need to churn through and read the country for every stock included in the top level filters. It would not save any processing time.

The best solution is to build your own custom watchlist and apply that as a top level filter. There are three elements in the top level filter to choose from:

  1. "Scan in:"
  2. "Intersect with:"
  3. "Exclude"

If you create a watchlist containing only those stocks you want to include in the scan, you would apply that to either item 1 or item 2. If you create a watchlist containing all of the stocks you want to omit from the scan, you would apply that watchlist to item 3.

If you want to learn more about how these top level filters work you can view the following video:

https://www.hahn-tech.com/thinkorswim-scans-beginner-to-advanced/

The video description on that page includes a topical index so you can jump straight to an item of particular interest. The "Top Level Filter" topic begins at 3:32. I suggest you watch the rest of this video so you will learn how organize your scans to run faster. There are many options in the scan tool on Thinkorswim which most users are not aware of.

Marked as spam
Posted by (Questions: 37, Answers: 4084)
Answered on May 25, 2023 3:21 pm
0
I will create a watchlist with all the "China" stocks i can find and "exclude" them. I will be able to add to the watch list if my scanner discovers another via the "Company-Address Nation" column. I think that is the best I can do. If there is another platform that is capable of filtering "country" please advise. Thank you very much for your fast and quided response.
( at May 25, 2023 3:32 pm)
0
I am not aware of any other trading platforms which enable scans to omit ticker symbols based on the country the company is operating in. I checked TradeStation and I can confirm it does not provide an option for this. You consider doing some internet searches to see if there are list of stocks organized by country of origin. If you can find something that is already published you can copy/paste that data into your new watchlist.
( at May 25, 2023 3:42 pm)