INVITE-ONLY SCRIPT

Oscillator Divergence Histogram

已更新
Identify Divergences on 6 oscillators simultaneously.
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.
版本注释
V1.01
Minor code fix
Video on use
版本注释
V1.02
-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
版本注释
V1.03
-Added new label color for dark theme.
版本注释
V1.05
Major code clean
版本注释
V1.06
I add an option (X) to require candle close for plots and alerts (this is mainly useful for the alerts)
Bearish PatternsBullish PatternsCentered OscillatorsDivergencedivergencesElder's Force Index (EFI)macdivergenceOscillatorsrsi_divergenceTrend Analysis

仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请联系SemiQuant了解更多信息,或按照以下作者的说明操作。

TradingView不建议付费使用脚本,除非您100%信任作者并了解脚本的工作原理。在许多情况下,您可以在我们的社区脚本免费找到不错的开源替代方案。

作者的说明

想在图表上使用此脚本?

警告:请在申请访问权限之前阅读

免责声明