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.

Remove from Favorite Scripts Add to Favorite Scripts
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)
Great job! Thanks for posting. I like minimal panel space for non-overlays so turned off the 0 and 100 hlines to get good readability (uses only the vertical scale needed so no margins above and below actual plots). Thanks again and keep smiling!
Reply
Is there a way to set up alerts on this? Would like to automate a test strategy
Reply
Tom1trader SNOW_CITY
@SNOW_CITY, The alerts in tview let you pick many interactions on an indicator. On this one I would give a title to the 4 plots "upper", "lower", "basis" and "rsi" so you can pick the actions wanted in the alert you are setting up. With titles it (instead of Plot Plot Plot Plot and guessing which is which) an easy one would be rsi crossing below basis - when you are awaiting a breakdown swing for example.
Reply
Would it be possible to program this to look like a dashboard (?)

For example:
When RSI is set along the upper DC-RSI envelope - it shows green.
When RSI is set along the lower - it shows red.
When its not touching either side it's grey
+1 Reply


Version 2 with Fast Stoch and narrow DC
+4 Reply
Kryptotrade QuantitativeExhaustion
@QuantitativeExhaustion, Hi. Where can I find V2? Thanks in advance. Great work you do with these indicators. Regards
Reply


The chart published uses close default value candle. You can also use HLC3 for a more current trend trade.
+4 Reply
cool idea !
+3 Reply
EN English (UK)
EN English
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
HE עברית
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Get Help Ideas Published Followers Following Private Messages Chat Sign Out