Indicat

Relative Strength Index on Tranquilizers

Some weeks ago, I had a patient in my practice who suffered from internal stability disorders.

Certainly not a case of disordered thinking or schizophrenic behaviour, because his general sense of direction wasn’t the problem.

He just couldn’t find the right overall balance, an ailment he struggled with for years.

Straight away I could diagnose that surgery wasn’t an option, so I gave him a medicine he would clearly benefit from.

I never heard from him again…. He must be doing just fine.


Cheers, Indicat...
Remove from Favorite Scripts Add to Favorite Scripts
study(shorttitle="TRSI",title="Relative Strength Index on Tranquilizers" )
len = input(14), src = input(close)
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
trq = rma(2*ema(rsi, len/2)-ema(rsi, len), round(sqrt(len)))
plot(trq, color=purple)
band1 = hline(70)
band0 = hline(30)
fill(band1, band0, color=purple, transp=90)
Thank you for the code. Its working. :)
Reply
Hey, thank you for this. Would you make a cci version, too?
Reply
Indicat andreas73
This treatment also stabilizes the CCI.

study(title="Commodity Channel Index on Tranquilizers ", shorttitle="TCCI")
length = input(20, minval=1)
src = input(close, title="Source")
ma = sma(src, length)
cci = (src - ma) / (0.015 * dev(src, length))
trq = rma(2*ema(cci, length/2)-ema(cci, length), round(sqrt(length)))
plot(trq, color=olive)
band1 = hline(100, color=gray, linestyle=dashed)
band0 = hline(-100, color=gray, linestyle=dashed)
fill(band1, band0, color=olive)
Reply
Im liking this ! Great work. Is that right to Buy/Sell once it re-enters the purple zone ? Is that meant to be used as such ? Thx. AB
Reply
Indicat AB-Trading
It's not a strategie, just more tranquility.
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out