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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。