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
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?
//
// @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)