индикаторы cci форекс в excel / Индекс товарного канала (CCI) — Берг

Индикаторы Cci Форекс В Excel

индикаторы cci форекс в excel

What Is the Commodity Channel Index (CCI)? How To Calculate

What Is the Commodity Channel Index (CCI)?

The Commodity Channel Index​ (CCI) is a momentum-based oscillator used to help determine when an investment vehicle is reaching a condition of being overbought or oversold.

Developed by Donald Lambert, this technical indicator assesses price trend direction and strength, allowing traders to determine if they want to enter or exit a trade, refrain from taking a trade, or add to an existing position. In this way, the indicator can be used to provide trade signals when it acts in a certain way.

Key Takeaways

  • The Commodity Channel Index (CCI) is a technical indicator that measures the difference between the current price and the historical average price.
  • When the CCI is above zero, it indicates the price is above the historic average. Conversely, when the CCI is below zero, the price is below the historic average.
  • The CCI is an unbounded oscillator, meaning it can go higher or lower indefinitely. For this reason, overbought and oversold levels are typically determined for each individual asset by looking at historical extreme CCI levels where the price reversed from.

The Formula for the Commodity Channel Index (CCI) Is:

​CCI=×Mean DeviationTypical Price−MA​where:Typical Price=∑i=1P​((High+Low+Close)÷3)P=Number of periodsMA=Moving AverageMoving Average=(∑i=1P​Typical Price)÷PMean Deviation=(∑i=1P​∣Typical Price−MA∣)÷P​

How to Calculate the Commodity Channel Index

  1. Determine how many periods your CCI will analyze. Twenty is commonly used. Fewer periods result in a more volatile indicator, while more periods will make it smoother. For this calculation, we will assume 20 periods. Adjust the calculation if using a different number.
  2. In a spreadsheet, track the high, low, and close for 20 periods and compute the typical price.
  3. After 20 periods, compute the moving average (MA) of the typical price by summing the last 20 typical prices and dividing by
  4. Calculate the mean deviation by subtracting the MA from the typical price for the last 20 periods. Sum the absolute values (ignore minus signs) of these figures and then divide by
  5. Insert the most recent typical price, the MA, and the mean deviation into the formula to compute the current CCI reading.
  6. Repeat the process as each new period ends.

What Does the Commodity Channel Index Tell You?

The CCI is primarily used for spotting new trends, watching for overbought and oversold levels, and spotting weakness in trends when the indicator diverges with price.

When the CCI moves from negative or near-zero territory to above , that may indicate the price is starting a new uptrend. Once this occurs, traders can watch for a pullback in price followed by a rally in both price and the CCI to signal a buying opportunity.

The same concept applies to an emerging downtrend. When the indicator goes from positive or near-zero readings to below , then a downtrend may be starting. This is a signal to get out of longs or to start watching for shorting opportunities.

Despite its name, the CCI can be used in any market and is not just for commodities.

Overbought or oversold levels are not fixed since the indicator is unbound. Therefore, traders look at past readings on the indicator to get a sense of where the price reversed. For one stock, it may tend to reverse near + and Another commodity, meanwhile, may tend to reverse near + and Zoom out on the chart to see lots of price reversal points, and the CCI readings at those times.

There are also divergences—when the price is moving in the opposite direction of the indicator. If the price is rising and the CCI is falling, this can indicate a weakness in the trend. While divergence is a poor trade signal, since it can last a long time and doesn't always result in a price reversal, it can be good for at least warning the trader that there is the possibility of a reversal. This way, they can tighten stop loss levels or hold off on taking new trades in the price trend direction.

The Commodity Channel Index vs. the Stochastic Oscillator

Both of these technical indicators are oscillators, but they are calculated quite differently. One of the main differences is that the Stochastic Oscillator is bound between zero and , while the CCI is unbounded.

Due to the calculation differences, they will provide different signals at different times, such as overbought and oversold readings.

Limitations of Using the Commodity Channel Index

While often used to spot overbought and oversold conditions, the CCI is highly subjective in this regard. The indicator is unbound and, therefore, prior overbought and oversold levels may have little impact in the future.

The indicator is also lagging, which means at times it will provide poor signals. A rally to or to signal a new trend may come too late, as the price has had its run and is starting to correct already.

Such incidents are called whipsaws; a signal is provided by the indicator but the price doesn't follow through after that signal and money is lost on the trade. If not careful, whipsaws can occur frequently. Therefore, the indicator is best used in conjunction with price analysis and other forms of technical analysis or indicators to help confirm or reject CCI signals.

Commodity Channel Index (CCI)

Introduction

Developed by Donald Lambert and featured in Commodities magazine in , the Commodity Channel Index (CCI) is a versatile indicator that can be used to identify a new trend or warn of extreme conditions. Lambert originally developed CCI to identify cyclical turns in commodities, but the indicator can be successfully applied to indices, ETFs, stocks and other securities. In general, CCI measures the current price level relative to an average price level over a given period of time. CCI is relatively high when prices are far above their average, but is relatively low when prices are far below their average. In this manner, CCI can be used to identify overbought and oversold levels.

Calculation

The example below is based on a period Commodity Channel Index (CCI) calculation. The number of CCI periods is also used for the calculations of the simple moving average and Mean Deviation.

CCI = (Typical Price - period SMA of TP) / ( x Mean Deviation) Typical Price (TP) = (High + Low + Close)/3 Constant = There are four steps to calculating the Mean Deviation: First, subtract the most recent period average of the typical price from each period&#;s typical price. Second, take the absolute values of these numbers. Third, sum the absolute values. Fourth, divide by the total number of periods (20).

Lambert set the constant at to ensure that approximately 70 to 80 percent of CCI values would fall between and + This percentage also depends on the look-back period. A shorter CCI (10 periods) will be more volatile with a smaller percentage of values between + and Conversely, a longer CCI (40 periods) will have a higher percentage of values between + and

CCI- Spreadsheet

Click here for a CCI calculation in an Excel Spreadsheet.

CCI - Chart 1

Interpretation

CCI measures the difference between a security&#;s price change and its average price change. High positive readings indicate that prices are well above their average, which is a show of strength. Low negative readings indicate that prices are well below their average, which is a show of weakness.

The Commodity Channel Index (CCI) can be used as either a coincident or leading indicator. As a coincident indicator, surges above + reflect strong price action that can signal the start of an uptrend. Plunges below reflect weak price action that can signal the start of a downtrend.

As a leading indicator, chartists can look for overbought or oversold conditions that may foreshadow a mean reversion. Similarly, bullish and bearish divergences can be used to detect early momentum shifts and anticipate trend reversals.

New Trend Emerging

As noted above, the majority of CCI movement occurs between and + A move that exceeds this range shows unusual strength or weakness that can foreshadow an extended move. Think of these levels as bullish or bearish filters. Technically, CCI favors the bulls when positive and the bears when negative. However, using simple zero-line crossovers can result in many whipsaws. Although entry points will lag more, requiring a move above + for a bullish signal and a move below for a bearish signal reduces whipsaws.

The chart below shows Caterpillar (CAT) with day CCI. There were four trend signals within a seven-month period. Obviously, a day CCI is not suited for long-term signals; chartists should use weekly or monthly charts for those. The stock peaked on Jan and turned down. CCI moved below on January (8 days later) to signal the start of an extended move. Similarly, the stock bottomed on 8-February and CCI moved above + on February (6 days later) to signal the start of an extended advance. CCI does not catch the exact top or bottom, but it can help filter out insignificant moves and focus on the larger trend.

CCI - Chart 2

CCI triggered a bullish signal when CAT surged above 60 in June. Some traders may have considered the stock overbought and the reward-to-risk ratio unfavorable at these levels. With the bullish signal in force, the focus would have been on bullish setups with a good reward-to-risk ratio. Notice that the stock retraced around 62% of the prior advance and formed a falling flag by the end of June. The subsequent surge above the flag trend line provided another bullish signal with CCI still in bull mode.

Overbought/Oversold

Identifying overbought and oversold levels can be tricky with the Commodity Channel Index (CCI), or any other momentum oscillator for that matter. First, CCI is an unbound oscillator. Theoretically, there are no upside or downside limits. This makes an overbought or oversold assessment subjective. Second, securities can continue moving higher after an indicator becomes overbought. Likewise, securities can continue moving lower after an indicator becomes oversold.

The definition of overbought or oversold varies for the Commodity Channel Index (CCI). ± may work in a trading range, but more extreme levels are needed for other situations. ± is a much harder level to reach and more representative of a true extreme. Selection of overbought/oversold levels also depends on the volatility of the underlying security. The CCI range for an index ETF, such as SPY, will usually be smaller than for most stocks, such as Google.

CCI - Chart 3

The chart above shows Google (GOOG) with CCI(20). Horizontal lines at ± were added using the advanced indicators options. From early February to early October (), Google exceeded ± at least five times. The red dotted lines show when CCI moved back below + and the green dotted lines show when CCI moved back above It is important to wait for these crosses to reduce whipsaws should the trend extend. Such a system is not foolproof, however. Notice how Google kept on moving higher even after CCI became overbought in mid-September and moved below

Bullish/Bearish Divergences

Divergences signal a potential reversal point because directional momentum does not confirm price. A bullish divergence occurs when the underlying security makes a lower low and CCI forms a higher low, which shows less downside momentum. A bearish divergence forms when the security records a higher high and CCI forms a lower high, which shows less upside momentum. Before getting too excited about divergences as great reversal indicators, note that divergences can be misleading in a strong trend. A strong uptrend can show numerous bearish divergences before a top actually materializes. Conversely, bullish divergences often appear in extended downtrends.

Confirmation holds the key to divergences. While divergences reflect a change in momentum that can foreshadow a trend reversal, chartists should set a confirmation point for CCI or the price chart. A bearish divergence can be confirmed with a break below zero in CCI or a support break on the price chart. Conversely, a bullish divergence can be confirmed with a break above zero in CCI or a resistance break on the price chart.

CCI - Chart 4

The chart above shows United Parcel Service (UPS) with day CCI. A longer timeframe, 40 versus 20, was used to reduce volatility. There are three sizable divergences over a seven-month period, which is actually quite a few for just seven months. First, UPS raced to new highs in early May, but CCI failed to exceed its March high and formed a bearish divergence. A support break on the price chart and CCI move into negative territory confirm this divergence a few days later. Second, a bullish divergence formed in early July as the stock moved to a lower low, but CCI formed a higher low. This divergence was confirmed with a CCI break into positive territory. Also notice that UPS filled the late June gap with a surge in early July. Third, a bearish divergence formed in early September and was confirmed when CCI dipped into negative territory. Despite a CCI confirmation, price never broke support and the divergence did not result in a trend reversal. Not all divergences produce good signals.

Conclusion

CCI is a versatile momentum oscillator that can be used to identify overbought/oversold levels or trend reversals. The indicator becomes overbought or oversold when it reaches a relative extreme. That extreme depends on the characteristics of the underlying security and the historical range for CCI. Volatile securities are likely to require greater extremes than docile securities. Trend changes can be identified when CCI crosses a specific threshold between zero and Regardless of how CCI is used, chartists should use CCI in conjunction with other indicators or price analysis. Another momentum oscillator would be redundant, but On Balance Volume (OBV) or the Accumulation Distribution Line can add value to CCI signals.

Using with SharpCharts

CCI is available as a SharpCharts indicator that can be placed above, below or behind the price plot of the underlying security. Placing CCI directly behind the price makes it easy to compare indicator movements with price movements. The default setting is 20 periods, but this can be adjusted to suit analysis needs. A shorter timeframe makes the indicator more sensitive, while a longer timeframe makes it less sensitive. Members can click the green arrow next to “advanced options” to add horizontal lines to mark overbought or oversold levels. Two lines can be added by separating the numbers with a comma (,). Click here for a live example.

CCI - Chart 5

CCI - SharpCharts

Suggested Scans

CCI Oversold in Uptrend

This scan reveals stocks that are in an uptrend with oversold CCI turning up. First, stocks must be above their day moving average to be in an overall uptrend. Second, CCI must cross above to show the indicator rising from oversold levels.

[type = stock] AND [country = US] AND [Daily SMA(20,Daily Volume) > ] AND [Daily SMA(60,Daily Close) > 20] AND [Daily Close > Daily SMA(,Daily Close)] AND [Daily CCI(20) crosses ]

CCI Overbought in Downtrend

This scan reveals stocks that are in a downtrend with overbought CCI turning down. First, stocks must be below their day moving average to be in an overall downtrend. Second, CCI must cross below + to show the indicator falling from overbought levels.

[type = stock] AND [country = US] AND [Daily SMA(20,Daily Volume) > ] AND [Daily SMA(60,Daily Close) > 20] AND [Daily Close < Daily SMA(,Daily Close)] AND [ crosses Daily CCI(20)]

For more details on the syntax to use for CCI scans, please see our Scanning Indicator Reference in the Support Center.

Further Study

John Murphy&#;s Technical Analysis of the Financial Markets has a chapter devoted to momentum oscillators and their various uses. Murphy covers the pros and cons as well as some examples specific to the Commodity Channel Index.

Martin Pring&#;s Technical Analysis Explained presents the basics of momentum indicators by covering divergences, crossovers and other signals. There are two more chapters covering specific momentum indicators with plenty of examples.


nest...

аналитика форекс gbp кaртa мирa форекс вспомогательные индикаторы форекс как платят налоги трейдеры валютного рынка форекс лучшие индикаторы для входа индикаторы измерения температуры щитовые дмитрий котенко форекс клипaрт для форекс имхо на форексе дц форекс брокер отзывы безрисковая комбинация форекс индикаторы рынка ферросплавов