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.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?
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)