A stock that has fallen hard in a week is not automatically a bargain. A stock that looks cheap on earnings is not automatically about to rise. Each signal alone is weak, so many investors combine them: RSI tells you the price has dropped fast, and forward P/E tells you what you pay for the earnings analysts expect. This guide builds that screen on Mboum for large companies, shows how to read the result, and then reproduces it with the API.
What the two signals say
- RSI compares recent gains with recent losses on a 0 to 100 scale. Below 30 is commonly called oversold: the stock has fallen faster than it has risen.
- Forward P/E is the price divided by the earnings per share analysts expect over the next year. It is built on estimates, so it is only as good as they are, and it is negative when analysts expect a loss.
There is no official definition of a blue chip. We use size as a stand-in: market cap of at least $10 billion, which is Mboum's "Large" band (10bln to 200bln).
Build the screen
Open the Stock Screener and set these filters. Filters carry over when you switch views:
- Technical view: RSI (5D) Under 30, and Average Volume (50D) Over 1M. The volume filter drops thinly traded listings.
- Overview view: Market Cap Large (10bln to 200bln).
- Financial view: Forward P/E Under 20.
Every filter lives in the URL, so you can open the finished screen directly. After the close on November 24, 2026 it returned 91 stocks. Note that RSI (5D) is a short window and swings more than the common 14-day version. For background on the screener's views, see our screener guide.
Read the result
Passing the filters is where the work starts. Four of the 91 rows from that run, with columns from the Technical and Financial views:
Symbol Last RSI(5D) vs 200D SMA P/E (TTM) Fwd P/E
HALO $94.99 3.15 +10.59% 16.70 11.16
PFE $28.46 10.78 +5.29% 9.03 9.05
INTU $279.42 15.14 -19.29% 16.03 13.46
FSLR $148.00 8.62 -29.89% 8.79 8.59
- Where the stock sits against its 200-day average. HALO and PFE are oversold but still above the 200-day SMA, which looks like a pullback inside a longer uptrend. INTU and FSLR are far below it, so the drop is not new. Cheap after a long decline can be cheap for a reason.
- Forward P/E against trailing P/E. HALO and INTU have a forward P/E well below their trailing P/E, which means analysts expect earnings to grow. PFE's two numbers are almost equal, so no growth is priced in.
Click the RSI (5D) heading to sort, then open each quote page to read the news before you decide anything.
Get this as JSON
The website's custom filters are not available through the API. The API has a preset screen instead: GET /v2/markets/screener?filter=rsi_oversold (weight 2, 20 rows per page). It uses a 20-day RSI below 30 and a 5-day loss above 5% among actively traded stocks, and it has no size filter. Its columns also have no forward P/E, so the script below takes size and forward P/E from the quotes endpoint (marketCap, forwardPE, weight 2, up to 200 symbols per call), then confirms the survivors with a 14-period RSI from /v1/markets/indicators/rsi (weight 2).
import requests
API_KEY = "YOUR_MBOUM_API_KEY"
BASE = "https://api.mboum.com"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
MIN_MARKET_CAP = 10_000_000_000 # our "blue chip" cutoff: $10B or more
MAX_FORWARD_PE = 20
def get(path, **params):
resp = requests.get(BASE + path, headers=HEADERS, params=params, timeout=30)
resp.raise_for_status()
data = resp.json()
if data.get("success") is False:
raise SystemExit(f"No data returned: {data.get('message')}")
return data
def oversold_rsi():
"""Page through the rsi_oversold screen and return {symbol: 20-day RSI}."""
found, page = {}, 1
while True:
data = get("/v2/markets/screener", filter="rsi_oversold",
metricType="technical", page=page)
for row in data["body"]:
found[row["symbol"]] = float(row["relativeStrength20d"])
if page * 20 >= int(data["meta"]["total"]):
return found
page += 1
def get_quotes(symbols):
quotes = []
for i in range(0, len(symbols), 200): # up to 200 symbols per call
data = get("/v1/markets/stock/quotes", ticker=",".join(symbols[i:i + 200]))
quotes += data["body"]
return quotes
def rsi14(symbol):
data = get("/v1/markets/indicators/rsi", ticker=symbol, interval="1d",
series_type="close", time_period=14, limit=1)
return data["body"][-1]["RSI"] # oldest first, so the last item is the latest
def main():
rsi20 = oversold_rsi()
picks = []
for q in get_quotes(list(rsi20)):
cap, fpe = q.get("marketCap"), q.get("forwardPE") # missing for loss-makers
if cap and fpe and cap >= MIN_MARKET_CAP and 0 < fpe <= MAX_FORWARD_PE:
picks.append(q)
picks.sort(key=lambda q: q["forwardPE"])
print(f"{len(rsi20)} oversold, {len(picks)} pass the size and valuation filters")
print(f"{'Symbol':<7}{'Price':>9}{'Cap $B':>9}{'Fwd P/E':>9}{'RSI20':>7}{'RSI14':>7} Analysts")
for q in picks:
sym = q["symbol"]
print(f"{sym:<7}{q['regularMarketPrice']:>9.2f}{q['marketCap'] / 1e9:>9.1f}"
f"{q['forwardPE']:>9.1f}{rsi20.get(sym, float('nan')):>7.1f}"
f"{rsi14(sym):>7.1f} {q.get('averageAnalystRating', '-')}")
if __name__ == "__main__":
main()
This is the real output from November 24, 2026:
305 oversold, 10 pass the size and valuation filters
Symbol Price Cap $B Fwd P/E RSI20 RSI14 Analysts
TPL 251.40 17.3 3.4 28.1 24.0 -
PBR 15.67 101.0 3.8 26.0 19.8 1.6 - Buy
MSTR 77.55 33.0 4.5 29.4 24.6 1.3 - Strong Buy
VALE 9.37 39.9 5.2 26.2 24.0 2.4 - Buy
YPF 31.71 12.5 5.3 24.7 21.7 1.8 - Buy
EC 12.93 26.6 7.0 25.4 19.2 3.5 - Hold
BG 84.06 16.2 7.6 28.0 24.2 1.6 - Buy
VOD 13.44 31.1 8.5 28.1 22.7 2.6 - Hold
BIDU 63.51 21.6 10.7 28.6 26.9 1.7 - Buy
ADM 64.90 30.9 11.6 28.2 24.9 -
That run made 28 calls and used 56 requests: 16 screener pages, 2 quotes calls and 10 RSI calls. Of 305 oversold stocks, only 10 are large and cheap enough. The 14-period RSI reads lower than the screener's 20-day value on every row, so do not treat the two as the same number. A market cap cutoff also lets in names few people call blue chips, so read the list as candidates, not a finished answer.
Best practices
- Handle missing fields. Some companies have no
forwardPEkey, loss-makers can show a negative one, and some rows have no analyst rating. The script uses.get()and requires a positive forward P/E. - Page through the screen. Rows come back in alphabetical order, so the first page is not the most oversold. The script reads
meta.totalto know when to stop. - Fetch once and reuse. Run the scan after the close and keep the result instead of repeating it.
- Treat oversold as a prompt. A stock can stay oversold, and a low forward P/E can mean analysts' estimates are too high and about to be cut.
Next steps
Change MIN_MARKET_CAP and MAX_FORWARD_PE to match your own idea of a blue chip. Every parameter is in the API documentation, and you can get a free key at mboum.com/pages/api.
The data is for information only. It is not investment advice.