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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?