Oscillator Divergence Histogram

From the bottom up.
0 to 1 (black): MACD
1 to 2 (green): Elders Force Index
2 to 3 (blue): RSI
3 to 4 (purple): Awesome Oscillator
4 to 5 (red): Commodity channel index
5 to 6 (orange): Stochastic
You can change the identification of the divergence in the settings and use the Oscillator Divergences indicator to visually see them when testing.
This detects the following divergences between price and the oscillator.
Regular Bullish Divergence: Price lower low | Oscillator higher low
Regular Bearish Divergence: Price higher high | Oscillator lower high
Hidden Bullish Divergence: Price higher low | Oscillator lower low
Hidden Bearish Divergence: Price lower high | Oscillator higher high
Early warning alert system. This identifies a developing divergence and can be used to set alerts.
Colors
Bearish: Maroon
Bullish: Green
Hidden Bearish: Light brown
Hidden Bullish: Light green
Developing early warning are lighter shades of the above.
Minor code fix
Video on use
-Fixed missing alerts
-Added possibility to alert if more than X number of oscillators have a similar divergence
Video on how to set up alerts
- Hidden Bearish Divergence on any Selected Oscillator
- Hidden Bearish Divergence Developing on any Selected Oscillator
- Regular Bearish Divergence on any Selected Oscillator
- Regular Bearish Divergence Developing on any Selected Oscillator
- Regular Bullish Divergence on any Selected Oscillator
- Regular Bullish Divergence Developing on any Selected Oscillator
- Hidden Bullish Divergence on any Selected Oscillator
- Hidden Bullish Divergence Developing on any Selected Oscillator
- Hidden Bearish Divergence on multiple oscillators >= value in input 'Alert Options 1)'
- Hidden Bearish Divergence Developing on multiple oscillators >= value in input 'Alert Options 1)'
- Regular Bearish Divergence on multiple oscillators >= value in input 'Alert Options 1)'
- Regular Bearish Divergence Developing on multiple oscillators >= value in input 'Alert Options 1)'
- Regular Bullish Divergence on multiple oscillators >= value in input 'Alert Options 1)'
- Regular Bullish Divergence Developing on multiple oscillators >= value in input 'Alert Options 1)'
- Hidden Bullish Divergence on multiple oscillators >= value in input 'Alert Options 1)'
- Hidden Bullish Divergence Developing on multiple oscillators >= value in input 'Alert Options 1)'
Link to sister indicator
Setup video Early warning alerts
-Added new label color for dark theme.
Major code clean
I add an option (X) to require candle close for plots and alerts (this is mainly useful for the alerts)
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả cho phép mới có quyền truy cập vào tập lệnh này và thường phải trả phí. Bạn có thể thêm tập lệnh vào mục yêu thích, nhưng bạn sẽ chỉ có thể sử dụng sau khi yêu cầu cấp phép và được tác giả cấp quyền — hãy tìm hiểu thêm tại đây. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với SemiQuant.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Cảnh báo: vui lòng đọc hướng dẫn của chúng tôi về các tập lệnh chỉ dành cho người được mời trước khi yêu cầu quyền truy cập.
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả cho phép mới có quyền truy cập vào tập lệnh này và thường phải trả phí. Bạn có thể thêm tập lệnh vào mục yêu thích, nhưng bạn sẽ chỉ có thể sử dụng sau khi yêu cầu cấp phép và được tác giả cấp quyền — hãy tìm hiểu thêm tại đây. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với SemiQuant.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Cảnh báo: vui lòng đọc hướng dẫn của chúng tôi về các tập lệnh chỉ dành cho người được mời trước khi yêu cầu quyền truy cập.