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.
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)
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)))
band1 = hline(100, color=gray, linestyle=dashed)
band0 = hline(-100, color=gray, linestyle=dashed)
fill(band1, band0, color=olive)