OPEN-SOURCE SCRIPT

RSI + EMA/WMA + MACD + Volume/OBV (Tùy chỉnh đầy đủ)

240
🧭 Indicator Name: RSI + EMA/WMA + MACD + Volume/OBV (Fully Customizable)
🔍 Purpose:
This indicator combines several key technical analysis tools in one custom panel (separate tab):

RSI with EMA & WMA smoothing

MACD + divergence detection

Volume or OBV Oscillator (toggle option)

Complete input customization for all components

📐 Included Components:
✅ RSI + EMA/WMA
RSI calculated with user-defined period (default: 7)

Two moving averages applied to RSI:

EMA (default: 9)

WMA (default: 45)

Both plotted on the RSI chart

RSI background zone colors:

Overbought/oversold: 80/70 and 30/20

Neutral zone: 40–60 gray background

✅ EMA vs WMA Cross Alerts on RSI
Alert when WMA crosses above EMA (bullish)

Alert when WMA crosses below EMA (bearish)

✅ MACD
MACD line = EMA(fast) − EMA(slow)

Signal line = EMA(MACD)

Histogram = MACD − Signal

Optional bullish and bearish divergence detection using lookback candles

✅ Volume or OBV Oscillator
Choose between:

Standard volume histogram, or

OBV Oscillator (EMA(12) − EMA(26) of OBV)

⚙️ Customizable Inputs:
You can modify:

RSI length

EMA/WMA length for RSI

MACD fast/slow/signal lengths

Divergence lookback candles

Choose to show/hide: RSI, EMA, WMA, MACD, Volume, or OBV Oscillator

📌 Display Info:
This indicator plots in a separate pane, not overlayed on price

Clear visual styling for analysis zones, lines, and histograms

Works well with other overlayed indicators like multi-timeframe dashboards

Would you like a merged version of this with your RSI Multi-Timeframe Table on chart?
Let me know and I’ll combine them cleanly into one script.

免責聲明

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