zavaUnni

resistances and divergence[zavaUnni]


Select from selectable settings: rsi, cci, mfi, or stochstic
The default indicator is set to cci.


When you select an indicator in Settings, you can see the diversity that occurs in that indicator.


Resistance fills the histogram in yellow; the stronger the resistance, the higher the saturation.


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 * volume)
ifpricebear = open-(open*a_sma * 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.


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.
e value is as follows

Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?