Search symbol...
HomeFeaturesMarketsPricingTrack RecordChangelogFAQBlogContactLoginGet Started
Scanning

Custom Script Scanner

The My Script tab of the Stock Screener runs one of your own indicators on every symbol in a market, or across your watchlists, and lists where it matches: a BUY signal, a plotted value, an alert condition or a line of text from the script's table.


What It Is

The screener's built-in filters cover standard conditions such as an RSI level or a moving-average cross. My Script is for everything else: the logic inside your own indicator. Pick the indicator, a timeframe and a market, choose what counts as a match, and ChartingLens runs that indicator's code on each symbol's bars, the same code your chart runs.

The scan runs in your browser rather than on a server, so keep the tab open while it works. A full NASDAQ + NYSE daily scan (about 6,000 common stocks) takes about a minute or two.

No AI credits per scan

Running a scan from the My Script tab spends no AI credits. My Script is a Premium feature, included on Premium and Pro.


Which Indicators You Can Scan

The Indicator dropdown lists every custom indicator you have, tagged (on chart), (saved) or (this session):

When the same indicator is both on a chart and in your library, the chart copy is used, so the scan runs with the input settings you tuned. Built-in indicators such as RSI or MACD are not listed here; screen those from the Filters tab of the Stock Screener.


How to Run a Scan

1. Open My Script

Open the Stock Screener from the right sidebar and click My Script at the top, next to Filters.

2. Pick indicator and timeframe

Choose your indicator, then Daily, Weekly, 4 hour, 1 hour, 30 min or 15 min.

3. Choose the market

Pick a US group, an international market, Crypto, one Watchlist or All my watchlists. Stock markets also take Min price, Max price and Min avg volume.

4. Set Match when

ChartingLens reads what the script outputs and lists it. Pick an output and set the condition.

5. Run Scan

Leave Judge the last closed bar on and click Run Scan. A progress bar shows symbols scanned, matches and time left, and Stop ends it early.

6. Work the results

Click any match to chart it, or use Export CSV or Copy symbols.


Markets You Can Scan

Stock markets are limited to common shares, so preferreds, warrants, units and rights are skipped. Min price and Max price are in the market's own currency, and UK prices are in pence: a Max price of 50 on the LSE means 50p. The price and volume fields are hidden for watchlists, crypto and the Liquid US list, which has its own thresholds.

On stock markets, each symbol loads about two years of bars on Daily, ten years on Weekly, a year on 4 hour, three months on 1 hour and a month on 30 and 15 minute bars, enough for long lookbacks such as a 200-day average. Symbols with fewer than 30 bars or no recent bars are skipped.


Match When: What Counts as a Hit

When you pick an indicator, ChartingLens runs it once on SPY to find everything it outputs, then lists those outputs in the Match when dropdown:

AI-built indicators expose their signals, true/false conditions and plotted values the same way. If a script outputs nothing scannable, the panel says so; ask the AI Chat to add a plot or alertcondition for the state you want to find.

Judge the last closed bar

This checkbox is on by default. It ignores a candle that is still forming, so a mid-session signal that could vanish by the close can't create or erase a match. Bars are judged on each exchange's own clock: an ASX daily bar counts as closed after the Sydney close, and crypto daily bars close at midnight UTC.


Results and Export

The results header shows the match count, the exact condition, the market, how many symbols were scanned and skipped, and how long the scan took. Each row shows the symbol, the detail (latest bar, bars ago, the value or the matched text), the last close and that bar's change.

Click a row to load the symbol on your active chart. Export CSV downloads symbol, detail, close, change % and bar date; Copy symbols puts a comma-separated list on your clipboard. If nothing matches, the panel lists the most recent occurrences instead, and the last run is still there when you come back.

Scanning from the AI Chat

You can also ask in chat, for example "screen the market with my <indicator name>". The chat runs the same engine on the top 500 stocks of the Liquid US list, or on your watchlists, and reports recent BUY or SELL signals. The My Script tab is the full version, with whole markets and every output type.


Use Cases

Find stocks in a stage

A stage-analysis script that publishes its stage as a hidden value or table text can be scanned for Stage = 3, or the text Stage 3, across the whole market.

Fresh signals only

Match a BUY signal within the last 2 bars on Daily, judged on closed bars, to see which names your own strategy just triggered on.

Take your setup abroad

Run the same indicator on the ASX, the LSE or every Coinbase USD pair, with price limits in the local currency.

Watchlist triage

Run a script on All my watchlists after the close and chart only the names it flags.

New to screening? Our guides on how to use a stock screener and the best stock scanners of 2026 cover the basics.


Free vs Premium vs Pro

FeatureFree ($0)Premium ($14.99/mo)Pro ($29.99/mo)
My Script scans (Run Scan)Not includedIncludedIncluded
US, 10 international and crypto markets, watchlistsNot includedIncludedIncluded
Match on signals, values, shapes, alert conditions, textNot includedIncludedIncluded
Export CSV / Copy symbolsNot includedIncludedIncluded
Scan with your indicator from AI ChatNot includedIncludedIncluded
Converted scripts and AI-built indicators to scan withNot includedIncludedIncluded
AI credits used per My Script scanNot applicableNoneNone
Stock Screener Filters tabTop 10 matches per scanEvery matchEvery match

Frequently Asked Questions

How long does a full-market scan take?

A full NASDAQ + NYSE daily scan, about 6,000 common stocks, takes about a minute or two. The scan runs in your browser, so keep the ChartingLens tab open until it finishes.

Which indicators can I scan with?

Any custom indicator you have: a Pine Script or ThinkScript study converted in the AI Chat, an indicator the AI built for you, or one from the Saved category of the Indicators menu. Built-in indicators such as RSI are screened from the Filters tab instead.

Can I scan stocks outside the US, or crypto?

Yes. Besides five US groups, you can scan the ASX, HKEX, LSE, TSX and TSX-V, XETRA, Euronext Paris, NSE, Tokyo, SGX and NZX, every Coinbase USD crypto pair, one watchlist or all your watchlists.

Can I match on a value the script does not draw?

Yes. Hidden plots that only show in the data window are listed under Hidden values, and the text in the script's tables and latest label can be matched with contains, for example Stage 3.

Does a My Script scan use AI credits?

No. A scan from the My Script tab runs your indicator's code directly on each symbol and uses no AI credits.

Is the custom script scanner free?

No. My Script scans are included on Premium ($14.99/mo) and Pro ($29.99/mo). On Free, the Stock Screener's Filters tab works and shows the top 10 matches per scan.

Scan the market your way

Start free with the Stock Screener, then move to Premium to run your own indicators across whole markets.

Start Charting Free All Features