OPEN-SOURCE SCRIPT

EMA + RSI Trend Strength v6

63
✅ 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

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.