OPEN-SOURCE SCRIPT

Donchian RSI Bands

This little mashup of mine is called the Donchian RSI Bands. It consists of two RSI's, a Donchian Channel, & Bollinger bands, which can all be turned on or off depending on your preferences.
The main RSI is set to the 7 length and the second RSI is set to the default 14 length. When used together, they form an RSI cloud.
The Bollinger Bands are set to the 35 length and use two sets of adjustable deviations to form the bands. The inner band is set to 0.25 deviation and the outside is set to 0.5. Generally, the Bollinger Bands deviation is set to 2 but for this idea, when the RSI is inside the Bollinger Bands, there's a higher possibility of chop. The stronger Bullish or Bearish trend will be when the main RSI is trending above or below the Bollinger Bands.
The RSI color is Bullish when the RSI is above the Upper Bollinger Band, Neutral when the RSI is inside the Bands, and Bearish when the RSI is below the lower Bollinger Band. The wider you adjust the Outer Band Deviation, the wider the Neutral zone will be. The width of the Bollinger Band Basis can also be adjusted so you could widen it all the way out to the Bands which will form a fully shaded channel to avoid trading when the RSI is trending inside.
The Donchian Channel is set to 70, which 2x the Bollinger Band length. I use it for longer term trends and possible trend reversals.
snapshot
snapshot
There are 3 options for Barcoloring:
RSI Bollinger Bands
snapshot
RSI Cloud
snapshot
& when the RSI is above/below the Donchian Channel Basis
snapshot
barcolorcandlecoloringRelative Strength Index (RSI)

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności