Showing posts with label maret technical indicators. Show all posts
Showing posts with label maret technical indicators. Show all posts

Tuesday, November 3, 2009

Commodity Channel Index(CCI)

Introduction:

Developed by Donald Lambert, the Commodity Channel Index (CCI) was designed to identify cyclical turns in commodities. The assumption behind the indicator is that commodities (or stocks or bonds) move in cycles, with highs and lows coming at periodic intervals. Lambert recommended using 1/3 of a complete cycle (low to low or high to high) as a time frame for the CCI. (Note: Determination of the cycle's length is independent of the CCI.) If the cycle runs 60 days (a low about every 60 days), then a 20-day CCI would be recommended. For the purpose of this example, a 20-day CCI is used.
Calculation :

There are 4 steps involved in the calculation of the CCI:

Calculate the last period's Typical Price (TP) = (H+L+C)/3 where H = high, L = low, and C = close. Calculate the 20-period Simple Moving Average of the Typical Price (SMATP). Calculate the Mean Deviation. First, calculate the absolute value of the difference between the last period's SMATP and the typical price for each of the past 20 periods. Add all of these absolute values together and divide by 20 to find the Mean Deviation.
The final step is to apply the Typical Price (TP), the Simple Moving Average of the Typical Price (SMATP), the Mean Deviation and a Constant (.015) to the following formula:

CCI = ( Typical Price - SMATP ) / ( .015 X Mean Deviation )




For scaling purposes, Lambert set the constant at .015 to ensure that approximately 70 to 80 percent of CCI values would fall between -100 and +100. The CCI fluctuates above and below zero. The percentage of CCI values that fall between +100 and -100 will depend on the number of periods used. A shorter CCI will be more volatile with a smaller percentage of values between +100 and -100. Conversely, the more periods used to calculate the CCI, the higher the percentage of values between +100 and -100.

Lambert's trading guidelines for the CCI focused on movements above +100 and below -100 to generate buy and sell signals. Because about 70 to 80 percent of the CCI values are between +100 and -100, a buy or sell signal will be in force only 20 to 30 percent of the time. When the CCI moves above +100, a security is considered to be entering into a strong uptrend and a buy signal is given. The position should be closed when the CCI moves back below +100. When the CCI moves below -100, the security is considered to be in a strong downtrend and a sell signal is given. The position should be closed when the CCI moves back above -10

Since Lambert's original guidelines, traders have also found the CCI valuable for identifying reversals. The CCI is a versatile indicator capable of producing a wide array of buy and sell signals.
CCI can be used to identify overbought and oversold levels. A security would be deemed oversold when the CCI dips below -100 and overbought when it exceeds +100. From oversold levels, a buy signal might be given when the CCI moves back above -100. From overbought levels, a sell signal might be given when the CCI moved back below +100.
As with most oscillators, divergences can also be applied to increase the robustness of signals. A positive divergence below -100 would increase the robustness of a signal based on a move back above -100. A negative divergence above +100 would increase the robustness of a signal based on a move back below +100.
Trend line breaks can be used to generate signals. Trend lines can be drawn connecting the peaks and troughs. From oversold levels, an advance above -100 and trend line breakout could be considered bullish. From overbought levels, a decline below +100 and a trend line break could be considered bearish.
Traders and investors use the CCI to help identify price reversals, price extremes and trend strength. As with most indicators, the CCI should be used in conjunction with other aspects of technical analysis. CCI fits into the momentum category of oscillators. In addition to momentum, volume indicators and the price chart may also influence a technical assessment.



The 20-day CCI for Brooktrout (BRKT) provides an example using Lambert's guidelines. Even though a few signals are good, using crosses above and below +100/-100 resulted in plenty of whipsaws. In January, the stock broke resistance at 20, and proceeded to double in the next few weeks. The CCI moved above and below +100 several times, but the stock remained in a strong uptrend. The CCI did manage to remain above +50 for about 7 weeks (blue oval), but the whipsaws below +100 could have caused an early exit. Whipsaws do not make an indicator bad. However, traders and investors should learn to use the CCI in conjunction with other indicators and chart analysis. In addition, various time frames for the CCI should be tested, and you should test buy and sell points, as well. What works for one stock may not necessarily work for another stock. For Brooktrout, a buy point on a cross above and below +50 may have worked better.

CCI and SharpCharts :




Using SharpCharts, the CCI can be set as an indicator above or below a security's price plot. The Parameters text box to the right sets the number of periods to calculate the indicator. The default setting is 20 periods. Horizontal lines have been set at -100, 0 and +100 to help identify extremes and centerline crossovers. When the indicator moves above +100 or below -100, the portion above or below will be shaded. A number of CCI windows can be opened on any chart, and users are invited to compare different settings.

Saturday, October 10, 2009

Accumulative Swing Index And The McClellan Oscillator

The accumulation swing index (ASI) is a variation of Welles Wilder's swing index. It plots a running total of the swing index value of each bar. The swing index is a value from 0 to 100 for an up bar and 0 to -100 for a down bar. The swing index is calculated by using the current bar's open, high, low and close, as well as the previous bar's open and close. The swing index is a popular tool in the futures market.

The accumulative swing index is used to gain a better long-term picture than using the plain swing index, which uses data from only two bars. If the long-term trend is up, the accumulative swing index is a positive value. Conversely, if the long-term trend is down, the accumulative swing index is a negative value. If the long-term trend is sideways (non-trending), the accumulative swing index fluctuates between positive and negative values. This indicator is used to analyze futures but can be applied to stocks as well.

ASI will give the technician numerical price swings that are value quantified, and it will show short-term trend turnarounds. Metastock explains it best: "A breakout is indicated when the accumulative swing index exceeds its value on the day when a previous significant high swing point was made. A downside breakout is indicated when the value of the accumulative swing index drops below its value on a day when a previous significant low swing point was made." You can confirm trendline breakouts by comparing trendlines on the ASI to trendlines on the price chart. A false breakout is indicated when a trendline drawn on the price chart is penetrated but a similar trendline drawn on the accumulative swing index is not penetrated.



This 2002 chart of Apple Computer (AAPL) shows a couple of trendlines which confirm the short-term trend witnessed in May and the horizontal pattern that has developed over the summer and early fall. The ASI in this chart indicates no buy signal, yet each and every day the sellers of this stock find buyers.

This indicator can be used on occasion to confirm a belief in a trend swing.

McClellan Oscillator :

The McClellan Oscillator, developed by Sherman and Marian McClellan in the late 1960s, calculates the difference between two exponential moving averages by using the advances and declines from the same day period.

Now, this may be the most important part to understand: the two moving averages are always 19 and 39 time periods and represent 10% and 5% trend values, respectively. Professional charting software programs like Tradestation and others use 19 and 39-day periods as the default periods, but many chartists will experiment with other periods in an attempt to fine tune their studies. If you do use the 19/39 model, the McClellan is a good short-term indicator, anticipating positive and negative changes in the advance/decline stats for better market timing.

The McClellan Oscillator uses averages and differences based on this data to gauge market breadth. To plot the McClellan Oscillator accurately, the chart must contain both the advancing issues and the declining issues, and the inputs must specify the correct data number for each. Because the McClellan Oscillator uses exponential averages, the numeric value of the McClellan Oscillator will depend on the data available in the chart. If a stock market index is rallying but more issues are declining than advancing, then the rally is narrow and much of the stock market is not participating.

Similar to the moving average convergence/divergence, the McClellan Oscillator is a momentum indicator. When the short-term average moves above the long-term average, a positive value is recorded. As with most oscillators, the McClellan Oscillator shows an overbought issue when the indicator measures in the positive 70 to 100 range, and it shows an oversold issue in the minus 70 to 100 range. Buy signals are indicated when the oscillator advances from oversold levels to positive levels, and, conversely, sell signals are indicated by declines from overbought to negative territory. A rising trendline of troughs and peaks would be a positive sign to the trader while falling tops and bottoms would bring out the sellers.



In the 2002 chart of Exxon Mobil (XOM) you can see at the bottom of the chart that the plot is 81.19, indicating a sell signal for the issue.

These indicators serve as confirmation indicators to those of us who need to double check our findings on a regular basis.

Remember, it's your money - invest it wisely.