Updated
TheStrat Setup Screener: Scanner for Trade Signals

TheStrat Setup Screener brings TheStrat methodology (developed by Rob Smith) to TradingView's Pine Screener. It scans a watchlist or an index and returns each symbol's Strat state: candle types, signals in force, potential setups and Full Timeframe Continuity (FTFC).
WHAT IT DOES
For every symbol in the list, the screener reports:
HOW IT WORKS
The timeframe picked in Pine Screener is the focus. A 1D scan reads the daily candles and a 1W scan reads the weekly. Each candle is classified against the one before it: inside the prior range is a 1, breaking one side is a 2 (2U up, 2D down), and breaking both sides is a 3.
Six timeframe slots (default 30m, 1H, D, W, M, Q) add the higher-timeframe picture for FTFC, the Lead and Domino. Slots smaller than the scan's timeframe are skipped.
Pine Screener filters on two kinds of output:
HOW TO USE IT
The setup guide, with every column, filter and setting and more scan recipes, is linked in my signature.
Scans to start with:
ON A CHART
On a chart, the screener draws a table in the corner and tags the C2, C1 and CC candles. The table states the current candle and signal in words, lists every named filter the symbol matches right now, and shows each timeframe slot with its C2, C1 and CC, then FTFC and the Lead. When a symbol shows up in a scan, its chart shows why.
The screener's numbers appear only in the data window and Pine Screener, so nothing else draws on the chart. The Display settings turn the table, its timeframe rows and the tags on or off, and move or resize the table.
DEFINITIONS
KNOWN LIMITATIONS
OPEN SOURCE
The full source is published under the Mozilla Public License 2.0. The setup guide, with every column, filter and setting and more scan recipes, is linked in my signature.
Trading involves risk. This is a charting tool, not financial advice. Past results do not guarantee future results.
WHAT IT DOES
For every symbol in the list, the screener reports:
- Candle types for C2, C1 and the current candle (CC): inside (1), 2U, 2D or outside (3), plus 2U red, 2D green, hammers, shooters and Failing 2s.
- Signals: whether a signal is in force, bullish or bearish, or is a potential setup still waiting on its trigger, and its combo, such as 2-1-2 or 3-2.
- Continuity: FTFC across up to six timeframe slots, a continuity score, Domino setups, and the largest timeframe with a signal in force (the Lead).
HOW IT WORKS
The timeframe picked in Pine Screener is the focus. A 1D scan reads the daily candles and a 1W scan reads the weekly. Each candle is classified against the one before it: inside the prior range is a 1, breaking one side is a 2 (2U up, 2D down), and breaking both sides is a 3.
Six timeframe slots (default 30m, 1H, D, W, M, Q) add the higher-timeframe picture for FTFC, the Lead and Domino. Slots smaller than the scan's timeframe are skipped.
Pine Screener filters on two kinds of output:
- Named filters are on or off. Choose one, set it to True, and it keeps the symbols where that state holds, for example "In force", "C1: 1" or "CC: 2D green". Named filters combine, so "C1: 1" plus "CC: 2U" finds a 1-2U.
- Number columns take a comparison and a value. Every number follows one sign rule: positive is bullish, negative is bearish, 0 is none. State = 2 keeps bullish signals in force, and State = -2 keeps bearish ones.
HOW TO USE IT
The setup guide, with every column, filter and setting and more scan recipes, is linked in my signature.
- Open Pine Screener: Products > Screeners > Pine.
- Choose a watchlist or an index, such as the S&P 500 or NASDAQ 100.
- Click the indicator chip and add TheStrat Setup Screener from the Indicators dialog.
- Pick the timeframe next to the indicator name: 1D for daily setups, 1W for weekly.
- Add filters and press Scan. After any change, press Scan again.
- To check a result, open it on a chart at the same timeframe.
Scans to start with:
- Bullish signals in force: State = 2.
- Bullish 2-1-2 in force: State = 2 and Pattern = 212.
- Inside bars waiting to trigger: State = 1.
- Full continuity up: FTFC = 1.
- Failing 2D, a bullish reclaim: "CC: F2D".
- Weekly 2D green hammer: on a 1W scan, "CC: 2D green" and "CC: hammer".
ON A CHART
On a chart, the screener draws a table in the corner and tags the C2, C1 and CC candles. The table states the current candle and signal in words, lists every named filter the symbol matches right now, and shows each timeframe slot with its C2, C1 and CC, then FTFC and the Lead. When a symbol shows up in a scan, its chart shows why.
The screener's numbers appear only in the data window and Pine Screener, so nothing else draws on the chart. The Display settings turn the table, its timeframe rows and the tags on or off, and move or resize the table.
DEFINITIONS
- C2, C1, CC: two candles back, the last closed candle (its high and low are the triggers), and the current candle.
- In force: the current candle has broken a trigger and the signal is live. A potential is a setup whose trigger has not been touched yet.
- Failing 2 (F2D / F2U): with the default Reclaim setting, the current candle broke C1's low (F2D) or high (F2U), then closed back inside C1's range.
- Hammer / shooter: set in the Hammer/Shooter settings. The default, Broad, calls a candle a hammer when its open and close are both in the upper half of its range. Classic and Pin Bar are stricter.
- FTFC: the current candle on every counted slot is above its open (up) or below it (down). A doji counts as down.
- Pattern codes: the combo as a number, signed by direction. 212 is a bullish 2-1-2 and -22 is a bearish 2-2. A Failing 2 adds 1000, so 1022 is a 2-F2.
KNOWN LIMITATIONS
- Pine Screener requires a Premium plan or higher. Scans run only when Scan is pressed.
- Pine Screener supports 1 minute to 1 month. Quarterly and yearly slots are built from monthly bars. 12-hour and 3-day are not available.
- All filters must match. To catch both directions in one scan, use a filter without a direction, such as "In force".
- After an update, Pine Screener can show the previous version's settings until the first scan runs.
OPEN SOURCE
The full source is published under the Mozilla Public License 2.0. The setup guide, with every column, filter and setting and more scan recipes, is linked in my signature.
Trading involves risk. This is a charting tool, not financial advice. Past results do not guarantee future results.
Release Notes
Source comment cleanup. A website reference was removed from the code comments to follow TradingView's publishing rules. Calculations, columns, filters and the chart display are unchanged.Tools for traders and investors smart enough to keep it simple 😘👌
➡️ SETUP SCREENER GUIDE: TheStratSuite.com/scanner/guide
🤑 TheStrat Suite is now FREE & open source: TheStratSuite.com
345strategies.com · github.com/345-strategies
➡️ SETUP SCREENER GUIDE: TheStratSuite.com/scanner/guide
🤑 TheStrat Suite is now FREE & open source: TheStratSuite.com
345strategies.com · github.com/345-strategies
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Tools for traders and investors smart enough to keep it simple 😘👌
➡️ SETUP SCREENER GUIDE: TheStratSuite.com/scanner/guide
🤑 TheStrat Suite is now FREE & open source: TheStratSuite.com
345strategies.com · github.com/345-strategies
➡️ SETUP SCREENER GUIDE: TheStratSuite.com/scanner/guide
🤑 TheStrat Suite is now FREE & open source: TheStratSuite.com
345strategies.com · github.com/345-strategies
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.