MACD Indicator


What is MACD Indicator?

Moving Average Convergence-Divergence (MACD) indicator is one of the simplest and most effective momentum indicators available. The MACD turns two trend-following indicators, moving averages, into a momentum oscillator by subtracting the longer moving average from the shorter moving average. As a result, the MACD offers the best of both worlds: trend following and momentum. The MACD fluctuates above and below the zero line as the moving averages converge, cross and diverge. Traders can look for signal line crossovers, centerline crossovers and divergences to generate signals. Because the MACD is unbounded, it is not particularly useful for identifying overbought and oversold levels.


Components of MACD

There are three main components of the MACD shown in the picture below:
  1. MACD: The 12-period exponential moving average (EMA) minus the 26-period EMA.
  2. MACD Signal Line: A 9-period EMA of the MACD.
  3. MACD Histogram: The MACD minus the MACD Signal Line.



MACD Formula

The MACD indicator is calculated as the difference between the fast and slow moving averages:

MACD = 12 Day exponential moving average - 26 Day exponential moving average

The signal line is calculated as a 9 day exponential moving average of MACD.

How to trade with the MACD indicator

If the MACD crosses down below the Signal line, but the histogram has not confirmed it by producing bars below the zero line, this is still considered a sell signal, but not as strong.A signal to sell is when the MACD has crossed below the Signal line. The signal is stronger if the histogram bars are also below the zero line.
The image below shows the MACD providing a strong sell signal:

MACD6

  • MACD has crossed down below the Signal line
  • Histogram is below the zero line

If the MACD crosses above the Signal line, but the histogram does not confirm it by having its bars above the zero line, this also gives you a buy signal, but not as strong buy signal is given when the the MACD crosses above the Signal line. If the histogram is above the zero line, then the signal is stronger.
The image below shows the MACD providing a strong buy signal:

MACD7













  • MACD has crossed up above the Signal line
  • Histogram is above the zero line

MACD Moving Average Crossover
Histogram is above the zero linMACD Moving Average CrossovWe know that the MACD line is created from the 12-period and 26-period EMA. Consequently:When the shorter-term 12-period EMA crosses above the longer-term 26-period EMA, the MACD line crosses above the Zero line.

  • When the shorter-term 12-period EMA crosses above the longer-term 26-period EMA, the MACD line crosses above the Zero line.
  • When the 12-period EMA crosses below the 26-period EMA, the MACD line crosses below the Zero line.



MACD Buy Signal

A buy signal is generated when the MACD (blue line) crosses above the MACD Signal Line (red line).

MACD Sell Signal

Similarly, when the MACD crosses below the MACD Signal Line a sell signal is generated.
The MACD moving average crossover is one of many ways to interpret the MACD technical indicator. Using the MACD histogram and MACD divergence warnings are two other important methods of using the MACD.

MACD Histogram

The MACD Histogram is simply the difference between the MACD line (blue line) and the MACD signal line (red line).
 
  • Convergence: The MACD histogram is shrinking in height. This occurs because there is a change in direction or a slowdown in the stock, future, bond, or currency trend. When that occurs, the MACD line is getting closer to the MACD signal line.
  • Divergence: The MACD histogram is increasing in height (either in the positive or negative direction). This occurs because the MACD is accelerating faster in the direction of the prevailing market trend.
When a stock, future, or currency pair is moving strongly in a direction, the MACD histogram will increase in height. When the MACD histogram does not increase in height or begins to shrink, the market is slowing down and is a warning of a possible reversal. 




The letter "T" represents when the top or peak of the MACD histogram occurs. In contrast, the letter "B" shows when the bottom of the MACD histogram occurs. Notice how closely the tops and bottoms of the MACD histogram are to the tops of the Nasdaq 100 e-mini future.

MACD Histogram Buy Signal

When the MACD histogram is below the zero line and begins to converge towards the zero line.

MACD Histogram Sell Signal

When the MACD histogram is above the zero line and begins to converge towards the zero line.

MACD Divergences


Bullish divergence
 occurs when the indicator is indicating that price should be bottoming and heading higher, yet the actual price action is continuing downward.Bearish divergence occurs when a technical analysis indicator is suggesting that a price should be going down but the price of the stock, future, or currency pair is continuing to maintain its current uptrend.

Conclusion

The MACD indicator is special because it brings together momentum and trend in one indicator. This unique blend of trend and momentum can be applied to daily, weekly or monthly charts. The standard setting for MACD is the difference between the 12 and 26-period EMAs. The MACD is not particularly good for identifying overbought and oversold levels. Even though it is possible to identify levels that are historically overbought or oversold, the MACD does not have any upper or lower limits to bind its movement. During sharp moves, the MACD can continue to over-extend beyond its historical extremes.


Thank You !

Stochastics Indicator




What is Stochastic Indicator?


A technical momentum indicator that compares a security's closing price to its price range over a given time period. The oscillator's sensitivity to market movements can be reduced by adjusting the time period or by taking a moving average of the result. 


The indicator consists of two lines:
  • %K compares the latest closing price to the recent trading range.
  • %D is a signal line calculated by smoothing %K.





Calculation

The Stochastic Oscillator has four variables:
  1. %K Periods.
    This is the number of time periods used in the stochastic calculation.
     
  2. %K Slowing Periods.
    This value controls the internal smoothing of %K. A value of 1 is considered a fast stochastic; a value of 3 is considered a slow stochastic.
     
  3. %D Periods.
    This is the number of time periods used when calculating a moving average of %K. The moving average is called "%D" and is usually displayed as a dotted line on top of %K.
     
  4. %D Method.
    The method (i.e., Exponential, Simple, Time Series, Triangular, Variable, or Weighted) that is used to calculate %D.
     
The formula for %K is:



The Stochastic Oscillator always ranges between 0% and 100%. A reading of 0% shows that the security's close was the lowest price that the security has traded during the preceding x-time periods. A reading of 100% shows that the security's close was the highest price that the security has traded during the preceding x-time periods.


Stochastic Theory

The theory behind this indicator is that in an upward-trending market, prices tend to close near their high, and during a downward-trending market, prices tend to close near their low. Transaction signals occur when the %K crosses through a three-period moving average called the "%D".


Types of Stochastic Indicators


Stochastics Fast

It uses shorter Time Periods, and Shorter Averages – this creates more fluctuations but conversely also more false alarms
The Stochastic Fast is charted using the following two lines.
Fast %K: [(Close - Low) / (High - Low)] x 100 (shown as black line above)
Fast %D: Simple moving average of Fast K (3-day MA) (shown as blue “trigger line” above)

Stochastics Slow

It uses longer time periods and longer average periods – this creates a smoother flow and gives the ability to see trends clearer, the drawback is the Indicator lags price and is less responsive.
The Stochastic Slow is charted using the following two lines. 
Slow %K: Equal to Fast %D (3-day MA of Fast %K) (shown as black line above)
Slow %D: Simple moving average of Slow %K (shown as blue “trigger line” above)
Which is better? Well, the Stochastics Slow is usually preferred by most traders because is does not show as many false buy and sell signals.

Comparison of Stochastic Fast and Stochastic Slow



Conclusion

The stochastics indicator is for the most part a range pattern indicator. It is used to determine overbought/oversold levels in a manner similar to the RSI. The oversold level is at 20, while the overbought level resides at 80. Although this is the most basic way of using this indicator, it is in fact rarely used because of the tendency to create false signals. Instead, as with most other oscilators, convergence/divergence patterns are sought between the price and the indicator, and then trading decisions are made sometimes supported by secondary concepts like the price extremes, or crossovers that can sometimes signal momentum changes.
Both for the fast and slow stochastics indicators, indicator crossovers are used to create trade signals on the basis of the movement of the %K component. The %K component is the faster moving of the two components, and when it rises above, or falls below the slower %D, a buy or sell signal will be generated.


Thank You !

Bollinger Bands Indicators

What are Bollinger Bands?

Bollinger Bands is a versatile tool combining moving averages and standard deviations and is one of the most popular technical analysis tools available for traders. 


There are three components to the Bollinger Band indicator:

  • Moving Average: By default, a 20-period simple moving average is used.
  • Upper Band: The upper band is usually 2 standard deviations (calculated from 20-periods of closing data) above the moving average.
  • Lower Band: The lower band is usually 2 standard deviations below the moving average.
   



Significance of Bollinger Bands



  • Bollinger Bands help you to evaluate a stock’s volatility over time. When plotting Bollinger Bands on a chart will see one line above and one line below the price chart of the stock. When a stock is making major price movements or is very volatile its Bollinger Bands will be farther away (expand) from the stock’s price chart. When a stock is moving steadily with minor price movements, the Bollinger Bands will be closer to (contract upon) the stock’s price chart.

  • When stock prices continually touch the upper Bollinger Band, the prices are thought to be overbought; conversely, when they continually touch the lower band, prices are thought to be oversold, triggering a buy signal.

  • Sharp price changes tend to occur after the bands tighten, as volatility lessens.

  • When prices move outside the bands, a continuation of the current trend is implied.

  • Bottoms and tops made outside the bands followed by bottoms and tops made inside the bands call for reversals in the trend.
  •  



Uses of Bollinger Bands


Bollinger Bounce

A common technical use of Bollinger Bands ® is to predict when a stock’s price will “bounce” off the top or bottom Bollinger line and then return back towards the center of the Bollinger Bands ®. Therefore, giving a bullish indicator to a stock whose price is close to or touching the bottom Bollinger Band and a bearish indicator to a stock whose price is close to or touching the top Bollinger Band.

bollinger bounce

Bollinger bands are intended to illustrate a stock’s current support and resistance levels. This means a low price the stock does well stays above (support) and a high price the stock has difficulty breaking past (resistance).
Bollinger Squeeze

Another common technique used to predict trends with Bollinger Bands ® is called the Bollinger squeeze. When the bands contract so much that they begin to appear to “squeeze” the stock’s price chart, is when the Bollinger squeeze occurs. This is usually a a pending breakout which could be bullish or bearish. Should the stock’s price begin to break above the top Bollinger Band it is a bullish sign that the stock with continue an upward trend. If the stock’s price breaks through the lower band, it is a bearish sign that the downward trend will most likely continue.
bollinger squeeze


Conclusion

Bollinger Bands are a very popular indicator and the article describes many ways on how to use it. However, like most technical indicators, it should not be used alone. Bollinger Bands work best when combined with overbought/oversold oscillators. Since Bollinger Bands already take into account volatility and trend, a trader should not use indicators that duplicate this information. Instead indicators that measure volume, momentum, sentiment, open interest are better suited companions for the Bollinger Bands indicator. It is with this information in mind that the general rules presented here should not be taken by themselves as trading strategies.



Thank You !

Exponential Moving Average


What is Exponential Moving Average?

An Exponential Moving Average (EMA) assigns a weighting factor to each value in the data series according to its age. Here, too, the most recent data gets the greatest weight and each price value gets a smaller weight as we go back in the series chronologically. The weight of each data point decreases exponentially, hence the name.

First, calculate the simple moving average. An exponential moving average (EMA) has to start somewhere so a simple moving average is used as the previous period's EMA in the first calculation. Second, calculate the weighting multiplier. Third, calculate the exponential moving average. The formula below is for a 10-day EMA.

SMA: 10 period sum / 10 

Multiplier: (2 / (Time periods + 1) ) = (2 / (10 + 1) ) = 0.1818 (18.18%)

EMA: {Close - EMA(previous day)} x multiplier + EMA(previous day). 

Significance of EMA

Critics of the simple moving average argue that it is too simple in the sense that it gives the same weight to each point in moving average calculation. The problem with this it is argued is that the more recent data points deserve a greater weighting in the formula as they are more relevant to the future price action of the instrument. 

To solve this problem traders came up with the exponential moving average, which gives more weight to the more recent price points in calculating the moving average line.

Calculation

To Calculate an EMA
Current EMA= ((Price(current) - previous EMA)) X multiplier) + previous EMA. 


 The most important factor is the smoothing constant that = 2/(1+N) where N = the number of days. 


 A 10-day EMA = 2/( 10+1) = 18.8


 This means a 10-period EMA weights the most recent price 18.8%, a 20-day EMA 9.52 % and 50-day EMA 3.92% weight on the most recent day. The EMA works by weighting the difference between the current period's price and the previous EMA, and adding the result to the previous EMA. The shorter the period, the more weight applied to the most recent price.

With the EMA the calculation is a bit more complex in that it weighs the different closing prices within the moving average range. The EMA gives more weight to prices near the end of the range and less to those prices in the beginning of the range. This gives more influence to the current market activities of the stock. 

moving average ema


Thank You !