KenLeShim

CCI Multi-Timeframe

The Commodity Channel Index (CCI) is a leading oscillating momentum indicator that was developed by Donald Lambert to identify cyclical turns in commodities but can also be used on securities and bonds as well.

HOW IS IT USED ?
Lambert used the CCI to generate entry and exit signals when the CCI moved above +100% and below -100% respectively. When the CCI moves above +100%, the security enters into a strong uptrend and an entry signal is given. When the CCI moves back below +100% this position should be closed. Conversely, when the CCI moves below -100%, the security enters into a strong downtrend and an exit signal is given. When the CCI moves back above -100% this position should be closed.
In addition, an entry signal is given when the CCI bounces off of the zero line. When the CCI reaches the zero line, the security's average price is at the moving average used to calculate the CCI and when a security bounces off its moving average it is considered a good entry position as the security has pulled back to its short-term support with the bounce reaffirming the current trend.
The CCI can also be used to identify overbought and oversold levels. A security could be considered oversold when the CCI moves below -100 and overbought when it moves above +100. From an oversold level, an entry signal may be given when the CCI moves above -100. From an overbought level, an exit signal might be given when the CCI moves below +100.
Divergences can also be applied to the CCI. A positive divergence below -100 would increase the probability of a signal based on a move above -100, and a negative divergence above +100 would increase the probability of a signal based on a move back below +100.
Trend line breaks can be used to generate entry and exit signals. Trend lines can be drawn connecting the peaks and troughs. From oversold levels, a move above -100 and a trend line breakout could be used as an entry signal. Conversely, from overbought levels, a move below +100 and a trend line breakout could be used as an exit signal.

I added the possibility to add on the chart a 2nd timeframe for confirmation.

If you found this script useful, a tip is always welcome... :)
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 đồ?