PROTECTED SOURCE SCRIPT
Telah dikemas kini HDJ Multi-Divergence Trend Indicator(MACD/RSI/OBV/VOL)

HDJ Indicator is named after the initials of the Chinese name of its author. The HDJ Indicator features powerful automatic detection of multi-indicator divergences (MACD/RSI/OBV/VOL) and includes multi-timeframe resonance recognition for identifying bullish and bearish trends.
The HDJ Indicator’s view consists of three main lines:
· Price Line (Closing Price, Green/Red)
· VWAP Line (Yellow)
· EMA200 Line (Blue)
The RSI value is displayed in real-time at the top-right corner of the indicator’s view.
Usage Guide:
1. Bottom Divergence / Top Divergence
Bottom Divergence Signal: Typically appears below the Price Line (Closing Price, Red), marked with a triangle symbol (△) and the name of the diverging indicator (in Green). The △ symbol corresponds to the candlestick’s position.
Top Divergence Signal: Typically appears above the Price Line (Closing Price, Green), marked with a triangle symbol (△) and the name of the diverging indicator (in Red). The △ symbol corresponds to the candlestick’s position.
Note: A divergence signal will only be displayed if two or more indicators show divergence simultaneously. Single-indicator divergences will not trigger a marker.
2. Bull / Bear Trend
Bull Trend: When the MACD Line and Signal Line of the MACD indicator are above the zero line on the 1-minute, 5-minute, 15-minute, and 1-hour timeframes, and the current timeframe’s MACD Line crosses above the Signal Line (while also above the zero line), and the current closing price is above both VWAP and EMA200, a "×" symbol with a green "Bull Trend" label will appear. The × symbol corresponds to the candlestick’s position.
Bear Trend: When the MACD Line and Signal Line of the MACD indicator are below the zero line on the 1-minute, 5-minute, 15-minute, and 1-hour timeframes, and the current timeframe’s MACD Line crosses below the Signal Line (while also below the zero line), and the current closing price is below both VWAP and EMA200, a "×" symbol with a red "Bear Trend" label will appear. The × symbol corresponds to the candlestick’s position.
3. RSI
· RSI < 30: Displayed in Red.
· RSI ≥ 30: Displayed in Green.
中文版:
HDJ指标采用了编写该指标的本作者的中文名字首字母为命名,HDJ指标有着强大的自动识别多重指标背离的功能(MACD/RSI/OBV/VOL),同时还带了多周期共振识别看涨、看跌趋势的功能。HDJ指标视图中主要由3条线组成, 分别是 价格线(收盘价, 绿色/红色)、VWAP线(黄色)、EMA200线(蓝色), 指标视图右上角实时显示的是RSI指标值。
使用方法:
1. 底背离 / 顶背离
- 底背离信号: 一般出现在 价格线(收盘价, 红色) 的下方, 三角形符号(△)+背离的指标名称作标记(绿色), △符号对应的是K线的坐标。
- 顶背离信号: 一般出现在 价格线(收盘价, 绿色) 的上方, 三角形符号(△)+背离的指标名称作标记(红色), △符号对应的是K线的坐标。
* 注意:单个指标背离不会被触发背离标记符号显示,仅显示两个指标以上的同时背离信号标记。
2. Bull / Bear 趋势
- Bull Trend:当 1分钟、5分钟、15分钟、1小时视图MACD指标的MACD线、Single线都在0轴上方时,并且HDJ指标所在当前周期MACD指标的MACD线上穿了Single线, 同时也在MACD指标0轴上方和当前周期的价格(收盘价)大于VWAP、EMA200, 此时会显示×符号带"Bull Trend"绿色标签的信号标记,×符号对应的是K线的坐标。
- Bear Trend: 当 1分钟、5分钟、15分钟、1小时视图MACD指标的MACD线、Single线都在0轴下方时,并且HDJ指标所在当前周期MACD指标的MACD线下穿了Single线, 同时也在MACD指标0轴下方和当前周期的价格(收盘价)小于VWAP、EMA200, 此时会显示×符号带"Bear Trend"红色标签的信号标记,×符号对应的是K线的坐标。
3. RSI
- RSI值 < 30 时显示红色,RSI值 >= 30 时显示绿色。
The HDJ Indicator’s view consists of three main lines:
· Price Line (Closing Price, Green/Red)
· VWAP Line (Yellow)
· EMA200 Line (Blue)
The RSI value is displayed in real-time at the top-right corner of the indicator’s view.
Usage Guide:
1. Bottom Divergence / Top Divergence
Bottom Divergence Signal: Typically appears below the Price Line (Closing Price, Red), marked with a triangle symbol (△) and the name of the diverging indicator (in Green). The △ symbol corresponds to the candlestick’s position.
Top Divergence Signal: Typically appears above the Price Line (Closing Price, Green), marked with a triangle symbol (△) and the name of the diverging indicator (in Red). The △ symbol corresponds to the candlestick’s position.
Note: A divergence signal will only be displayed if two or more indicators show divergence simultaneously. Single-indicator divergences will not trigger a marker.
2. Bull / Bear Trend
Bull Trend: When the MACD Line and Signal Line of the MACD indicator are above the zero line on the 1-minute, 5-minute, 15-minute, and 1-hour timeframes, and the current timeframe’s MACD Line crosses above the Signal Line (while also above the zero line), and the current closing price is above both VWAP and EMA200, a "×" symbol with a green "Bull Trend" label will appear. The × symbol corresponds to the candlestick’s position.
Bear Trend: When the MACD Line and Signal Line of the MACD indicator are below the zero line on the 1-minute, 5-minute, 15-minute, and 1-hour timeframes, and the current timeframe’s MACD Line crosses below the Signal Line (while also below the zero line), and the current closing price is below both VWAP and EMA200, a "×" symbol with a red "Bear Trend" label will appear. The × symbol corresponds to the candlestick’s position.
3. RSI
· RSI < 30: Displayed in Red.
· RSI ≥ 30: Displayed in Green.
中文版:
HDJ指标采用了编写该指标的本作者的中文名字首字母为命名,HDJ指标有着强大的自动识别多重指标背离的功能(MACD/RSI/OBV/VOL),同时还带了多周期共振识别看涨、看跌趋势的功能。HDJ指标视图中主要由3条线组成, 分别是 价格线(收盘价, 绿色/红色)、VWAP线(黄色)、EMA200线(蓝色), 指标视图右上角实时显示的是RSI指标值。
使用方法:
1. 底背离 / 顶背离
- 底背离信号: 一般出现在 价格线(收盘价, 红色) 的下方, 三角形符号(△)+背离的指标名称作标记(绿色), △符号对应的是K线的坐标。
- 顶背离信号: 一般出现在 价格线(收盘价, 绿色) 的上方, 三角形符号(△)+背离的指标名称作标记(红色), △符号对应的是K线的坐标。
* 注意:单个指标背离不会被触发背离标记符号显示,仅显示两个指标以上的同时背离信号标记。
2. Bull / Bear 趋势
- Bull Trend:当 1分钟、5分钟、15分钟、1小时视图MACD指标的MACD线、Single线都在0轴上方时,并且HDJ指标所在当前周期MACD指标的MACD线上穿了Single线, 同时也在MACD指标0轴上方和当前周期的价格(收盘价)大于VWAP、EMA200, 此时会显示×符号带"Bull Trend"绿色标签的信号标记,×符号对应的是K线的坐标。
- Bear Trend: 当 1分钟、5分钟、15分钟、1小时视图MACD指标的MACD线、Single线都在0轴下方时,并且HDJ指标所在当前周期MACD指标的MACD线下穿了Single线, 同时也在MACD指标0轴下方和当前周期的价格(收盘价)小于VWAP、EMA200, 此时会显示×符号带"Bear Trend"红色标签的信号标记,×符号对应的是K线的坐标。
3. RSI
- RSI值 < 30 时显示红色,RSI值 >= 30 时显示绿色。
Nota Keluaran
Added new alert trigger conditions: Bullish Divergence, Bearish Divergence, Bullish Trend, Bearish Trend.Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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.