eldeivit

Volume RSI

This is a script about the RSI for the Volume Trend, with this indicator we can help us to watch the force of a volume trend (not price). Some times this can help us to clarify the change of the direction.

This is a continuation of the:

ideas, comments and suggestions (or corrections).They are always welcome
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

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 đồ?
//@version=2
study("Volume RSI", shorttitle="VRSI")
//Volume RSI
//Analisis de resistencia relativa para la tendencia del Volumen
// devicemxl --> TradingView Site
/// INPUTS
sh = input(14, title="RSi",minval=1)
lo = input(28, title="Signal",minval=1)
smo = input(1, title="Smooth",minval=1)
/// Values

volumex=volume//*(close>close[1] ? 1 : -1)
V_OPEN  = V_CLOSE[1]
V_CLOSE = close*volumex
V_HIGH  = max(max(high*volumex,V_CLOSE),V_OPEN)
V_LOW   = min(min(low*volumex,V_OPEN),V_CLOSE)
V_HL2   = ( V_HIGH + V_LOW ) / 2

RS1=rsi(V_CLOSE,sh)
RS2=wma(RS1,smo)
RS3=sma(RS2,lo)
//
plot(RS2,color = #FA8072, linewidth=2)
plot(RS3,color = blue)
//
hline(50, title="Axis", color=gray, linestyle=dashed,linewidth=2)
sc=hline(60, title="Climax", color=silver, linestyle=dotted)
ei=hline(70, title="", color=silver, linestyle=solid)
sv=hline(40, title="Exaust", color=silver, linestyle=dotted)
pp=hline(30, title="", color=silver, linestyle=solid)
fill(ei,pp, color=silver)
fill(sc,sv, color=gray)