OPEN-SOURCE SCRIPT
Aggiornato VB Finviz-style MTF Screener

📊 VB Multi-Timeframe Stock Screener (Daily + 4H + 1H)
A structured, high-signal stock screener that blends Daily fundamentals, 4H trend confirmation, and 1H entry timing to surface strong trading opportunities with institutional discipline.
🟦 1. Daily Screener — Core Stock Selection
All fundamental and structural filters run strictly on Daily data for maximum stability and signal quality.
Daily filters include:
This layer acts like a Finviz-style engine, identifying stocks worth trading before momentum or timing is considered.
🟩 2. 4H Trend Confirmation — Momentum Check
Once a stock passes the Daily screen, the 4-hour timeframe validates trend strength:
This removes structurally good stocks that are not in a healthy trend.
🟧 3. 1H Entry Alignment — Timing Layer
The Hourly timeframe refines near-term timing:
🔼 Price above 1H MA
📉 Short-term upward movement detected
This step ensures the stock isn’t just good on paper—it’s moving now.
🧪 MTF Debug Table (Your Transparency Engine)
A live diagnostic table shows:
Perfect for tuning thresholds or understanding why a ticker qualifies or fails.
🎯 Who This Screener Is For
By combining Daily fundamentals, 4H trend structure, and 1H momentum, this screener filters the market down to the stocks that are strong, aligned, and ready.
A structured, high-signal stock screener that blends Daily fundamentals, 4H trend confirmation, and 1H entry timing to surface strong trading opportunities with institutional discipline.
🟦 1. Daily Screener — Core Stock Selection
All fundamental and structural filters run strictly on Daily data for maximum stability and signal quality.
Daily filters include:
- 📈 Average Volume & Relative Volume
- 💲 Minimum Price Threshold
- 📊 Beta vs SPY
- 🏢 Market Cap (Billions)
- 🔥 ATR Liquidity Filter
- 🧱 Float Requirements
- 📘 Price Above Daily SMA50
- 🚀 Minimum Gap-Up Condition
This layer acts like a Finviz-style engine, identifying stocks worth trading before momentum or timing is considered.
🟩 2. 4H Trend Confirmation — Momentum Check
Once a stock passes the Daily screen, the 4-hour timeframe validates trend strength:
- 🔼 Price above 4H MA
- 📈 MA pointing upward
This removes structurally good stocks that are not in a healthy trend.
🟧 3. 1H Entry Alignment — Timing Layer
The Hourly timeframe refines near-term timing:
🔼 Price above 1H MA
📉 Short-term upward movement detected
This step ensures the stock isn’t just good on paper—it’s moving now.
🧪 MTF Debug Table (Your Transparency Engine)
A live diagnostic table shows:
- All Daily values
- All 4H checks
- All 1H checks
- Exact PASS/FAIL per condition
Perfect for tuning thresholds or understanding why a ticker qualifies or fails.
🎯 Who This Screener Is For
- Swing traders
- Momentum/trend traders
- Systematic and rules-based traders
- Traders who want clean, multi-timeframe alignment
By combining Daily fundamentals, 4H trend structure, and 1H momentum, this screener filters the market down to the stocks that are strong, aligned, and ready.
Note di rilascio
📌 Change Log – VB Finviz-Style Daily Screener (Latest Update)🆕 1. Added Intraday Trend Alignment Filter (Local Price > Daily EMA-200)
Introduced an optional multi-timeframe rule requiring the active chart’s timeframe
(4H, 2H, 1H, or any smaller TF) to maintain price above the Daily EMA-200.
This ensures intraday signals only align with the higher-timeframe trend bias.
🛠 2. Entire Daily Engine Hard-Locked to Daily Timeframe
All core screen conditions (volume, relative volume, beta, ATR, SMA-50, gap, market cap, float)
are now computed exclusively through request.security(..., "D", ...).
This guarantees consistent results across all chart timeframes and eliminates TF-drift issues.
📊 3. Relative Volume Standardized to 50-Day Lookback
Daily RV is now calculated as:
Current Daily Volume / 50-day Daily Average Volume
This aligns with institutional volume screening conventions and improves reliability.
📦 4. Introduced New Debug Table Row for EMA-200 Alignment
Added a dedicated row showing:
Local timeframe close
Daily EMA-200
PASS / FAIL alignment status
Improves transparency when analyzing intraday vs. daily conditions.
🔧 5. Updated On-Chart Output Label
Outcome label revised to:
POST PASS (DAILY + EMA200)
POST FAIL (DAILY + EMA200)
Reflects the combined daily screening + intraday trend alignment logic.
🧹 6. Cleaned All Default Inputs (Numbers Only)
All numeric inputs standardized to plain numeric values
(e.g., 1000000.0 instead of formatted values).
This avoids Pine parsing issues and improves user clarity.
💡 7. Codebase Simplification & Reliability Improvements
Removed residual local timeframe dependencies in daily calculations.
Consolidated daily computations into atomic, single-source expressions.
Ensured all daily filters behave deterministically regardless of chart TF.
✔ Final Result
The screener now behaves exactly as intended:
Daily rules never change no matter the chart timeframe
Intraday charts apply the Daily EMA-200 alignment rule
Debug table shows full transparency for every decision
Output label reflects both the daily and intraday logic in one glance
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.