Methodology

How every named screen on QUANTSCASE is computed. Rules are applied to end-of-day NSE cash equities after the session closes. Parameters below are the production defaults unless a screen page states otherwise.

For informational and educational purposes only. Not investment advice. QUANTSCASE is a stock screener, not a SEBI-registered investment adviser, research analyst, or portfolio manager. Terms

Universe & liquidity

  • Universe: ~1,800+ NSE cash equities with EOD OHLC coverage (Dhan-backed pipeline).
  • Indicators: pre-computed on daily bars (typical defaults — RSI 14, MACD 12/26/9, ADX 14, SuperTrend ATR multiplier 3 on period 10 unless a screen documents a different setting).
  • Liquidity: interactive tables and SEO previews prefer liquid names (market cap roughly ≥ ₹500 Cr where fundamentals are available). Illiquid prints can still exist in the raw warehouse; public HTML previews suppress junk when possible.
  • As-of: each table shows the session date that was computed — not live ticks.

What screens deliberately do not do

  • No price targets, stop-loss advice, or position sizing.
  • No claimed win rates or “average annual returns” unless a reproducible backtest page says otherwise.
  • No SEBI ratings, research reports, or “buy/sell” labels.
  • No substitution for reading filings, news, or your own risk rules.

Screen catalogue

Momentum

Momentum and trend strength (Dhan OHLC + Supabase indicators)

  • Stocks in confirmed multi-timeframe uptrend — EMA bull stack, SuperTrend uptrend, ADX ≥ 20, price above SMA200.

    Rule: ema_bull_stack=1 ∧ supertrend_dir=1 ∧ adx_14≥20 ∧ pct_above_sma200≥0. Sort: ADX DESC.

  • Price breaking Donchian 20-day high with volume confirmation — within 5% of 52W high, volume ≥ 1.5× average.

    Rule: close≥donchian_upper_20 ∧ pct_from_52wh≥-5 ∧ vol_ratio_20d≥1.5. Sort: vol_ratio DESC.

  • Fresh MACD bullish cross with MACD above zero — RSI 45–70 sweet spot and rising RSI slope.

    Rule: macd_bull_cross=1 ∧ macd_above_zero=1 ∧ 45≤RSI≤70 ∧ rsi_slope_5d≥0. Sort: macd_histogram DESC.

  • RSI 55–75 momentum zone with rising slope — ROC acceleration (ROC10 > ROC21) optional.

    Rule: 55≤RSI≤75 ∧ rsi_slope_5d≥0 ∧ roc_10≥3. Optional: roc_10>roc_21. Sort: rsi_slope DESC.

  • Volume ≥ 2× average, OBV slope positive, ROC10 ≥ 2% — optional MACD bullish and OBV at 20D high.

    Rule: vol_ratio_20d≥2 ∧ obv_slope_10d>0 ∧ roc_10≥2. Optional: macd_above_zero, obv_20d_high. Sort: vol_ratio DESC.

Reversal

Oversold bounces, overbought exhaustion, BB mean reversion, MACD reversals

  • RSI + Stochastic + Williams all oversold — triple oversold bounce setup. Typical: 10–35 stocks daily.

    Rule: RSI ≤ 35 and Stochastic %K ≤ 25 and Williams %R ≤ -75 and MFI ≥ 20. Optional: RSI slope ≥ 0.

  • Price at or below lower Bollinger Band with CCI oversold — snap-back candidate. Typical: 15–50 stocks daily.

    Rule: BB %B ≤ 10 and CCI ≤ -100 and RSI ≥ 25 and keltner_squeeze = 0 (bands expanded).

  • RSI + CCI + Stochastic all overbought — potential exit or short setup. Typical: 8–25 stocks daily.

    Rule: RSI ≥ 72 and Stochastic %K ≥ 80 and CCI ≥ 150 and MFI ≥ 75. Optional: RSI slope ≤ 0.

  • MACD death cross (sell) or bullish recovery (buy) — trend change signal. Toggle direction for clean results.

    Rule: Bearish: death_cross=1 OR (macd_histogram<0 AND macd_above_zero=0). Bullish: macd_bull_cross=1 AND macd_above_zero=0.

  • Price at or above upper Bollinger Band with CCI overbought — statistically extended. Typical: 15–45 stocks daily.

    Rule: BB %B ≥ 90 and CCI ≥ 150 and RSI ≥ 65. Optional: awesome_oscillator < 0.

Trend Following

ADX power trends, SuperTrend rides, Aroon crossovers, trend deterioration, and breakdowns

  • ADX ≥ 30 with DI+ > DI- and EMA bull stack — strongest trending stocks with bulls firmly in control. Typical: 20–60 stocks daily.

    Rule: adx_14 ≥ 30 ∧ dmp_14 > dmn_14 ∧ ema_bull_stack = 1 ∧ pct_above_sma200 ≥ 0. Optional: supertrend_dir = 1. Sort: adx_14 DESC.

  • SuperTrend uptrend with ADX confirmation and price above EMA20 — strong continuation hold with clear stop level. Typical: 40–100 stocks daily.

    Rule: supertrend_dir = 1 ∧ adx_14 ≥ 20 ∧ pct_above_ema20 ≥ 0. Optional: supertrend_fresh_buy = 1, ema_bull_stack = 1. Sort: adx_14 DESC.

  • Aroon Up dominant (≥ 70), Aroon Down suppressed (≤ 30) — new uptrend establishing with RSI confirmation. Typical: 25–70 stocks daily.

    Rule: aroon_up ≥ 70 ∧ aroon_down ≤ 30 ∧ adx_14 ≥ 15 ∧ rsi_14 ≤ 75. Optional: pct_above_sma200 ≥ 0. Sort: (aroon_up − aroon_down) DESC.

  • DI- overtaking DI+ with ADX still elevated — early warning for trend reversals and exits. Typical: 10–30 stocks daily.

    Rule: dmn_14 > dmp_14 ∧ adx_14 ≥ 20. Optional: supertrend_dir = −1, death_cross = 1, pct_above_sma200 < 0. Sort: adx_14 DESC.

  • SuperTrend flipped bearish with DI- > DI+ and ADX confirmation — trend has changed, potential sustained downside. Typical: 5–20 stocks daily.

    Rule: supertrend_dir = −1 ∧ dmn_14 > dmp_14 ∧ adx_14 ≥ 15. Optional: pct_above_sma200 ≤ 0. Sort: adx_14 DESC.

Volatility & Squeeze

Keltner squeeze, NR7 compression, BB historical squeeze, volatility expansion, low-vol trends

  • BB inside Keltner Channel with historically tight bands — volatility coiled at extreme. Pre-breakout watchlist. Typical: 30–80 stocks daily.

    Rule: keltner_squeeze = 1 ∧ bb_width_pct_rank ≤ 20 ∧ adx_14 ≤ 25. Optional: atr_pct ≤ 2%. Sort: bb_width_pct_rank ASC.

  • Narrowest range in 7 days with low ATR% — high-probability explosive move setup. Pre-breakout watchlist. Typical: 20–60 stocks daily.

    Rule: nr7_flag = 1 ∧ atr_pct ≤ 3%. Optional: keltner_squeeze = 1, daily_range_pct ≤ 2%. Sort: atr_pct ASC.

  • BB width rank in bottom 10th percentile — statistically extreme compression over 50 bars. Typical: 15–40 stocks daily.

    Rule: bb_width_pct_rank ≤ 10 ∧ adx_14 ≤ 20 ∧ hv_20 ≤ 30%. Optional: keltner_squeeze = 1. Sort: bb_width_pct_rank ASC.

  • ATR surging, daily range expanding, BB bands opening up — volatility breakout in motion. Typical: 15–45 stocks daily.

    Rule: atr_pct ≥ 2% ∧ daily_range_pct ≥ 1.5% ∧ bb_width_pct_rank ≥ 70 ∧ bb_pct_b ≥ 50. Sort: atr_pct DESC.

  • Low HV + low ATR in confirmed uptrend — smooth, controlled movers ideal for positional holds. Typical: 25–60 stocks daily.

    Rule: hv_20 ≤ 25% ∧ atr_pct ≤ 2% ∧ supertrend_dir = 1 ∧ adx_14 ≥ 15 ∧ pct_above_ema20 ≥ 0. Sort: hv_20 ASC.

Volume & Accumulation

Volume dry-up, OBV divergence, unusual volume spikes, OBV peak accumulation, and distribution signals

  • Volume shrinking below 50% of average while price holds steady — silent accumulation before a move. Pre-breakout watchlist. Typical: 40–100 stocks daily.

    Rule: vol_ratio_20d ≤ 0.5 ∧ pct_above_ema20 ≥ 0. Optional: obv_slope_10d ≥ 0. Sort: vol_ratio_20d ASC.

  • OBV rising while price is flat or down — smart money accumulating before the crowd notices. Typical: 20–55 stocks daily.

    Rule: obv_slope_10d > 0 ∧ -5 ≤ roc_10 ≤ +3 ∧ vol_ratio_20d ≥ 0.8. Optional: obv_20d_high = 1. Sort: obv_slope_10d DESC.

  • Volume ≥ 2.5× average with positive price ROC — institutional or event-driven buying confirmed. Typical: 10–30 stocks daily.

    Rule: vol_ratio_20d ≥ 2.5 ∧ roc_10 ≥ 1 ∧ obv_slope_10d > 0. Optional: obv_20d_high = 1. Sort: vol_ratio_20d DESC.

  • OBV at 20-day high with positive slope and price momentum aligning — breakout imminent. Typical: 15–40 stocks daily.

    Rule: obv_20d_high = 1 ∧ obv_slope_10d > 0 ∧ roc_10 ≥ 0 ∧ vol_ratio_20d ≥ 1.0 ∧ pct_above_ema20 ≥ 0. Sort: obv_slope_10d DESC.

  • High volume on down days with OBV declining — institutional selling signal, exit or avoid. Typical: 10–25 stocks daily.

    Rule: obv_slope_10d < 0 ∧ vol_ratio_20d ≥ 1.5 ∧ roc_10 ≤ -1 ∧ obv_20d_high = 0 ∧ pct_above_ema20 ≤ 0. Sort: obv_slope_10d ASC.

Fundamental

Value, quality, and growth on reported numbers

  • Low trailing P/E (2–15) + low P/B (< 2) — Graham-style undervaluation against both earnings and book value. Typical: 60–150 stocks.

    Rule: 2 ≤ pe_ratio ≤ 15 ∧ pb_ratio ≤ 2 ∧ eps_trailing > 0 ∧ market_cap ≥ 500 Cr. Sort: pe_ratio ASC.

  • High ROE (≥ 15%) + low debt/equity (< 0.5) + healthy net margins (≥ 10%) — efficiently run, financially strong businesses. Typical: 40–100 stocks.

    Rule: roe ≥ 15% ∧ roa ≥ 8% ∧ debt_to_equity ≤ 0.5 ∧ net_profit_margin ≥ 10%. Financials excluded by default. Sort: roe DESC.

  • Revenue + net income growing YoY, confirmed by sequential quarterly trend (Q1 > Q3). Typical: 30–80 stocks.

    Rule: revenue_growth_yoy ≥ 15% ∧ net_income_growth_yoy ≥ 20% ∧ q1_revenue > q3_revenue. Sort: net_income_growth_yoy DESC.

Techno-Fundamental

A fundamental screen with a price signal on the same names

  • Cheap on P/E and P/B AND RSI momentum confirming + ADX trending — undervalued stock starting to move. Typical: 10–30 stocks.

    Rule: pe_ratio 2–15 ∧ pb_ratio ≤ 2 ∧ rsi_14 45–65 ∧ adx_14 ≥ 20 ∧ pct_above_ema20 ≥ 0. Sort: pe_ratio ASC.

  • Low P/E + Donchian 20-day high breakout + volume spike — cheap stock just being discovered by institutions. Typical: 5–15 stocks.

    Rule: pe_ratio < 20 ∧ pb_ratio < 3 ∧ close ≥ donchian_upper_20 ∧ vol_ratio ≥ 1.5×. Sort: vol_ratio DESC.

  • Accelerating revenue + earnings AND price at new highs with OBV confirmation — highest-conviction growth setup. Typical: 5–20 stocks.

    Rule: rev_growth ≥ 20% ∧ ni_growth ≥ 25% ∧ q1 > q3 ∧ close ≥ donchian ∧ obv_20d_high = 1 ∧ vol ≥ 1.5×. Sort: ni_growth DESC.

  • High ROE + clean balance sheet AND confirmed ADX uptrend with SuperTrend — quality business trending strongly. Typical: 15–40 stocks.

    Rule: roe ≥ 15% ∧ D/E ≤ 0.5 ∧ adx ≥ 25 ∧ DI+ > DI- ∧ supertrend_dir = 1. Financials excluded. Sort: adx DESC.

Breakout / Breakdown

Multi-timeframe breakout and breakdown detection across 6M, 1Y, 3Y, and 5Y price history

  • Stocks breaking out across multiple timeframes (6M, 1Y, 3Y, 5Y). Price above historical high with optional volume and consolidation confirmation. Ranked by total breakout score.

    Rule: price ≥ tf_high × 1.02 (PRICE_BREAKOUT, +3) | vol ≥ 1.5× avg_20d (VOLUME_CONFIRMED, +2) | consolidation < 10% range then break (CONSOLIDATION_BREAKOUT, +2) | momentum_20d > 5% (+1) | price_position > 90% (+1). Score ≥ 15 = VERY_STRONG, ≥ 10 = STRONG, ≥ 5 = MODERATE.

  • Stocks breaking DOWN across multiple timeframes (6M, 1Y, 3Y, 5Y). Price below historical low with optional volume and consolidation confirmation. Ranked by total breakdown score (severity).

    Rule: price ≤ tf_low × 0.98 (PRICE_BREAKDOWN, +3) | vol ≥ 1.5× avg_20d (VOLUME_CONFIRMED, +2) | consolidation < 10% range then drops below support (CONSOLIDATION_BREAK, +2) | momentum_20d < −5% (+1) | price_position < 10% (+1). Score ≥ 15 = CRITICAL, ≥ 10 = SEVERE, ≥ 5 = MODERATE.

Movers

Top gainers and losers by last trading day, split by market cap

  • Top 30 gainers and top 30 losers from the last trading day, by market cap (large, mid, small). Shows sector, sub-sector, market cap, and 1-day return.

Sectoral

Sector and sub-sector performance (market-cap weighted returns)

  • Relative Rotation Graph — visualize sector rotation across Leading, Improving, Lagging, and Weakening quadrants based on relative strength and momentum.

    Rule: X = RS-Ratio (3M sector return vs market avg, centered at 100). Y = RS-Momentum (1W relative change, centered at 100). Quadrants: Leading / Improving / Lagging / Weakening.

  • Market-cap weighted returns by sector and sub-sector over 1W, 1M, 3M, 6M, and 1Y. Best and worst performers.

  • Market-cap weighted revenue and net income growth quarter-on-quarter (QoQ) for the last 3–4 quarters by sector and sub-sector.

Volume

Unusual volume activity

Data

EOD coverage and data quality

Top Entry Stocks

Composite 4-pillar scoring (Trend + Momentum + Volume + Fundamental) with bonus pattern signals. Hard-filtered, ranked, top 20 high-conviction entry setups.

  • Composite 4-pillar screener (100 pts): Trend Structure, Momentum Quality, Volume & Accumulation, Fundamental Quality. Combines EMA bull stack, ADX, higher highs/lows, RSI zone, MACD expanding histogram, relative strength vs Nifty, OBV, volume dry-up (VCP), ROE, earnings growth. Bonus for trendline breakout, NR7/inside bar, 52W high proximity. Min score 55, top 20. 85–100 Strong conviction, 70–84 High quality, 55–69 Watchlist.

    Rule: Hard gates: mcap > 500 Cr, avg_vol_20d > 75k, close > ema_200, adx > 15, eps_growth > -25% or NULL. Pillar 1 (25): EMA bull stack, ADX 25–30+, HH/HL structure. Pillar 2 (25): RSI 55–72, MACD expanding histogram, rel strength vs Nifty. Pillar 3 (25): volume vs avg, OBV trend, VCP dry-up. Pillar 4 (25): ROE, eps_growth, D/E, current_ratio. Bonus: trendline breakout, NR7/inside bar, 52W high proximity (+5 each, max +10). Min 55, top 20.

  • Stocks sitting near a horizontal support zone tested 2–3× in the last 120 days, with early reversal signals (bullish candle, RSI oversold, volume dry-up). Target: 8–15% move in 15–25 days as price reverts from support toward resistance.

    Rule: Hard gates: mcap > 200 Cr, avg_vol_20d > 50k, support touches ≥ 2, price within 10% above support. Pillar 1 — Support Quality (40): touches (3+×=20, 2×=12), zone tightness <1.5%=12, duration 60d+=8. Pillar 2 — Setup (35): proximity <2%=20, RSI 25-40=15, vol dry-up 5d<0.7×avg=5. Pillar 3 — Reversal (15): bullish candle=8, vol expansion=4, MACD improving=3. Pillar 4 — Upside (10): target >12%=10, >8%=7, >5%=4. Bonus: above 200EMA=+5, hammer=+3. Min 50, top 25.

Exit Signals

Know when to get out. Downtrend breakdown and reversal-from-top screens to protect gains and cut losses before they compound.

  • Composite bear signal screener (100 pts): EMA bear stack, ADX trend strength, lower highs/lows, distribution volume, MACD negative expanding, relative weakness vs Nifty. Hard-filtered, top 25. 80–100 Strong exit / short, 67–79 Exit signal, 55–66 Watch.

    Rule: Hard gates: mcap > 200 Cr, avg_vol_20d > 50k, close < ema_200 OR ema_9 < ema_20. Pillar 1 — Trend Breakdown (30): full EMA bear stack=12, partial=7/3, ADX>30=10, LH+LL=8. Pillar 2 — Momentum (25): RSI<35=10, MACD negative expanding=9, weak vs Nifty-5%=6. Pillar 3 — Distribution (25): vol on red day 2×=10, OBV declining at low=9, dist vol 3d=6. Pillar 4 — Structure (20): % below ema200, near 20d low, drop from 52WH. Bonus: support breakdown=+5, gap down=+3. Min 55, top 25.

  • Reversal-from-top exit screener (100 pts): near 52W high with overbought RSI (>70), bearish candle (shooting star / engulfing), distribution volume, MACD peaking. Only stocks with >8% 20-day gain. 80–100 Strong exit, 67–79 Exit signal, 55–66 Watch.

    Rule: Hard gates: mcap > 200 Cr, avg_vol_20d > 50k, within 20% of 52WH, 20d gain > 8%. Pillar 1 — Topping (35): within 3% of 52WH=15, bearish candle body>50%=12, >20% above ema20=8. Pillar 2 — Overbought (30): RSI>72=15, RSI>65=10, MACD shrinking 3 bars=8, already negative=10. Pillar 3 — Distribution (20): high vol red day=10, OBV declining=10. Pillar 4 — Run-up (15): 20d gain >30%=15, >20%=10, >12%=5. Bonus: shooting star=+4, bearish engulfing=+4, double top=+4. Min 55, top 25.

AI Stocks

Daily AI screens for NSE stocks — an AI entry signal, a ranked list, and a high-momentum small/mid screen.

  • Composite AI entry screen: two models plus trend checks, scored out of 100. Only names scoring 50+ are listed. Higher score means a closer match to the entry rules. Informational only. Updated every trading day.

  • Daily ranked list of NSE stocks by model match (green / grey / red) and confidence. A screen of how closely each name fits the model, not a buy or sell call. Updated every trading day.

    Rule: Reads the latest CSV from final_outputs/model_classification/. 3-class output: STRONG BUY (2), HOLD (1), SELL (0). Shows prediction probabilities (prob_strong_buy, prob_hold, prob_sell) plus momentum (1W/1M/3M/6M % change). Enriched with sector, industry, market_cap from Supabase.

  • Small and mid-cap NSE names (₹500 Cr to ₹20,000 Cr) ranked by the model’s high-momentum match. A screen of recent setup strength, not a return forecast. Updated every trading day.

    Rule: Universe: NSE stocks with market_cap 500 Cr – 20,000 Cr (small + mid cap only). Forward horizon = 22 trading days. STRONG BUY: >14%. SELL: <−5%. Same RF classifier with 30-day lag features. Data from Supabase ai_model_smallmid table.

AI Bearish

Daily AI screens for bearish NSE setups — the same three models as AI Stocks, trained on downside instead of upside.

  • Bearish mirror of the ranked list. Class 2 (STRONG SELL) is a drop worse than 8.5% over the next 15 days; class 0 (BUY) is any gain. Ranked by strong-sell confidence. Updated when the bearish Colab notebook runs.

    Rule: Table ai_model_classification_bearish. 15-day forward return. STRONG SELL (2) if return < −8.5%, BUY (0) if return > 0, else HOLD. Columns: prob_strong_sell, prob_hold, prob_buy.

  • Bearish mirror of the small/mid screen (₹500 Cr to ₹20,000 Cr). STRONG SELL is a drop worse than 14% in 22 trading days; BUY is a gain above 5%. Ranked by strong-sell confidence.

    Rule: Table ai_model_smallmid_bearish. Universe market_cap 500 Cr – 20,000 Cr. 22-day forward return. STRONG SELL (2) if return < −14%, BUY (0) if return > 5%, else HOLD.

  • Bearish mirror of Model V10. A forward day is labeled SELL when price drops more than 0.8% before any +1% rise. net_signal = sell% − buy% over 22 days, so the top of the list is the strongest bearish call. Updated when the bearish Colab notebook runs.

    Rule: Table ai_model_v10_bearish. SELL threshold −0.8% checked before BUY threshold +1% across a 22-day forward window. net_signal = sell_pct − buy_pct. STRONG SELL when net_signal > 30, SELL when > 10.

Institutional Flows

Quarterly promoter % per stock with QoQ change (from NSE) + institutional holding % (FII+DII combined from Yahoo Finance), plus daily market-wide FII/DII cash flows from NSE.

  • Stocks ranked by promoter holding %. High promoter stake signals founder confidence. Low or declining promoter % warrants scrutiny. Data from Yahoo Finance (updated weekly).

  • Stocks ranked by total institutional holding % (FII + DII combined). High institutional interest indicates smart money conviction. Data from Yahoo Finance (updated weekly).

  • Stocks ranked by DII holding % change QoQ. Rising DII signals domestic institutional conviction. Data from NSE quarterly filings.

  • Daily market-wide FII and DII net cash segment flows (₹ crore) from NSE. Track which side is net buyer/seller each day and spot cumulative institutional trend shifts.

Questions about a specific rule? Contact us or read About.

Related screens & daily lists

Top gainers todayTop losers todayVolume shockersFII / DII activitySector performanceMarket breadth todayMarket pulseStrong trendOversold reversal (R1)Quality BusinessTop Gainers & Losers (1D)Sector & sub-sector returns (1W / 1M / 3M / 6M / 1Y)MomentumReversalFundamentalMoversSectoralAll NSE screeners →