Popular tags: Support, Resistance, Trend, Range, Fibonacci, Wave, Divergence, Multi time frames(MTF), Swing, Volume, Overbought, Oversold
Customization and Conversion for: Ctrader, MetaTrader(MT4, MT5), Thinkorswim, NinjaTrader, MultiCharts, Tradingview, Prorealtime, SierraChart, etc.
License renew price will be 20% off for the 2nd year and after.

 

How to add/setup custom scan in Thinkorswim TOS

Please note that if you received more than one file, for example RSI Bearish signal scan and RSI Bullish signal scan, do not copy and paste the code from the two files into one filter. Make sure you use each file separately. When you use RSI Bearish signal scan, do not use the code of RSI Bullish signal scan.


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

2. Click "Add Filter" (arrow 1) and Study (arrow 2)

then click "edit" button (arrow).

3. Click "thinkScript Editor" then empty the textfield.

4. Copy and pasty all the code from the file that I sent to you, then Press OK.

If the file name is "divergence scan.txt" then open it and copy all the content in this file and paste in the textfield shown above.

 5. Save the SCAN

 

Please note: in Scan, every time-frame is a single unit. So there will be no 5D:5m, or 20D:1h.

If you want to use 1 hour time-frame, just choose 1h.

The following image shows all available time-frame in Scan.

 

Sometimes you will get "no results" during the TOS maintenance period, that's very common.

Please try the scan after the maintenance.

 

Please note that if you received more than one file, for example RSI Bearish signal scan and RSI Bullish signal scan, do not copy and paste the code from the two files into one filter. Make sure you use each file separately. When you use RSI Bearish signal scan, do not use the code of RSI Bullish signal scan.




 


Copyright @ 2026 Patternsmart - All rights reserved


This website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. It's not recommended to use any single indicator as sole evaluation criteria. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. patternsmart is not responsible for the accuracy or content of any product, service or company linked to on this website.

Futures trading contains substantial risk and is not for every investor.Please read the following risk disclosure before considering the trading of this product: Futures Risk Disclosure. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

Trading stocks, options, futures and forex involves speculation, and the risk of loss can be substantial.Investor must consider all relevant risk factors, including their own personal financial situation, before trading. Trading foreign exchange on margin carries a high level of risk, as well as its own unique risk factors. Forex investments are subject to counter-party risk, as there is no central clearing organization for these transactions. Please read the following risk disclosure before considering the trading of this product: Forex Risk Disclosure. Spreads, Straddles, and other multiple-leg option strategies can entail substantial transaction costs, including multiple commissions, which may impact any potential return. Options are not suitable for all investors as the special risks inherent to options trading may expose investors to potentially rapid and substantial losses. Prior to trading options, you should carefully read Characteristics and Risks of Standardized Options.

patternsmart.com will not be held liable for the loss of money or any damage caused from relying on the information on this site. Any investment decision you make in your account is solely your responsibility.
TESTIMONIAL DISCLOSURE: TESTIMONIALS APPEARING ON OUR SITE MAY NOT BE REPRESENTATIVE OF THE EXPERIENCE OF OTHER CLIENTS OR CUSTOMERS AND IS NOT A GUARANTEE OF FUTURE PERFORMANCE OR SUCCESS.