PROTECTED SOURCE SCRIPT
resistances and divergence[zavaUnni]

[Basic indicators]
Select from selectable settings: rsi, cci, mfi, or stochstic
The default indicator is set to cci.
[Divergence]
When you select an indicator in Settings, you can see the diversity that occurs in that indicator.
https://www.tradingview.com/x/qnsBRcUA/
[Sign of resistance]
Resistance fills the histogram in yellow; the stronger the resistance, the higher the saturation.
https://www.tradingview.com/x/4FtGrK1P/
[How to calculate resistance]
If the volume is large but the change rate of candlestic(spred_rate) is not large, it means resistance has occurred.
It is a method of finding anomalies in the spred_rate and volume relationship.
After obtaining the accumulated spred_raterelative to the accumulatedvolume value,
we calculated that the larger the difference is, the larger the resistance value.
The formula with the resistanc
a_sma = ta.cum(spred_rate)/ta.cum(volume)
ifpricebull = open+(open*a_sma[1] * volume)
ifpricebear = open-(open*a_sma[1] * volume)
bullD = close>ifpricebull or close<ifpricebear? 0 : math.abs(ifpricebull-close)/ifpricebull
bearD = close>ifpricebull or close<ifpricebear? 0 : math.abs(ifpricebear-close)/close
This calculated resistance index was percentaged based on the highest value over the period and then reflected in the color saturation.
[MA trend bar]
If the short length of ma is above the long length of ma, it is reported as an upward trend and marked in green on the top bar
In the opposite case, the bottom bar is marked in red.
The narrower the separation between short length and long length, the more transparent the color becomes.
https://www.tradingview.com/x/WzpxTf8N/e value is as follows
https://www.tradingview.com/x/nFUQfTsx/
Select from selectable settings: rsi, cci, mfi, or stochstic
The default indicator is set to cci.
[Divergence]
When you select an indicator in Settings, you can see the diversity that occurs in that indicator.
https://www.tradingview.com/x/qnsBRcUA/
[Sign of resistance]
Resistance fills the histogram in yellow; the stronger the resistance, the higher the saturation.
https://www.tradingview.com/x/4FtGrK1P/
[How to calculate resistance]
If the volume is large but the change rate of candlestic(spred_rate) is not large, it means resistance has occurred.
It is a method of finding anomalies in the spred_rate and volume relationship.
After obtaining the accumulated spred_raterelative to the accumulatedvolume value,
we calculated that the larger the difference is, the larger the resistance value.
The formula with the resistanc
a_sma = ta.cum(spred_rate)/ta.cum(volume)
ifpricebull = open+(open*a_sma[1] * volume)
ifpricebear = open-(open*a_sma[1] * volume)
bullD = close>ifpricebull or close<ifpricebear? 0 : math.abs(ifpricebull-close)/ifpricebull
bearD = close>ifpricebull or close<ifpricebear? 0 : math.abs(ifpricebear-close)/close
This calculated resistance index was percentaged based on the highest value over the period and then reflected in the color saturation.
[MA trend bar]
If the short length of ma is above the long length of ma, it is reported as an upward trend and marked in green on the top bar
In the opposite case, the bottom bar is marked in red.
The narrower the separation between short length and long length, the more transparent the color becomes.
https://www.tradingview.com/x/WzpxTf8N/e value is as follows
https://www.tradingview.com/x/nFUQfTsx/
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.