TradingView
Indicat
May 6, 2016 2:47 PM

Relative Strength Index on Tranquilizers 

Euro Fx/U.S. DollarFXCM

Description

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...
Comments
andreas73
Thank you for the code. Its working. :)
andreas73
Hey, thank you for this. Would you make a cci version, too?
Indicat
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)
AB-Trading
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
Indicat
It's not a strategie, just more tranquility.
More