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.
快照
快照
There are 3 options for Barcoloring:
RSI Bollinger Bands
快照
RSI Cloud
快照
& when the RSI is above/below the Donchian Channel Basis
快照
barcolorcandlecoloringRelative Strength Index (RSI)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明