LazyBear

Indicators: Constance Brown Composite Index & RSI+Avgs

I am a big fan of Constance Brown. Her book "Technical Analysis for Trading Professionals" is an absolute classic (get the 2nd edition).

I have included here 2 of the indicators she uses in all her charts.

Composite Index
----------------------------------------
This is a formula Ms Brown developed (Cardwell may not agree!) to identify divergence failures with in the RSI. This also highlights the horizontal support levels with in the indicator area.

This index removes the normalization range restrictions in RSI. This means it is not bound with in 0-100 range. Also, this has embedded momentum calculation in it.

The fine nuances of this indicator are not documented well enough, if you find some good documentation, do let me know. Always use this with RSI (like the next one).

RSI+Avgs
----------------------------------------
This is plain 14 period RSI with a 9-period EMA and 45-period SMA overlaid.

List of my free indicators: bit.ly/1LQaPK8
List of my indicators at Appstore: blog.tradingview.com/?p=970
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?
//
// @author LazyBear
// Code from book "Breakthroughs in Technical Analysis" pg 95. 
//
// If you use this code in its orignal/modified form, do drop me a note. 
// 
study(title="Constance Brown Composite Index [LazyBear]", shorttitle="CBIDX_LB")
src = close
rsi_length=input(14, title="RSI Length")
rsi_mom_length=input(9, title="RSI Momentum Length")
rsi_ma_length=input(3, title="RSI MA Length")
ma_length=input(3, title="SMA Length")
fastLength=input(13)
slowLength=input(33)

r=rsi(src, rsi_length)
rsidelta = mom(r, rsi_mom_length)
rsisma = sma(rsi(src, rsi_ma_length), ma_length)
s=rsidelta+rsisma

plot(s, color=red, linewidth=2)
plot(sma(s, fastLength), color=green)
plot(sma(s, slowLength), color=orange)