OPEN-SOURCE SCRIPT
Multi-Timeframe Entry OK

This indicator performs a multi-timeframe trend-and-momentum check across three timeframes—Daily (“D”), 4-hour (“240”), and 1-hour (“60”). For each timeframe it verifies:
• EMA(9) > EMA(20)
• MACD histogram > 0 (MACD parameters 12,26,9)
If all three timeframe conditions are true, it returns 1; otherwise it returns 0.
Use case:
1. Save and publish this script with “Add to Screener” enabled.
2. In Crypto Screener, go to Filters → Custom and add “Multi-Timeframe Entry OK”.
3. Filter for “Multi-Timeframe Entry OK == 1” to automatically extract symbols that satisfy EMA and MACD trend alignment on Daily, 4H, and 1H.
Parameters:
– EMA periods fixed at 9 and 20
– MACD fixed at 12,26,9
– No external inputs required
This automates multi-timeframe AND logic, ensuring only symbols with aligned trend and momentum on longer and shorter timeframes appear in your screener.
• EMA(9) > EMA(20)
• MACD histogram > 0 (MACD parameters 12,26,9)
If all three timeframe conditions are true, it returns 1; otherwise it returns 0.
Use case:
1. Save and publish this script with “Add to Screener” enabled.
2. In Crypto Screener, go to Filters → Custom and add “Multi-Timeframe Entry OK”.
3. Filter for “Multi-Timeframe Entry OK == 1” to automatically extract symbols that satisfy EMA and MACD trend alignment on Daily, 4H, and 1H.
Parameters:
– EMA periods fixed at 9 and 20
– MACD fixed at 12,26,9
– No external inputs required
This automates multi-timeframe AND logic, ensuring only symbols with aligned trend and momentum on longer and shorter timeframes appear in your screener.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。