OPEN-SOURCE SCRIPT

EMA + RSI Trend Strength v6

101
✅ Indicator Name:
EMA + RSI Trend Strength v6

📌 Purpose:
This indicator combines trend detection (via EMA) with momentum confirmation (via RSI) to help traders identify high-probability bullish or bearish conditions. It also provides optional visual buy/sell signals and trend shading directly on the chart.

⚙️ Core Components:
1. Inputs:
emaLen: Length of the Exponential Moving Average (default: 50).

rsiLen: RSI period for momentum analysis (default: 14).

rsiOB, rsiOS: RSI levels for context (default: 70/30, but mainly 50 is used for trend strength).

showSignals: Toggle for showing entry signals.

2. Logic:
Bullish Condition:

Price is above the EMA

RSI is above 50 (indicating positive momentum)

Bearish Condition:

Price is below the EMA

RSI is below 50

3. Visuals & Outputs:
EMA Line: Orange line on the price chart showing the trend direction.

Buy Signal: Green triangle appears below the candle when bullish condition is met.

Sell Signal: Red triangle appears above the candle when bearish condition is met.

Background Color:

Light green when bullish

Light red when bearish

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。