Monday, October 31, 2011

ZigZag


Introduction

The ZigZag feature on SharpCharts is not an indicator per se, but rather a means to filter out random noise and compare relative price movements. The ZigZag can be set to acknowledge minimum price changes and ignore those that do not fit the criteria. The minimum price movements are set in percentage terms and can be based on either the close or high/low range.
A ZigZag set at 10% with OHCL bars would yield a line that only reverses after a change from high to low of 10% or greater. All movements less than 10% would be ignored. If a stock traded from a low of 100 to a high of 109, the ZigZag would not draw a line because the move was less than 10%. If the stock advanced from a low of 100 to a high of 110, then the ZigZag would draw a line from 100 to 110. If the stock continued on to a high of 112, this line would be extended to 112 (100 to 112). The ZigZag would not reverse until the stock declined 10% or more from its high. From a high of 112, a stock would have to decline 11.2 points (or to a low of 100.8) for the ZigZag to reverse and display another line.
The ZigZag has zero predictive power and draws lines base on hindsight. Any predictive power will come from applications such as Elliott Wave or Fibonacci retracements and projections.

Uses

Filter:

Volatility and daily price fluctuations can produce erratic movements or noise. The ZigZag can be used to filter this noise. If price movements smaller than 5% are deemed insignificant, then the ZigZag can be set at 5% and all movements less than 5% will be ignored.

Elliott Wave

The ZigZag can be used to identify waves for Elliott Wave counts. (Note: The object of this article is not Elliott Wave Theory, but simply to illustrate methods of using the ZigZag.)

(ZigZag Chart for HPQ)
The HPQ example set the ZigZag at 15%. All moves 15% or greater were drawn and those less that 15% ignored. A large advance began in Oct-99 and formed a 5-wave structure that lasted until mid 2000. Within this larger structure, other smaller waver counts can also be deciphered. 

Retracements

The ZigZag can be used to measure retracements. After an advance, it is common for a security to retrace a portion of its advance with a correction. After a decline, it is common for a security to retrace part of its decline with a reaction rally. According to Dow Theory, 1/3, 1/2 and 2/3 retracements are most likely. Based on Fibonacci numbers, 38.2% or 61.8% retracement levels are deemed significant.

(ZigZag Chart for HAL)
During the advance from 34 to 55, HAL corrected twice (waves 2 and 4) and fulfilled two Fibonacci retracement targets: .618 and .786. Perhaps the most important Fibonacci number is .618, which is the golden mean. The square root of .618 is .786 (78.6%), another Fibonacci number used frequently by Scott Carney. In Mar-00, HAL retraced 79.8% of its wave 1 advance (red oval). From the Mar-00 low, the stock advanced 1.70 times its previous decline to form wave 3, which is close to a Fibonacci 1.618. The correction on wave 4 retraced 67.6% of the wave 3 advance. While 67.6% and 79.8% are not exact Fibonacci retracements, they are close enough to 61.8% and 78.6% to warrant attention.

Projections

The ZigZag can be used to measure primary price movements. As opposed to a correction or reaction rally, a primary price movement is in the direction of the underlying trend. Instead of retracing a portion of the previous move, primary moves extend past the previous reaction high or low. Many analysts that use Elliott Wave and Fibonacci sequences project the length of an advance or decline by multiplying a ratio to the previous retracement. If the previous decline (correction) was 50 points and a Fibonacci specialist was looking for new highs on the subsequent advance, the projection might be 1.618 times the previous move, or 81 points (50 x 1.618 = 81). The 81 points would be added to the beginning of the advance for a price target.

Examples

ZigZag (Basic)


(ZigZag Chart for IBM)
The percentage price change for the ZigZag can be changed with the first box to the right. The default setting is 5%. In the example, the indicator was set at 12, or 12 percent. All price movements greater than or equal to 12% will produce a ZigZag line. All price movements less than 12% will be ignored. The ZigZag is plotted as a thick line on top of the price plot.

ZigZag w/Retracements


(ZigZag Chart for IBM)
The ZigZag w/Retracements includes ratios of adjacent price movements. For the IBM example, the ZigZag w/Retracements was set at 12% to filter out all price movements less than 12%. Three pairs of price movements were compared from the Jun-00 to Nov-00. Dotted lines connect the relevant highs or relevant lows and the ratio is labeled in the middle of the dotted line. The first ratio is 1.566, representing an advance that was 156.6% of the previous decline. The formula is calculated in three steps:
  • First Price Move - Decline: 122.31 - 100 = 22.31
  • Second Price Move - Advance: 134.94 - 100 = 34.94
  • Advance/Decline Ratio: 34.94/22.31 = 1.566
Calculations for the other two ratios (1.374 and .309) are shown on the corresponding chart.
The final line for the ZigZag is subject to change. On the IBM example above, the current ZigZag high is 104.38. Because of the recent decline, the ZigZag continued down from 104.38. However, the current decline is well short of the 12% minimum. Should the current decline fail to exceed 12% and should IBM advance above 104.38, then the line from 86.94 would be extended to the new high and the ratio (.363) would change. The red line in the example above provides an idea of what would happen should IBM turn up from current levels and move to 110. The green lines extending from the October low would be replaced by a line extending straight up to 110.

ZigZag and SharpCharts

There are two ZigZag options on SharpCharts: the ZigZag and the ZigZag (Retracements). Both plot the same line, but the ZigZag (Retracements) adds labels and dotted lines for retracement ratios. The parameters box selects the % change necessary for a line to be drawn.
The ZigZag (standard) plots a line based on a minimum percentage change in price. The price change can be based on closing levels or the high/low range. To calculate the ZigZag based on closing prices only, select one of the Line options from the Chart Type dropdown in the Chart Attributes section. To calculate the ZigZag based on the high/low range, select OHCL Bars, HLC Bars or Candlesticks as the Chart Type. 
Read more ...

MACD

Introduction
Developed by Gerald Appel, Moving Average Convergence/Divergence (MACD) is one of the simplest and most reliable indicators available. MACD uses moving averages, which are lagging indicators, to include some trend-following characteristics. These lagging indicators are turned into a momentum oscillator by subtracting the longer moving average from the shorter moving average. The resulting plot forms a line that oscillates above and below zero, without any upper or lower limits. MACD is a centered oscillator and the guidelines for using centered oscillators apply.

MACD Formula

The most popular formula for the "standard" MACD is the difference between a security's 26-day and 12-day Exponential Moving Averages (EMAs). This is the formula that is used in many popular technical analysis programs, including Sharp Charts, and quoted in most technical analysis books on the subject. Appel and others have since tinkered with these original settings to come up with a MACD that is better suited for faster or slower securities. Using shorter moving averages will produce a quicker, more responsive indicator, while using longer moving averages will produce a slower indicator, less prone to whipsaws. For our purposes in this article, the traditional 12/26 MACD will be used for explanations. Later in the indicator series, we will address the use of different moving averages in calculating MACD.
Of the two moving averages that make up MACD, the 12-day EMA is the faster and the 26-day EMA is the slower. Closing prices are used to form the moving averages. Usually, a 9-day EMA of MACD is plotted along side to act as a trigger line. A bullish crossover occurs when MACD moves above its 9-day EMA, and a bearish crossover occurs when MACD moves below its 9-day EMA. The Merrill Lynch (MER) chart below shows the 12-day EMA (thin blue line) with the 26-day EMA (thin red line) overlaid the price plot. MACD appears in the box below as the thick black line and its 9-day EMA is the thin blue line. The histogram represents the difference between MACD and its 9-day EMA. The histogram is positive when MACD is above its 9-day EMA and negative when MACD is below its 9-day EMA.

What Does MACD Do?


MACD measures the difference between two Exponential Moving Averages (EMAs). A positive MACD indicates that the 12-day EMA is trading above the 26-day EMA. A negative MACD indicates that the 12-day EMA is trading below the 26-day EMA. If MACD is positive and rising, then the gap between the 12-day EMA and the 26-day EMA is widening. This indicates that the rate-of-change of the faster moving average is higher than the rate-of-change for the slower moving average. Positive momentum is increasing, indicating a bullish period for the price plot. If MACD is negative and declining further, then the negative gap between the faster moving average (blue) and the slower moving average (red) is expanding. Downward momentum is accelerating, indicating a bearish period of trading. MACD centerline crossovers occur when the faster moving average crosses the slower moving average.
This Merrill Lynch (MER) chart shows MACD as a solid black line, and its 9-day EMA as the thin blue line. Even though moving averages are lagging indicators, notice that MACD moves faster than the moving averages. In this example, MACD provided a few good trading signals as well:
  1. In March and April, MACD turned down ahead of both moving averages, and formed a negative divergence ahead of the price peak.
  2. In May and June, MACD began to strengthen and make higher Lows while both moving averages continued to make lower Lows.
  3. Finally, MACD formed a positive divergence in October while both moving averages recorded new Lows.

MACD Bullish Signals

MACD generates bullish signals from three main sources:
  1. Positive Divergence
  2. Bullish Moving Average Crossover
  3. Bullish Centerline Crossover

Positive Divergence

A Positive Divergence occurs when MACD begins to advance and the security is still in a downtrend and makes a lower reaction low. MACD can either form as a series of higher Lows or a second Low that is higher than the previous Low. Positive Divergences are probably the least common of the three signals, but are usually the most reliable, and lead to the biggest moves. 

Bullish Moving Average Crossover

A Bullish Moving Average Crossover occurs when MACD moves above its 9-day EMA, or trigger line. Bullish Moving Average Crossovers are probably the most common signals and as such are the least reliable. If not used in conjunction with other technical analysis tools, these crossovers can lead to whipsaws and many false signals. Bullish Moving Average Crossovers are used occasionally to confirm a positive divergence. A positive divergence can be considered valid when a Bullish Moving Average Crossover occurs after the MACD Line makes its second "higher Low".
Sometimes it is prudent to apply a price filter to the Bullish Moving Average Crossover to ensure that it will hold. An example of a price filter would be to buy if MACD breaks above the 9-day EMA and remains above for three days. The buy signal would then commence at the end of the third day.

Bullish Centerline Crossover

A Bullish Centerline Crossover occurs when MACD moves above the zero line and into positive territory. This is a clear indication that momentum has changed from negative to positive, or from bearish to bullish. After a Positive Divergence and Bullish Centerline Crossover, the Bullish Centerline Crossover can act as a confirmation signal. Of the three signals, moving average crossover are probably the second most common signals.



Using a Combination of Signals

Even though some traders may use only one of the above signals to form a buy or a sell signal, using a combination can generate more robust signals. In the Halliburton (HAL) example, all three bullish signals were present and the stock still advanced another 20%. The stock formed a lower Low at the end of February, but MACD formed a higher Low, thus creating a potential Positive Divergence. MACD then formed a Bullish Moving Average Crossover by moving above its 9-day EMA. And finally, MACD traded above zero to form a Bullish Centerline Crossover. At the time of the Bullish Centerline Crossover, the stock was trading at 32 1/4 and went above 40 immediately after that. In August, the stock traded above 50.

Bearish Signals

MACD generates bearish signals from three main sources. These signals are mirror reflections of the bullish signals:
  1. Negative Divergence
  2. Bearish Moving Average Crossover
  3. Bearish Centerline Crossover

Negative Divergence

A Negative Divergence forms when the security advances or moves sideways, and the MACD declines. The Negative Divergence in MACD can take the form of either a lower High or a straight decline. Negative Divergences are probably the least common of the three signals, but are usually the most reliable, and can warn of an impending peak.
The FedEx (FDX) chart shows a Negative Divergence when MACD formed a lower High in May, and the stock formed a higher High at the same time. This was a rather blatant Negative Divergence, and signaled that momentum was slowing. A few days later, the stock broke the uptrend line, and the MACD formed a lower Low.
There are two possible means of confirming a Negative Divergence. First, the indicator can form a lower Low. This is traditional peak-and-trough analysis applied to an indicator. With the lower High and subsequent lower Low, the uptrend for MACD has changed from bullish to bearish. Second, a Bearish Moving Average Crossover (which is explained below) can act to confirm a negative divergence. As long as MACD is trading above its 9-day EMA, or trigger line, it has not turned down and the lower High is difficult to confirm. When MACD breaks below its 9-day EMA, it signals that the short-term trend for the indicator is weakening, and a possible interim peak has formed.

Bearish Moving Average Crossover

The most common signal for MACD is the moving average crossover. A Bearish Moving Average Crossover occurs when MACD declines below its 9-day EMA. Not only are these signals the most common, but they also produce the most false signals. As such, moving average crossovers should be confirmed with other signals to avoid whipsaws and false readings.
Sometimes a stock can be in a strong uptrend, and MACD will remain above its trigger line for a sustained period of time. In this case, it is unlikely that a Negative Divergence will develop. A different signal is needed to identify a potential change in momentum. This was the case with Merck (MRK) in February and March. The stock advanced in a strong uptrend, and MACD remained above its 9-day EMA for 7 weeks. When a Bearish Moving Average Crossover occurred, it signaled that upside momentum was slowing. This slowing momentum should have served as an alert to monitor the technical situation for further clues of weakness. Weakness was soon confirmed when the stock broke its uptrend line and MACD continued its decline and moved below zero.

Bearish Centerline Crossover

A Bearish Centerline Crossover occurs when MACD moves below zero and into negative territory. This is a clear indication that momentum has changed from positive to negative, or from bullish to bearish. The centerline crossover can act as an independent signal, or confirm a prior signal such as a moving average crossover or negative divergence. Once MACD crosses into negative territory, momentum, at least for the short term, has turned bearish.
The significance of the centerline crossover will depend on the previous movements of MACD as well. If MACD is positive for many weeks, begins to trend down, and then crosses into negative territory, it would be bearish. However, if MACD has been negative for a few months, breaks above zero, and then back below, it might be a correction. In order to judge the significance of a centerline crossover, traditional technical analysis can be applied to see if there has been a change in trend, higher High or lower Low.
The Unisys (UIS) chart depicts a Bearish Centerline Crossover that preceded a 25% drop in the stock that occurs just off the right edge of the chart. Although there was little time to act once this signal appeared, there were other warnings signs prior to the dramatic drop:
  1. After the drop to trend line support, a Bearish Moving Average Crossover formed.
  2. When the stock rebounded from the drop, MACD did not even break above the trigger line, indicating weak upside momentum.
  3. The peak of the reaction rally was marked by a shooting star candlestick (blue arrow) and a gap down on increased volume (red arrows).
  4. After the gap down, the blue trend line extending up from Apr, 1999, was broken.
In addition to the signals mentioned above, a Bearish Centerline Crossover occurred after MACD had been above zero for almost two months. From 20 Sept on, MACD had been weakening and momentum was slowing. The break below zero acted as the final straw of a long weakening process. 

Combining Signals

As with bullish MACD signals, bearish signals can be combined to create more robust signals. In most cases, stocks fall faster than they rise. This was definitely the case with Unisys (UIS), and only two bearish MACD signals were present. Using momentum indicators like MACD, technical analysis can sometimes provide clues to impending weakness. While it may be impossible to predict the length and duration of the decline, being able to spot weakness can enable traders to take a more defensive position.
In 2002, Intel (INTC) dropped from above 36 to below 28 in a few months. Yet it would seem that smart money began distributing the stock before the actual decline. Looking at the technical picture, we can spot evidence of this distribution and a serious loss of momentum:
  1. In December, a negative divergence formed in MACD.
  2. Chaikin Money Flow turned negative on December 21.
  3. Also in December, a Bearish Moving Average Crossover occurred in MACD (black arrow).
  4. The trend line extending up from October was broken on 20 December.
  5. A Bearish Centerline Crossover occurred in MACD on 10 Feb (green arrow).
  6. On 15 February, support at 31 1/2 was violated (red arrow).
For those waiting for a recovery in the stock, the continued decline of momentum suggested that selling pressure was increasing, and not about to decrease. Hindsight is 20/20, but with careful study of past situations, we can learn how to better read the present and prepare for the future.

MACD Benefits



One of the primary benefits of MACD is that it incorporates aspects of both momentum and trend in one indicator. As a trend-following indicator, it will not be wrong for very long. The use of moving averages ensures that the indicator will eventually follow the movements of the underlying security. By using Exponential Moving Averages (EMAs), as opposed to Simple Moving Averages (SMAs), some of the lag has been taken out.
As a momentum indicator, MACD has the ability to foreshadow moves in the underlying security. MACD divergences can be key factors in predicting a trend change. A Negative Divergence signals that bullish momentum is waning, and there could be a potential change in trend from bullish to bearish. This can serve as an alert for traders to take some profits in long positions, or for aggressive traders to consider initiating a short position.
MACD can be applied to daily, weekly or monthly charts. MACD represents the convergence and divergence of two moving averages. The standard setting for MACD is the difference between the 12 and 26-period EMA. However, any combination of moving averages can be used. The set of moving averages used in MACD can be tailored for each individual security. For weekly charts, a faster set of moving averages may be appropriate. For volatile stocks, slower moving averages may be needed to help smooth the data. Given that level of flexibility, each individual should adjust the MACD to suit his or her own trading style, objectives and risk tolerance.

MACD Drawbacks

One of the beneficial aspects of the MACD is also one of its drawbacks. Moving averages, be they simple, exponential or weighted, are lagging indicators. Even though MACD represents the difference between two moving averages, there can still be some lag in the indicator itself. This is more likely to be the case with weekly charts than daily charts. One solution to this problem is the use of the MACD-Histogram.
MACD is not particularly good for identifying overbought and oversold levels. Even though it is possible to identify levels that historically represent overbought and oversold levels, MACD does not have any upper or lower limits to bind its movement. MACD can continue to overextend beyond historical extremes.
MACD calculates the absolute difference between two moving averages and not the percentage difference. MACD is calculated by subtracting one moving average from the other. As a security increases in price, the difference (both positive and negative) between the two moving averages is destined to grow. This makes its difficult to compare MACD levels over a long period of time, especially for stocks that have grown exponentially.
The Amazon (AMZN) chart demonstrates the difficult in comparing MACD levels over a long period of time. Before 1999, Amazon's MACD is barely recognizable, and appears to trade close to the zero line. MACD was indeed quite volatile at the time, but this volatility has been dwarfed since the stock rose from below 20 to almost 100.
An alternative is to use the Price Oscillator, which shows the percentage difference between two moving averages:
(12 day EMA - 26 day EMA) / (26 day EMA)
(20 - 18) / 18 = .11 or +11%
The resulting percentage difference can be compared over a longer period of time. On the Amazon chart, we can see that the Price Oscillator provides a better means for a long-term comparison. For the short term, MACD and the Price Oscillator are basically the same. The shape of the lines, the divergences, moving average crossovers and centerline crossovers for MACD and the Price Oscillator are virtually identical.

Pros and Cons of the MACD

Since Gerald Appel developed the MACD, there have been hundreds of new indicators introduced to technical analysis. While many indicators have come and gone, the MACD has stood the test of time. The concept behind its use is straightforward, and its construction is simple, yet it remains one of the most reliable indicators around. The effectiveness of the MACD will vary for different securities and markets. The lengths of the moving averages can be adapted for a better fit to a particular security or market. As with all indicators , MACD is not infallible and should be used in conjunction with other technical analysis tools. 
Read more ...

Tweezers

Tweezers is made up of two candlesticks that are next or so close to each other. They have identical highs at the top of the market or identical lows at the bottom of the market. The Tweezers usually becomes formed by the candlesticks shadows but it can also be made by the bodies of the shaven candlesticks. The two candlesticks that form Tweezers can have small bodies like Doji and Hammer candlesticks.


Tweezers cannot be considered as a strong reversal signals and it needs confirmation but you have to be careful when you see a Tweezers signal. You know what I mean by “be careful”.

Tweezers that are formed right under resistance lines or above the support lines and also under or above the Fibonacci levels that act as resistance or support are important especially when they are made up of two Doji candlesticks. The longer the shadows, the more potent the Tweezers signal.

It is also possible that you see a few or even several candlesticks between the two candlesticks that form the Tweezers pattern. Even in this case you should not ignore the Tweezers as a potential reversal signal.
When there are several candlesticks between the two that make the Tweezers pattern, they may form Double Tops or Double Bottoms patterns that show the levels of resistance or support.

Read more ...

Morning and Evening Star and Abandoned Baby

Morning star becomes formed by three candlesticks. This pattern can be seen at the bottom of a downtrend. It is known as a strong reversal signal.
1. The first candlestick should be a Bearish candlestick with a considerable body.
2. The second candlestick is a small candlestick that is formed lower than the first one. This candlestick can be Bearish or Bullish. In fact Morning star is the second candlestick but we have to have the first and the second candlesticks for a Morning Star signal.
3. The third candlestick is a Bullish candlestick that is formed higher than the second one and its body covers a significant portion of the first candlestick.

This pattern is called Evening Star when formed at the top of an uptrend:
The effectiveness and potency of the Morning Star and Evening Start patterns as reversal signals is dependent on some special factors that you have to considered:
1. The distance (gap) between the morning or evening star with the first and third candlesticks. The bigger gap, the stronger signal.
2. The degree of the coverage of the first candlestick by the third one. The bigger coverage, the stronger signal.
3. The bigger trading volume in the third candlestick than the first one.
Sometimes the Morning or Evening Star is a Doji candlesticks. Again in this case, the most important thing is the gap between the first and third candlestick and the Doji.

Sometimes, the Morning or Evening Star is a very small candlestick with small or no shadows. The gap is so big and even none of the candlesticks shadows cover any part of the Morning or Evening Star. This patterns is called Abandoned Baby which is a very strong reversal signal. Because of the high volatility, this pattern is very rare in the forex market and can only be seen in bigger time frames but it can be seen in the stock market in smaller time frames like one hour.
Abandoned baby can be seen both at the top of an uptrend or bottom of a downtrend.
Read more ...

Harami

Harami means pregnant in Japanese. Harami pattern is formed by two candlesticks. One big (the mother) and one small (the baby). The bigger one covers the whole or at least the real body of the smaller one. Harami can be seen both at the top of an uptrend or at the bottom of a downtrend. The small candle can be formed any where along the length of the big candle but the important thing is that it should be covered by the big candlestick.

The more difference between the size of two candlesticks, the more effective and potent the signal is.
Harami
Like the Dark Cloud Cover, Piercing Line and Harami can work as reversal signals but they have to be confirmed by the next candlesticks. These patterns can not be known as reliable and strong reversal signals.

If you already have a position and you have some profit in your hands, when you see any of the above patterns, you have to close your trade or at least tighten your stop loss and wait for the market to go ahead.

If it changes the direction, you will be safe because you already collected your profit or your stop loss will protect your profit and if it keeps on moving to the same direction, you will make more profit.

When the small candlestick in Harami pattern is a Doji, the pattern is called Harami Cross. A long body candlestick followed by a Doji which is covered by the long candlestick should not be ignored at all:
Harami
Read more ...

High Wave & Engulfing Pattern


Combination of CandleSticks:
Candlesticks are important signals individually. However combination of candlesticks can also generate very strong reversal signals.
1. High Wave
A group of candlesticks that have small bodies and long shadows are called High Wave. High Wave is a very strong reversal signal at the top of an uptrend or bottom of a downtrend.
2. Engulfing Pattern
This pattern is a very strong reversal signal at the end of a trends. Engulfing pattern is formed by two candlesticks with different colors. The body of the second candlestick should completely engulf the first one. The shadows may also be engulfed but it is not necessary. The first candlestick can also be a Doji.



Engulfing pattern is stronger when the first candlestick has a small and the second candlestick has a big body. Also when the second candlestick engulfs more than one candlestick, the pattern is stronger.
Read more ...

Hammer and Hanging Man & Shooting Star

Hammer and Hanging Man:
Hammer is kind of candlestick that can be seen at the bottom of a downtrend. Hammer has no or a very small lower shadow. The hammer candlestick which is seen at the top of an uptrend is called Hanging Man.
Hammer and Hanging Man have three identifying features:
1. The body is in the upper third of the price range.
2. The lower shadow is twice of the length of the body.
3. They have no or a very short upper shadow.
Like Doji, Hammer and Hanging man signal indecision and uncertainty and need confirmation.

Shooting Star:
It is an inverted hammer at the top of the uptrend. Its color can be Bullish or Bearish. A Shooting Star at the bottom of a downtrend, is called Inverted Hammer. Like Doji and Hammer, Shooting Star and inverted Hammer need confirmation.
A gap between the Shooting Start or Inverted Hammer and the next candlestick is one of the confirmations. A big Bearish candlestick after the Shooting Start is another confirmation. Generally, confirmation is something that confirms that the price has changed the direction.

Read more ...