TradingView
cybernetwork
Aug 25, 2019 4:08 AM

RSI+StochRSI 

Wanchain / BitcoinBinance

Description

Combined plot of RSI and StochRSI

Release Notes

Adjusted colors for better darkmode compatibility.

Release Notes

Updated labels/descriptions.

Release Notes

Added an option to allow locking STOCHS length to RSI length.

Release Notes

Updated input descriptions.

Release Notes

Republished @ tradingview.com/script/H9J38H5M-Relative-Strength-Index-RSI-Stochastic-RSI/
to improve searchability.


Note: No updates further will be made here.

Release Notes

Please check out my other indicators sets and series, e.g.
  • LIVIDITIUM (dynamic levels),
  • AEONDRIFT (standard deviation bands),
  • FUSIONGAPS (MA based oscillators),
  • MAJESTIC (Momentum/Acceleration/Jerk Oscillators),
  • PRISM (PSAR based oscillator, with RSI/StochRSI as well as Momentum/Acceleration/Jerk indicators),
  • and more to come.

Constructive feedback and suggestions are welcome.

Release Notes

Retracted 25Aug19 comment. Maintenance of this script will resume.

Introduced a number of new features: i.e. plots rescaling options & auto-normalisation, and a couple of tweaks.

Release Notes

Introduced bar color indicator of oscillator states (can be Enabled/Disabled).

Release Notes

Swapped bullish/bearish candles color-tint (blue<>yellow) such that now:
  • Yellow tint = Bullish
  • Blue tint = Bearish

Release Notes

Allows Custom Stochs Source.

Release Notes

Added volume weighted options.

Release Notes

  • Allows selection of resolution.

Release Notes

  • Introduced divergence for both RSI and STOCHs (can be manually enabled/disabled).

  • Note: Stochs can be modulated by RSI, candle closing, or other user selectable inputs.

Release Notes

Fixed typos.

Release Notes

Introduced k-d crossover indicator (can be Enabled in the settings).
Comments
traderrog
Can you tell me how you displayed the numbers (1,2,3,4 ..etc) above and below the candles? I have tried plotshape and plotchar but I couldn't get the integer displayed. Thanks!
Aporio
hELLO, DO YOU HELP ME WITH THE REESCALE OR PLOT IN OWN SCALE?
IT´S 2 INDICATOR IN ONE
REGARDS
//@version=4

study(title="CCI+RSI", shorttitle="CCI+RSI")
// CCI
length = input(20, minval=1)
src = input(close, title="Source")
ma = sma(src, length)
cci = (src - ma) / (0.015 * dev(src, length))
plot(cci, color=color.olive)
band1 = hline(175, color=color.gray)
band0 = hline(-175, color=color.gray)
fill(band1, band0, color=color.olive)
// FIN CCI

// RSI
srcRSI = close, lenRSI = input(14, minval=1, title="Length")
up = rma(max(change(srcRSI), 0), lenRSI)
down = rma(-min(change(srcRSI), 0), lenRSI)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
plot(rsi, color=color.purple)
bandRSI1 = hline(70)
bandRSI0 = hline(30)
fill(bandRSI1, bandRSI0, color=color.purple, transp=90)
// FIN RSI
More