Thinkorswim scan query

Thinkorswim scan query DEFAULT

Study Filters

The Stock Hacker Scanning Tool allows you to search for symbols meeting certain criteria. Study filters are criteria based on study values: adding one or several study filters will help you narrow the search range when looking for symbols. You can use up to 25 filters to scan the market.

How to Find It:

1. Click the Scan tab and choose Stock Hacker from the sub-tab row.

2. In the condition group you would like to add a study filter to, click on the Add filter dropdown. Choose Study. A new study filter editor will appear.

3. The first field of the editor allows you to choose a custom or pre-defined study to filter the results. Choose the desirable study and adjust input parameters.

Note that you can set a custom aggregation period by clicking on the Aggregation Period button. For intraday aggregations, you can choose whether or not to include the Extended-Hours Trading session: use the EXT checkbox for that. 

4. Click Scan. Search results will be shown in the watchlist form below the Filters section.

5. If pre-defined study filters are not enough for your scan, you can create custom study filters. To do so, choose Custom from the study list. This will open the Scanner Custom Filter editor window.

In Scanner Custom Filter, you can either use Condition Wizard, an interface that is operated by human-readable expressions, or thinkScript Editor, an interface for creation of thinkScript-based studies.


Consider the following script:

close > expaverage(close, 60) and ADX(length = 14) > 18

This condition is used in the Volume Zone Oscillator study; it checks whether the price is above the 60 period EMA and 14 period ADX value is higher than 18, which could possibly mean that the market is in strong uptrend. Click OK save the filter and then press Scan to display all symbols meeting this criterion.

You can also use plot values in Study Filters:

def SMA = Average(close, 15);
plot condition = close[2] > SMA[2] and close[1] < SMA[1] and close < SMA;

This example script searches for symbols which were above simple moving average two days ago, but have fallen below since then.

Note that search criteria can be adjusted by pressing the "pencil" icon in the filter. To delete a filter, click X.

Note also that search results are displayed in the watchlist form, which means that you can display custom quotes along with standard values. For more information on that, refer to the Custom Quotes article.

Specific Usage

When in Stock Hacker, thinkScript® usage is somewhat different from that in studies and strategies. Here is the list of peculiarities:

  • Secondary aggregation is not allowed.

  • Scripts using standard thinkScript® syntax must have exactly one plot.

  • For forex, only price type last can be used.

  • The "Start aggregations at market open" setting is disabled when the Extended-Hours Trading session is off.

Data Limitations

Data used in study filters is limited in terms of time period. These limitations depend on the aggregation period:

Aggregation periodData limit
1 to 30 min15 astronomical days
1 to 4 hours270 astronomical days
1 to 4 days4 years
Week6 years
Month, Option Expiration20 years



Stock Hacker

Stock Hacker is a thinkorswim interface that enables you to find stock symbols that match your own criteria. Learn how to scan for specific stocks using thinkorswim—then create an alert to stay updated.

How to Use Stock Hacker

  1. Before entering the actual scan criteria, you can narrow your search by using the Scan in drop-down menu on top of the Setup Scan area. This menu enables you to choose among which set of symbols the scan will be performed. You can select your personal or a public watchlist, a certain category (e.g., All Stocks, All Indices, All Futures, All OTC Stocks, or All Listed Stocks), a preset scan list, or a GICS industry list.

    You can narrow the search even further by selecting a different subset from the Intersect with drop-down menu so the scan will only be performed among symbols that belong to both subsets. Alternatively, you can select a watchlist from the Exclude dropdown so symbols in this watchlist will be excluded from the search results.

  2. You can add scan filters to three groups:

    • All of the following: Filters from this group will conduct a scan for stocks that satisfy all of the conditions in it.
    • None of the following: Filters from this group will conduct a scan for stocks that satisfy none of the conditions in it.
    • Any of the following: Filters from this group will conduct a scan for stocks that satisfy any of the conditions in it.


  3. If you use all the three groups, the scan will be performed for stocks that satisfy all of the conditions from the first group and none of the conditions from the second group and any of the conditions from the third group.

  4. None of the following and/or Any of the following groups may be hidden by default. To add either group to the layout, click on the Add condition group button and choose None of the following or Any of the following.

  5. Add scan filters by clicking on the Add filter button. You can add the following types of filters:

    • Add filter for stock to add a scan criterion based on stock metrics, e.g., net change, percent change, bid/ask prices, etc.
    • Add filter for options to add a scan criterion based on option metrics, e.g., Greeks, intrinsic/extrinsic values, probabilities, etc.
    • Add fundamental filter to add a scan criterion based on corporate data.
    • Add study filter to add a scan criterion based on study values, including your own thinkScript-based calculations. Learn more: Study Filters in Stock Hacker.
    • Add pattern filter add a scan criterion based on occurrence of selected classical patterns in the price action of a stock symbol.
  6. The filters will be stacked in the groups with default parameters. You can use up to 25 filters in a single scan and only one pattern filter is allowed. To remove a filter, click X on its right.


  7. Adjust your scan criteria by using the controls in each filter. For example, select a different parameter to perform the scan with or edit the desirable range of parameter values. The latter can be done by either selecting the minimum and the maximum values of the range in the corresponding boxes or by dragging the brackets in the pre-scan diagram. The diagram illustrates how many results there are for each of the micro-ranges that constitute the specified range. The total number of matches is displayed live on the right.

    Note that even though each filter may display a certain number of matches in pre-scan, the actual scan may return no results, as the stock (option) needs to match all the specified criteria. Pre-scan matches are currently unavailable for pattern filters.



  8. To adjust a pattern filter:
    • Select patterns you would like to perform the scan for. More info on available patterns: Classic Patterns.
    • Click Edit... to modify sensitivity and parameters of the selected patterns. To learn more about sensitivity and parameters of classical patterns, see Using Classic Patterns.
    • Specify the time frame on which the patterns are to be looked for.
  9. Adjust your preferences for result output: how many results to show, whether to display stocks, options, or both, which column to sort by and in which order.
  10. Click Scan. The results will be displayed in a watchlist-like form (and you can actually save them as a watchlist by clicking the Show actions menu button and selecting Save as Watchlist…). Virtually all operations available in watchlists are also available in the search results: you can add or remove columns, adjust sorting, add orders, create alerts, etc.

    If there is a pattern filter in the scan setup, the results include symbols that have at least one occurrence of any of the specified patterns on the specified time frame. The results of pattern filter scans are updated hourly.

  11. If your scan for patterns returns any symbols, a new column Patterns will be added to the Search Results. Clicking on the 'pattern' icon  in this column opens a detached chart of the corresponding symbol with the same timeframe as specified in the pattern filter setup. Found patterns will be highlighted on this chart.



  12. Consider saving your scan query for further use. To save your query, click on the Show actions menu button next to Sizzle Index and select Save scan query… Enter the query name and click Save. To load a saved query, click Show actions menu, select Load scan query and choose the desirable one from the Public list.
  13. Scan results are dynamically updated. If you would like to be notified of changes in the results, consider adding an alert on the changes. To add an alert:
    • Click on the Show actions menu button and select Alert when scan results change…
    • In the dialog window, specify which events you prefer to be notified of (e.g., when there is a new symbol that matches the criteria or a symbol that no longer matches them) and the scan query to be monitored.
    • Specify the frequency options: whether you would like the system to notify you of every change in the results or send you a list of changes on an hourly, daily, or weekly basis.
    • Click Create. The alert will be added to your Alert book.


Option Hacker

You may also like

Option Hacker

The interface of the Option Hacker tool is similar to that of Stock Hacker, but the default ...

Sizzle Index

Sizzle Index is a thinkorswim feature that allows you to find stock symbols that currently see ...


The Simple Trend Channel Filter study is part of a trading system developed by James E. Rich and ...

  1. Miriam hernandez facebook
  2. Batavia methodist church
  3. Adobe fresco desktop

Sharing of images and platform settings information is for illustrative purposes only, and is not a recommendation for any specific security or strategy. Shared content is created and shared by thinkorswim users for other thinkorswim users. TD Ameritrade makes no representations or warranties of any kind about shared content. You are solely responsible for your use of shared content.

Past performance of a security does not guarantee future results or success. Your account is self-directed and any investment decision you make is solely your responsibility.

Market volatility, volume and system availability may delay account access and trade executions.

Options are not suitable for all investors as the special risks inherent to options trading may expose investors to potentially rapid and substantial losses. Options trading privileges subject to TD Ameritrade review and approval. Please read Characteristics and Risks of Standardized Options before investing in options.

This is not an offer or solicitation in any jurisdiction where we are not authorized to do business or where such offer or solicitation would be contrary to the local laws and regulations of that jurisdiction, including, but not limited to persons residing in Australia, Canada, Hong Kong, Japan, Saudi Arabia, Singapore, UK, and the countries of the European Union.

TD Ameritrade, Inc., member FINRA/SIPC, a subsidiary of The Charles Schwab Corporation. TD Ameritrade is a trademark jointly owned by TD Ameritrade IP Company, Inc. and The Toronto-Dominion Bank. © 2021 Charles Schwab & Co. Inc. All rights reserved.

High IV Percentile Scan Settings - How to Create a thinkorswim Scan Query part 1 of 9

Features of scanners in ThinkOrSwim

The ThinkOrSwim trading platform includes an extensive library of ready-made stock scanners. With the help of scanners, you can search for promotions according to the criteria you set. It is possible to add scripts for scanners already written for your trading strategy.

The scanner function is very convenient when the result is linked to the chart and shown in the watchlist. This way you get a dynamic watchlist.

It is worth noting that the Stock Hacker stock screener is one of the most advanced stock screeners on the market. Why? Thanks to its flexible and advanced settings, the screener is ideal for both novice traders and advanced traders looking for screeners with specific scanning capabilities.

We have previously written about the powerful ThinkOrSwim scripts (screeners) for the earnings season.

ThinkOrSwim RSI scan using Stock Hacker.



ThinkOrSwim Stock Hacker Settings

How to use Stock Hacker? Go to the “Scan” tab, click on “Stock Hacker”, and then the settings for scanning stocks will open. You can set any criteria for searching for stocks. You can also view all of the price data you need to get a deeper look at each stock.

By clicking on “Add filter for stock” you can filter the underlying indicators of a stock, by clicking on “Add fundamental filter” you can select stocks based on fundamental indicators. With the “Add study filter” you can set your own selection criteria and search for stocks based on indicators.

In the “Add Study Filter” you can choose on which timeframe your settings will work, and there is also the possibility of changing the code.

Besides Stock Hacker, Thinkorswim also has Spread Hacker and Option Hacker.

We wrote earlier how to set up the Option Hacker, how to use it and select options.

How to scan and find oversold stocks on ThinkOrSwim trading platform.

How to save a scan request to Stock Hacker

To save the scan query, click the “Show actions” button, then “Save scan” query. Give it a name and click “Save”.

Want to view a saved query? Click on “Show actions“, then “Load scan query” and select the one you need from the general list.

Your scan results will be constantly updated. To receive notifications about changes in results, enable change notifications.

It is also very easy to add an alert. Click the “Show Actions” menu button and select “Alert When Results Change”, Done.

You can save the scanner to a dynamic watchlist (the filter is updated + you can link it with a chart to analyze stocks) and a static watchlist (the stock list is not updated or changed). This is also done very simply.

For dynamic watchlist: “Scan Query” and “Save scan query”. Then add the watchlist widget and select the saved scanner.

For a static watchlist: “Action menu” and “Save as Watchlist”. Come up with a name and select it in the watchlist widget. Done.



You can check how Stock Hacker works in practice thanks to the reliable and proven service
Write to the contacts below and we will send you a free 30-day demo version of ThinkOrSwim Paper Money.


If you have any questions, you can contact our support team at the contacts below:
Email: [email protected]
Telegram: @thinkorswimeubot




Scan query thinkorswim

How to Find Stocks: Scanning the Universe of Stocks in 60 Seconds

Once you’ve got thinkorswim Charts set up, you can answer these three questions:

One: Is the stock clearly trading above the simple moving average (blue line in chart) or has it recently crossed above the line?

Two: Has the indicator line in the RSI crossed from below the 30 line to above the 70 line recently?

Three: Is the volume increasing or higher than normal (bars are higher than prior bars, indicating more traders committing to the trade)?

Remember that technical analysis of stocks can provide visual data to complement your fundamental stock outlook. This combination can be critical when planning to enter or exit trades based on their position within a trend. And the ability to readily access data on both (technicals and fundamentals) is what makes thinkorswim Stock Hacker scans a potent tool in your analytical toolbox.

Please keep in mind that past performance is no guarantee of future performance, and there’s no guarantee that any trend will continue in the future.

Although these principles are the foundation of technical analysis, other approaches, including fundamental analysis, may assert very different views.

How To Scan \u0026 Find Top Stocks Daily - TD Ameritrade TOS

TOS - Setting up scan criteria in the Stock or Option Hacker in Thinkorswim.

General search and sorting of scans in TOS

Look for the Scan tab in the top left of the TOS application.
From there choose the Stock Hacker or Option Hacker sub-tabs. 

3) Once you have selected the ticker symbols to search for, add filters to narrow down your search results. 

There are two sections that use different logic for filters.

All of the following

In the "All of the following" section, the criteria for all of the filters in this section will need to be met for a search result to display.

Any of the following

 In the "Any of the following" section, the criteria for any one of the filters here will need to be met for a search result to display. 

At the right side of each section, click the "+ Add filter" drop-down menu to add a new filter.

4) You may wish to sort the list based on a column header like Symbol, Description, Volume, etc. 

Just click on the column name to sort in descending or ascending order. 

6) In the "Show" and "Sorted By" area above the search, you can select further criteria to narrow down your search. 

If you are getting too many results, you will not be able to review the list effectively.

Try reducing the number of results by adjusting the search criteria above.

Create a custom scan filter in TOS

10X - 10X scans to use in TOS

How to get RAF (ready aim fire) scan in TOS

How do I save and find a shared scan in TOS

Top Hat Scan in Thinkorswim (TOS)

Squeeze Scan in TOS

Scalper Alert scan in TOS

Scan in TOS - Make a scanner custom filter from a study using the condition wizard

Squeeze Pro Scans in TOS


Now discussing:

This went on for about 10 minutes. My fingers danced restlessly in the hot bosom of a beautiful girl, whose movements she did not hesitate to wave. Olya looked at. Us sullenly, not wanting to miss anything. She had already put her other hand between her legs and slowly caressed her pussy.

27 28 29 30 31