TradingView
CryptoJok3r
2019年9月18日上午10點23分

[Coingrats]RSI Divergence + StochRSI 

Bitcoin / TetherUSBinance

描述

This indicator shows the RSI and StochRSI. RSI divergence will also be marked.

- Bullish divergence - green triangle,
- Hidden bullish divergence - gray triangle
- Bearish divergence = red triangle
- Hidden bearish divergence - gray triangle

Credits to BabyWhale83 for the code to spotting divergence

WANNA TIP ME? BUY ME SOME BEERS!

BTC: 3BMEXX5JrX94ziUSoQMLEmi51WcYwphAg3
ETH: 0x541e504bb461aa141de6ddce09dc89eb16f58f9c
LTC: LPBJXzUZJksCuCK27AY2qAVYGGGiUfejok

DON'T FORGET TO LOOK AT OUR SITE MYCRYPTODARAR.COM

發布通知

Add EMA12 and background colors to identify the trend.
評論
kaka900
This sh!t will repaint, can tell you without checking. Watch out ppl.
CryptoJok3r
@kaka900, What do you mean?
Aporio
hello, do you help me to put the owner scale the combination 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
更多