OPEN-SOURCE SCRIPT
Daily 20/40 EMA Cross Screener (Confirmed Daily)

Description:
This indicator screens for daily 20/40 EMA crossovers, designed specifically to work seamlessly with TradingView’s Pine Screener. It calculates signals and metrics on the closed daily bar only — ensuring non-repainting, stable screener values.
Features:
✅ Long Signal: triggered when 20-day EMA crosses above 40-day EMA on the daily close.
⏳ Days Since Long: counts the number of trading days since the most recent bullish crossover.
📈 ATR% (20-day): measures average volatility as a percentage of price.
💵 Average $ Volume (20-day): filters for liquidity to focus on higher-quality setups.
How to use:
Add the indicator to your chart and Favorite it.
Open Pine Screener (Daily timeframe).
Filter by:
Long = 1 for active bullish signals
DaysSinceLong (e.g., < 3) to find fresh breakouts
AvgATR%_20d to define volatility ranges
Avg$Volume_20d for liquidity thresholds.
Perfect for trend-following and momentum traders looking to catch early daily trend shifts with strong volume and clean confirmation.
This indicator screens for daily 20/40 EMA crossovers, designed specifically to work seamlessly with TradingView’s Pine Screener. It calculates signals and metrics on the closed daily bar only — ensuring non-repainting, stable screener values.
Features:
✅ Long Signal: triggered when 20-day EMA crosses above 40-day EMA on the daily close.
⏳ Days Since Long: counts the number of trading days since the most recent bullish crossover.
📈 ATR% (20-day): measures average volatility as a percentage of price.
💵 Average $ Volume (20-day): filters for liquidity to focus on higher-quality setups.
How to use:
Add the indicator to your chart and Favorite it.
Open Pine Screener (Daily timeframe).
Filter by:
Long = 1 for active bullish signals
DaysSinceLong (e.g., < 3) to find fresh breakouts
AvgATR%_20d to define volatility ranges
Avg$Volume_20d for liquidity thresholds.
Perfect for trend-following and momentum traders looking to catch early daily trend shifts with strong volume and clean confirmation.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.