OPEN-SOURCE SCRIPT
Buy Signal EMA& RSI [CocoChoco]

█ OVERVIEW
This indicator is a momentum breakout tool designed for trend-following traders.
It produces buy signals (long only).
It is based on the "50-200 EMA & RSI25 crossover indicator" tradingview.com/v/cbxXe5Kf/ by rahulbalaji4574, which has been upgraded to Pine Script v6. Most importantly, I added filters to reduce false signals and improve overall timing.
The core logic ensures you only enter a trade when a long-term trend is confirmed, momentum is surging but not exhausted, and there is significant market participation (volume).
█ KEY IMPROVEMENTS & LOGIC
This version introduces several "Smart Filters" to the original base logic:
Momentum Sweet Spot: Unlike the original which only required RSI > 50, this version requires the RSI to be between 55 and 80 and actively rising. This avoids "choppy" entries and overextended "blow-off tops."
Trend Strength (ADX): An integrated ADX filter ensures the market is in a strong trend (ADX > 20) before a signal is generated.
Risk Management (ATR Trailing Stop): A dynamic trailing stop-loss based on 1.5x ATR is plotted automatically to help you manage risk and lock in profits.
Real-time Dashboard: A non-intrusive table in the bottom-right corner displays live RSI and ADX values for quick reference.
█ HOW TO USE
Look for the Signal: A large green triangle appears below a bar when all trend, momentum, and volume conditions align.
Manage the Trade: Use the plotted red line as your dynamic trailing stop-loss. If the price closes below this line, the trade is considered exited, and the stop will reset.
Confirm with the Dashboard: Check the bottom-right corner to see if the market is gaining strength (ADX) or nearing exhaustion (RSI).
█ ADJUSTING SETTINGS
You can fully customize the indicator by clicking the Settings (gear icon) next to the indicator name on your chart.
Inputs Tab: Adjust the RSI thresholds, EMA lengths, or the ATR multiplier to fit your specific asset and timeframe.
Style Tab: Change the colors of the 50/200 EMA, the trailing stop-loss line, and the signal triangles to match your chart's theme.
This indicator is a momentum breakout tool designed for trend-following traders.
It produces buy signals (long only).
It is based on the "50-200 EMA & RSI25 crossover indicator" tradingview.com/v/cbxXe5Kf/ by rahulbalaji4574, which has been upgraded to Pine Script v6. Most importantly, I added filters to reduce false signals and improve overall timing.
The core logic ensures you only enter a trade when a long-term trend is confirmed, momentum is surging but not exhausted, and there is significant market participation (volume).
█ KEY IMPROVEMENTS & LOGIC
This version introduces several "Smart Filters" to the original base logic:
Momentum Sweet Spot: Unlike the original which only required RSI > 50, this version requires the RSI to be between 55 and 80 and actively rising. This avoids "choppy" entries and overextended "blow-off tops."
Trend Strength (ADX): An integrated ADX filter ensures the market is in a strong trend (ADX > 20) before a signal is generated.
Risk Management (ATR Trailing Stop): A dynamic trailing stop-loss based on 1.5x ATR is plotted automatically to help you manage risk and lock in profits.
Real-time Dashboard: A non-intrusive table in the bottom-right corner displays live RSI and ADX values for quick reference.
█ HOW TO USE
Look for the Signal: A large green triangle appears below a bar when all trend, momentum, and volume conditions align.
Manage the Trade: Use the plotted red line as your dynamic trailing stop-loss. If the price closes below this line, the trade is considered exited, and the stop will reset.
Confirm with the Dashboard: Check the bottom-right corner to see if the market is gaining strength (ADX) or nearing exhaustion (RSI).
█ ADJUSTING SETTINGS
You can fully customize the indicator by clicking the Settings (gear icon) next to the indicator name on your chart.
Inputs Tab: Adjust the RSI thresholds, EMA lengths, or the ATR multiplier to fit your specific asset and timeframe.
Style Tab: Change the colors of the 50/200 EMA, the trailing stop-loss line, and the signal triangles to match your chart's theme.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。