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... :)
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?