INVITE-ONLY SCRIPT

multiple consecutive regular divergences

This indicator helps you to display multiple consecutive regular divergences.

- Ability to detect single, double and triple divergences (consecutive divergences)

A (bearish) single divergence occurs when the price peaks higher than the previous peak, but the oscillator value (e.g. RSI) decreases.
These conditions are a sign of reduced demand and there is a possibility of a price drop.
https://www.tradingview.com/x/DsJgMdvj/

Although a single divergence indicates a decrease in demand, it alone cannot be a strong signal of change in price direction.
Sometimes after a divergence, we see the formation of another divergence. The price continues to grow and experience a higher peak, while the RSI value continues to decrease.
The formation of the second divergence (double divergence) indicates a further decrease in buyers and this signal will be more reliable.
In addition to single divergence, this indicator can also identify double and triple divergences.
https://www.tradingview.com/x/0CcX05FT/
multiple divergences are shaping after one another and can potentially improve the signal quality, compared to single divergences.
The pivot at the beginning of each divergence coincides with the pivot at the end of the previous divergence.


Check the divergence between the current pivot and all previous pivots in the desired range and not being limited to the previous pivot

Most divergence detection indicators measure divergence conditions between the current peak (valley) and only the previous peak (valley), so some divergences may not be correctly detected due to some internal minor peaks (valleys).
But in this indicator, the current peak (valley) is compared with all previous peaks (valleys).
https://www.tradingview.com/x/VqBjk3dt/

optional parameters

A candle is considered as a peak (valley) whose high (low) value is higher (lower) than 5 candles before and after it. This number (pivot period) can be changed from the indicator settings.
At the last peak to receive the signal, 5 candles should be formed after the peak to have a fixed peak, which may lead to a delay in the signal. For faster detection of divergence, the number of candles required to stabilize the last peak (last pivot confirm candles) is optional and can be considered different from the pivot period.

In order to eliminate divergences that occur between two very close or very far peaks (valleys), you can change the minimum and maximum allowed distance between two peaks (valleys).

The divergence line drawn between the two peaks may touch the candles between the two peaks.
If the rejected touch is in the candle mode, any collision of the divergence line with any middle candle will cause rejection of the divergence.
But if the rejected touch is in body mode, the collision of the divergence line with the shadow of the candles is ineffective in detecting the divergence, and only the collision of the divergence line with the body of the candles will reject the divergence.
https://www.tradingview.com/x/vQZ4SGys/

Optional oscillator for divergence detection
Instead of RSI oscillator, you can also use CCI or MACD. The settings of each oscillator can also be changed.

Setting alarms and receiving alerts when divergence is confirmed

Draw three divergences in three different colors



DivergenceTrend Analysis

仅限邀请脚本

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

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

作者的说明

To access the indicator, send a private message: t.me/kheirandish_v , instagram.com/kheirandish_v , tradingview.com/u/kheirandish_v . For more information, please refer to the following link on https://youtu.be/gI-Qg6qy1pA

想在图表上使用此脚本?

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

更多:

免责声明