Skip to main content
Tool Comparisons

How to Use Create Custom Stock Screener for Better Investment Decisions [Tutorial]

JS
Written by Javier Sanz
9 min read
Share:

How to Use Create Custom Stock Screener for Better Investment Decisions [Tutorial]

create custom stock screener — chart and analysis

When you create a custom stock screener, you stop browsing and start filtering. Instead of scrolling through thousands of tickers, you define the exact criteria a stock must meet before it earns your attention. This tutorial walks through the full setup process, from choosing your first filters to saving a reusable screen that you can run weekly.

The difference between a generic pre-built screen and a custom one is precision. A pre-built screen shows you someone else's idea of a good stock. A custom screen shows you companies that match your specific risk tolerance, return targets, and holding period.

Key Takeaways

  • A custom stock screener works by filtering a universe of stocks down to a shortlist using specific numerical thresholds you set.
  • Start with 3 to 5 filters, not 20. Over-filtering eliminates good stocks before you see them.
  • The most effective screens combine a valuation filter (P/E or P/B), a quality filter (ROIC or ROE), and a financial health filter (debt-to-equity).
  • Save and name your screens. Running the same screen weekly lets you catch new entries as market prices shift.
  • ValueMarkers covers 120+ indicators across 73 global exchanges, so your screen works on U.S., European, and Asian markets from one interface.
  • Testing your screen against the last 12 months of data shows whether it would have produced useful candidates before you rely on it.

What a Custom Screen Actually Does

A stock screener runs a database query in real time. Every stock in the database is evaluated against each rule you set. If a stock fails any single rule, it disappears from the results. The output is a list of stocks that passed every filter simultaneously.

The quality of the output depends entirely on the quality of your rules. Set the P/E threshold at 15 and you exclude high-quality growth businesses. Set it at 50 and you let in speculative names that will waste your time. The thresholds are not arbitrary; they come from your investment framework.

Step 1: Define Your Investment Framework Before Touching the Screener

Before you create custom stock screener rules, write down what you are actually trying to buy. Spend 10 minutes on this before opening any tool.

Ask three questions:

  1. What kind of return are you targeting and over what time horizon?
  2. Are you focused on income (dividends), capital appreciation, or both?
  3. How much financial risk in a company are you willing to accept?

A value investor targeting 12% annualized returns with low drawdown needs completely different filters than a dividend investor targeting 4% yield with 20-year payout records. Both are valid strategies. They produce incompatible screens.

Once your framework is on paper, every filter you add should map directly to a line in that framework. If you cannot explain why a filter belongs, remove it.

Step 2: Choose Your Core Filter Set

Most effective screens use 3 to 6 filters. The categories below cover the standard building blocks.

Valuation filters tell you whether the market price is reasonable relative to earnings, book value, or cash flow.

  • P/E ratio: screens out overpriced stocks
  • Price-to-book (P/B): useful for asset-heavy businesses like banks and insurers
  • EV/EBITDA: better than P/E for capital-intensive industries because it accounts for debt

Quality filters tell you whether the business generates real returns.

Financial health filters tell you whether the balance sheet can survive a downturn.

  • Debt-to-equity: keep it below 1.0 for most sectors; financial firms are a special case
  • Interest coverage ratio: earnings should cover interest payments by at least 3x
  • Current ratio: short-term assets divided by short-term liabilities, should exceed 1.5

Growth filters tell you whether the business is expanding.

  • EPS growth (1-year and 5-year): five-year consistency is more meaningful than a single-year spike
  • Revenue growth: confirms that earnings growth is coming from real business expansion, not buybacks alone

Income filters if you are screening for dividends.

  • Dividend yield: Johnson and Johnson yields around 3.1%, Coca-Cola around 3.0%
  • Payout ratio: below 70% suggests the dividend is sustainable
  • Dividend streak: years of consecutive dividend payments

Step 3: Set the Right Thresholds

This is where most first-time screeners go wrong. The thresholds you set should come from historical data, not intuition.

One method: run a backtest of the index you care about and find the median value for each metric. Then set your threshold above or below the median depending on whether you want above-average or below-average companies on that dimension.

A practical starting framework for value investors:

FilterThresholdRationale
P/E ratioLess than 20Screens out expensive names while keeping quality businesses
ROICGreater than 12%Minimum to exceed most companies' cost of capital
Debt-to-equityLess than 0.8Leaves room for the balance sheet to absorb a downturn
EPS growth (5-year)Greater than 5%Confirms the business is growing, not just cheap
Dividend yieldGreater than 1.5%Optional; only add if income is part of your strategy

These thresholds are starting points, not rules. Adjust them after you see what the screen returns.

Step 4: Apply Sector and Market Filters

A well-designed screen often includes sector constraints. If you run a pure value screen without sector filters, you will frequently find yourself with a list dominated by energy companies and regional banks, because those sectors tend to carry lower P/E ratios structurally.

That is not a problem if you want energy and financials. It is a problem if you want a diversified shortlist.

You can apply sector constraints in two ways. First, run the screen globally and then filter the results by sector manually. Second, set sector exclusions or inclusions before running.

Geographic filters matter too. Running your screen across 73 exchanges produces fundamentally different candidates than screening only the S&P 500. European quality businesses often carry lower multiples than their U.S. equivalents for similar ROIC profiles. The ValueMarkers screener lets you set both region and exchange constraints before the screen runs.

Step 5: Run the Screen and Read the Results

After setting your filters, the first result you need to check is the count. If your screen returns fewer than 10 stocks across thousands of tickers, your filters are too tight. If it returns 500 or more, your filters are too loose.

The target range for a working custom screen is 20 to 80 stocks. That is a manageable shortlist you can review in a single session.

When the results look reasonable, sort by your primary filter first. If valuation is your primary concern, sort by P/E ascending. If quality is primary, sort by ROIC descending. The top 10 to 15 names after sorting are your immediate focus.

Do not stop at the screen output. A stock passing all your filters still needs a qualitative check. Read the last two annual reports, confirm there are no governance red flags, and verify that the business model actually generates the returns the numbers show.

Step 6: Save the Screen and Run It Weekly

One of the most underused features in any screener is the save function. When you create custom stock screener filters that work, save the exact configuration with a descriptive name: "Value-quality core Q1 2026" or "Low-PE high-ROIC global."

Running the same screen weekly gives you two benefits. First, you see new entries that appeared because a stock's price dropped into your valuation range. Second, you see exits, stocks that passed last week but now fail because earnings declined or debt increased.

Price movement is the most common driver of new entries. If a quality stock with an ROIC above 30% drops 20% and its earnings are intact, it may now pass a P/E filter it failed the previous month. Weekly screening catches that window.

How the VMCI Score Complements a Custom Screen

The ValueMarkers VMCI Score gives every stock a composite rating across five pillars: Value (35%), Quality (30%), Integrity (15%), Growth (12%), and Risk (8%). Running a custom screen alongside the VMCI Score adds a cross-check that catches single-metric outliers.

For example, a stock might pass a P/E filter of under 15 because the share price collapsed after an accounting restatement. The Integrity pillar of the VMCI Score, which accounts for governance and financial reporting consistency, would flag that restatement. The custom screen passes the stock; the VMCI Score signals caution.

Using both in combination produces fewer false positives than either approach alone.

Common Mistakes When Building Custom Screens

Too many filters. Adding 15 criteria sounds thorough. In practice, each additional filter eliminates candidates exponentially. Start with 4 and add one at a time while watching the result count.

Ignoring sector context. A 2% ROE is terrible for a software company. It is normal for a utility or an insurance holding company. Set filters with sector context in mind, or compare against sector averages rather than absolute thresholds.

Using TTM data for cyclical businesses. Trailing twelve-month earnings for an oil company or a homebuilder can look great at a peak and terrible at a trough. Use normalized or 5-year average earnings for sectors with pronounced cycles.

Never revisiting the thresholds. A P/E threshold of 15 made sense when the S&P 500 median P/E was 18. When the median rises to 25, the same threshold may exclude quality businesses that are now reasonably priced relative to the market. Recalibrate thresholds at least annually.

Further reading: SEC Investor.gov · FINRA

Why stock screener filters Matters

This section anchors the discussion on stock screener filters. The detailed treatment, formula, and worked examples appear in the body of this article above. The points below summarize the most important takeaways for value investors who want to apply stock screener filters in real portfolio decisions. ValueMarkers exposes the underlying data on every covered ticker via the screener and stock profile pages, so the concepts in this article translate directly into actionable filters.

Key inputs for stock screener filters

See the main discussion of stock screener filters in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using stock screener filters alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.

Sector benchmarks for stock screener filters

See the main discussion of stock screener filters in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using stock screener filters alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.

Frequently Asked Questions

what happens if the stock market crashes

When the stock market crashes, a well-constructed custom screener becomes more useful, not less. Falling prices push more quality businesses below valuation thresholds, so your screen surfaces more candidates. The key is having your filters already set and tested before volatility arrives, so you can act on new entries without rebuilding your methodology in a panic.

what time does the stock market open

U.S. stock markets open at 9:30 a.m. Eastern Time, Monday through Friday. Pre-market trading begins at 4:00 a.m. Eastern, but volume and price discovery are thin before the official open. For screener purposes, running your filters on end-of-day data after 4:00 p.m. Eastern gives you the most stable and complete fundamental numbers.

are stock markets closed today

U.S. markets are closed on federal holidays: New Year's Day, Martin Luther King Jr. Day, Presidents' Day, Good Friday, Memorial Day, Juneteenth, Independence Day, Labor Day, Thanksgiving Day, and Christmas Day. ValueMarkers data refreshes on trading days, so running a screen on a market holiday will show you the previous trading day's prices and fundamental snapshots.

what time does the stock market close

The New York Stock Exchange and Nasdaq close at 4:00 p.m. Eastern Time on standard trading days. After-hours trading continues until 8:00 p.m. Eastern, but prices in after-hours sessions can differ materially from the closing price due to lower volume. Fundamental data in screeners always reflects the official closing prices and the most recent reported financials.

when does the stock market open

The U.S. stock market opens for official trading at 9:30 a.m. Eastern Time every weekday that is not a market holiday. London's market opens at 8:00 a.m. GMT. Tokyo opens at 9:00 a.m. JST. If you are screening global exchanges, each market has its own session hours, and ValueMarkers pulls end-of-day data for each exchange within a few hours of that exchange's close.

why is the stock market down today

Markets decline for many reasons: rising interest rate expectations, earnings disappointments, geopolitical events, or broad risk-off sentiment triggered by economic data releases. When the market is down, check which sectors are leading the decline. If the drop is sector-specific, your custom screen may generate new candidates in unaffected sectors. If the decline is broad, your valuation filters will start returning more names as prices fall across the board.


Start with four filters, run the screen, and see what it returns before adding anything else. The ValueMarkers screener gives you 120+ indicators across 73 global exchanges, so you have enough raw material to build any framework your strategy requires.

Written by Javier Sanz, Founder of ValueMarkers. Last updated April 2026.


Ready to find your next value investment?

ValueMarkers tracks 120+ fundamental indicators across 100,000+ stocks on 73 global exchanges. Run the methodology above in seconds with our stock screener, or see today's top-ranked names on the leaderboard.

Related tools: DCF Calculator · Methodology · Compare ValueMarkers

Disclaimer: This content is for informational and educational purposes only and does not constitute investment advice, a recommendation, or an offer to buy or sell any security. Past performance does not guarantee future results. Consult a licensed financial advisor before making investment decisions.

Related Articles

Tool Comparisons

How to Use Create a Stock Screener With Python for Better Investment Decisions [Tutorial]

A step-by-step tutorial to create a stock screener with Python, covering data sourcing, filter logic, and output to find undervalued stocks.

7 min read

Tool Comparisons

Morningstar by the Numbers: A Data Analysis for Investors

Morningstar is one of the most recognized names in investment research. This data analysis breaks down what the platform actually offers, what it costs, and how it compares to.

9 min read

Tool Comparisons

Wisesheets Alternative: Why ValueMarkers Offers More

If you use Wisesheets to pull stock data into Excel or Google Sheets, you already understand its fundamental appeal: custom functions automatically...

9 min read

Tool Comparisons

Gurufocus Undervalued Stocks: What the Data Tells Value Investors

Gurufocus undervalued stocks flags use the GF Value metric to surface potential discounts. This analysis explains what the data actually shows, which signals hold up historically.

8 min read

Tool Comparisons

Free Advanced Stock Screener: A Step-by-Step Tutorial for Investors

A step-by-step tutorial on using a free advanced stock screener. Covers Piotroski F-Score, EV/EBITDA, ROIC, and multi-factor filter logic for serious fundamental analysis.

8 min read

Tool Comparisons

Analyzing Marketwatch Watchlist: Data-Driven Insights for Investors

A data-driven breakdown of the Marketwatch watchlist feature, how it compares to alternatives, and what the numbers behind your tracked stocks actually tell you.

10 min read

Weekly Stock Analysis - Free

5 undervalued stocks, fully modeled. Every Monday. No spam.

Cookie Preferences

We use cookies to analyze site usage and improve your experience. You can accept all, reject all, or customize your preferences.