## Connors RSI

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

### Connors RSI

Formula:

CRSI(3,2,100) = [ RSI(3) + RSI(UpDown Length,2) + ROC(100) ] / 3
isamegrelo

Posts: 22
Joined: Mon May 29, 2017 3:36 pm

### Re: Connors RSI

Have a similar indicator here.
viewtopic.php?f=17&t=62518&p=102104&hilit=Connors+RSI#p101737
Can you provide indicator code or web reference?

Apprentice
FXCodeBase: Confirmed User

Posts: 17168
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Connors RSI

May be this is full code of ConnorsRSI?

study(title="CRSI", shorttitle="CRSI", overlay=false, precision=0)
rsilen = input(3, minval=1, title="RSI period")
streaklen = input(2, minval=1, title="Streak period")
lookback = input(100, title="ROC lookback")

rsi = rsi(close,rsilen)

upday = close > close[1] ? 1 : 0
downday = close < close[1] ? -1 : 0
upstreak = upday!=0 ? upstreak[1] + upday : 0
downstreak = downday!=0 ? downstreak[1] + downday : 0
streak = upstreak + downstreak

streakrsi = rsi(streak,streaklen)

roc = close/close[1] - 1
roccount = 0
for i=1 to lookback-1
roccount := roc[i]<roc ? roccount + 1 : roccount

crsi = (rsi + streakrsi + roccount) / 3
rsiplot=plot(crsi, title="RSI", style=line, linewidth=1, color=blue)

band1 = hline(85, title="Upper Line", linestyle=dashed, linewidth=1, color=red)
band0 = hline(20, title="Lower Line", linestyle=dashed, linewidth=1, color=green)
fill(band1, band0, color=purple, transp=90)
isamegrelo

Posts: 22
Joined: Mon May 29, 2017 3:36 pm

Return to Indicator and Signal Requests

### Who is online

Users browsing this forum: No registered users and 8 guests