QuantitativeExhaustion

[RS][JR]RSI Donchian Channels

RSI Donchian Channels

Built by Ricardo and JR

Here is a great indicator to use for strong trends. Donchian Channels react immediately to changes in the highest high and lowest low. For strong trends you want to trade when RSI is set along the upper or lower DC-RSI envelope. When the RSI releases from the DC-RSI envelope, you can take the trade off.

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?
study(title="[RS][JR]RSI Donchian Channels", shorttitle="[RS][JR]RSI DC", overlay=false)
src = input(defval=close, type=source, title="RSI Source:")
rsi_length = input(defval=14, minval=1, title="RSI Period Length:")
donchian_length = input(20, minval=1, title="Donchian Lookback Period Length:")

rsi1 = rsi(src, rsi_length)

lower = lowest(rsi1, donchian_length)
upper = highest(rsi1, donchian_length)
basis = avg(upper, lower)

plot(rsi1, color=aqua)
l = plot(lower, color=blue)
u = plot(upper, color=blue)
plot(basis, color=orange)
fill(u, l, color=blue)

hline(0)
hline(50)
hline(100)