Thursday, March 1, 2012

MACD calculation




















MACD (Moving Average Convergence Divergence) Calculation




MACD Line: (12-day EMA - 26-day EMA)

Signal Line: 9-day EMA of MACD Line
MACD Histogram: MACD Line - Signal Line


The MACD Line is the 12-day Exponential Moving Average (EMA) less the 26-day EMA. Closing prices are used for these moving averages. A 9-day EMA of the MACD Line is plotted with the indicator to act as a signal line and identify turns. The MACD Histogram represents the difference between MACD and its 9-day EMA, the Signal line. The histogram is positive when the MACD Line is above its Signal line and negative when the MACD Line is below its Signal line.

The values of 12, 26 and 9 are the typical setting used with the MACD, however other values can be substituted depending on your trading style.

Where to get MACD for metarader
Macd is a free tool in Metatrader and is found through the navigator in indicators. Simple drag and drop on the chart.

History
Historically, the MACD was invented by Gerald Appel in the 1970s. Later, Thomas Aspray added a histogram to the MACD in 1986, as a means to anticipate MACD crossovers, an indicator of important moves in the underlying security.

Today, MACD is a common indicator in Metatrader and other trading platforms. MACD is often the basis of other advanced indicators and trading systems.

Indicator Components


The graph above shows a stock with a MACD indicator underneath it. The indicator shows a blue line, a red line, and a histogram or bar chart which calculates the difference between the two lines. Values are calculated from the price of the stock in the main part of the graph.

The period for the moving averages on which an MACD is based can vary, but the most commonly used parameters involve a faster EMA of 12 days, a slower EMA of 26 days, and the signal line as a 9 day EMA of the difference between the two. It is written in the form, MACD (faster, slower, signal) or in this case, MACD(12,26,9).

Standard Interpretation
Exponential moving averages highlight recent changes in a stock's price. By comparing EMAs of different lengths, the MACD line gauges changes in the trend of a stock. By then comparing differences in the change of that line to an average, an analyst can identify subtle shifts in the strength and direction of a stock's trend.


Traders recognize three meaningful signals generated by the MACD indicator.

When:
**the MACD line crosses the signal line
**the MACD line crosses zero
**there is a divergence between the MACD line and the price of the stock or between the histogram and the price of the stock


Graphically this corresponds to:
the blue line crossing the red line
the blue line crossing the x-axis (the straight black line in the middle of the indicator)
higher highs (lower lows) on the price graph but not on the blue line, or higher highs (lower lows) on the price graph but not on the bar graph


Signal–line crossover
Signal–line crossovers are the primary cues provided by the MACD. The standard interpretation is to buy when the MACD line crosses up through the signal line, or sell when it crosses down through the signal line.

The upwards move is called a bullish crossover and the downwards move a bearish crossover. Respectively, they indicate that the trend in the stock is about to accelerate in the direction of the crossover.

The histogram shows when a crossing occurs. Since the histogram is the difference between the MACD line and the signal line, when they cross there is no difference between them.

The histogram can also help in visualizing when the two lines are approaching a crossover. Though it may show a difference, the changing size of the difference can indicate the acceleration of a trend. A narrowing histogram suggests a crossover may be approaching, and a widening histogram suggests that an ongoing trend is likely to get even stronger.

While it is theoretically possible for a trend to increase indefinitely, under normal circumstances, even stocks moving drastically will eventually slow down, lest they go up to infinity or down to nothing.


Zero crossover
A crossing of the MACD line through zero happens when there is no difference between the fast and slow EMAs. A move from positive to negative is bearish and from negative to positive, bullish. Zero crossovers provide evidence of a change in the direction of a trend but less confirmation of its momentum than a signal line crossover.


Divergence
The third cue, divergence, refers to a discrepancy between the MACD line and the graph of the stock price. Positive divergence between the MACD and price arises when price hits a new low, but the MACD doesn't. This is interpreted as bullish, suggesting the downtrend may be nearly over. Negative divergence is when the stock price hits a new high but the MACD does not. This is interpreted as bearish, suggesting that recent price increases will not continue.

Divergence may also occur between the stock price and the histogram. If new high price levels are not confirmed by new high histogram levels, it is considered bearish; alternatively, if new low price levels are not confirmed by new low histogram levels, it is considered bullish.

Longer and sharper divergences—distinct peaks or troughs—are regarded as more significant than small, shallow patterns.


Timing
The MACD is only as useful as the context in which it is applied. An analyst might apply the MACD to a weekly scale before looking at a daily scale, in order to avoid making short term trades against the direction of the intermediate trend. Analysts will also vary the parameters of the MACD to track trends of varying duration. One popular short-term set-up, for example, is the (5,35,5).

False signals
Like any indicator, the MACD can generate false signals. A false positive, for example, would be a bullish crossover followed by a sudden decline in a stock. A false negative would be a situation where there was no bullish crossover, yet the stock accelerated suddenly upwards.

A filter can be applied to the signal line crossovers to ensure that they will hold. An example of a price filter would be to buy if the MACD line breaks above the signal line and then remains above it for three days. As with any filtering strategy, this reduces the probability of false signals but increases the frequency of missed profit.

Analysts use a variety of approaches to filter out false signals and confirm true ones.


----------------------
By Neal Vanderstelt
Forex Trader, Market Analyst, Trading System Designer
Please rate, recommend, and comment below:

22 comments:

  1. Hello Ya'll,

    I've attached a list of the most recommended forex brokers:
    1. Most Recommended Forex Broker
    2. eToro - $50 min. deposit.

    Here is a list of top forex tools:
    1. ForexTrendy - Recommended Probability Software.
    2. EA Builder - Custom Indicators Autotrading.
    3. Fast FX Profit - Secret Forex Strategy.

    I hope you find these lists helpful.

    ReplyDelete
  2. Thank you for your great post. It's really very informative and really helpful. Please Keep posting. Thanks again.
    23traders Tutor

    ReplyDelete
  3. A very useful concept important for traders has been discussed here. Traders must learn from such posts. Also they can consults experts from Financial Advisory Services providers for their suggestions to perform better.

    ReplyDelete
  4. Quantum Binary Signals

    Professional trading signals delivered to your mobile phone daily.

    Follow our signals today and earn up to 270% per day.

    ReplyDelete
  5. Forex Trendy is an advanced application capable of determining the most reliable continuation chart patterns. It scans through all the charts, on all time frames and analyzes every potential breakout.

    ReplyDelete
  6. GPS robot tripled the $100k deposit [live proof authenticated]

    I just finished a webinar with Mark and his partner, Antony, two days ago and it was GREAT.

    During the webinar MARK and ANTONY shared their secrets to success and answered questions about their new release of the GPS Forex Robot that came out TODAY!

    ReplyDelete
  7. If you need your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (even if they're dating somebody else now) you gotta watch this video
    right away...

    (VIDEO) Get your ex CRAWLING back to you...?

    ReplyDelete
  8. because the merchant does need a lot of study and practice diligently and FXB Trading helps me with this tool and offers trading platforms for various types of analytics tools. Now, it is possible for me to speculate wisely and to trade intelligently in the CFD market.

    ReplyDelete
  9. USA Forex Signal Provide best forex signals in the world. USA Forex Signal Provide free forex trading signals daily.
    What are the criteria for selecting USA Forex Signal provider for you?
    When you add USA Forex Signal provider, lead not look it to your reside account without the compulsion of investigation. These systems are primarily based on complicated statistical mathematics and algorithms in analyzing marketplace trends, predict, and predictions. USA Forex Signal is a worldwide and adeptly-known Forex signals Company. It is worldwide just about 400+ country SMS and worldwide Email coverage Forex Signals Company. It is top forex signals providers. There are lots of things which they manage to pay for to satisfy customer’s obsession and it incorporates the finding out method. These automated upon the web trading services proclamation you to review and trade hundreds of trading systems and Forex signals, stocks, and commodities.
    USA Forex Signal: http://www.usaforexsignal.com/

    ReplyDelete
  10. Most accurate forex signals service provider is Hot Forex Signal. Hot Forex Signal Provide best forex signals and forex trade copier service. To get this service you can get two option, one is trail another is premium. Trial signal services will provide you limited signals, on the other hand, the premium signals services will provide you their full service at a contracted period.
    Hot Forex Signal: http://www.hotforexsignal.com/

    ReplyDelete
  11. Most accurate forex signals service provider is Hot Forex Signal . Hot Forex Signal Provide best forex signals and forex trade copier service. To get this service you can get two option, one is trail another is premium. Trial signal services will provide you limited signals, on the other hand, the premium signals services will provide you their full service at a contracted period. Let Visit For forex signals provider
    Hot Forex Signal: http://www.hotforexsignal.com/

    ReplyDelete
  12. Nice to be visiting your blog once more, it has been months for me. Well this article that ive been waited for therefore long. i want this article to finish my assignment within the faculty, and it has same topic together with your article. Thanks, nice share.
    best forex signals

    ReplyDelete
  13. commodities-signals help you to trade in the right direction so make sure you never miss a trading opportunity by checking them on a regular basis.

    ReplyDelete
  14. I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!..
    vfxalert

    ReplyDelete
  15. Let me explain the basic principle how most Forex systems work. They are tuned up to work in a specific market condition. They often make money in a trending market, but loose money in a choppy market. It is not a problem as long as the market is trending and the system is making more money than it loses. Such a system can be profitable for several months and you would be happy with it. BUT...

    PREPARE FOR THE WORST...

    Market change over time. A well designed system starts with trend analysis to stay away from potentially losing trades. There are two problems of how a Forex system recognizes the trend.

    PROBLEM: FALSE "STRONG TREND" INDICATION.

    The system responds only to immediate price action. An explosive price movement that is usually the result of news release is tempting people to jump in and make a profit. It looks like a "strong trend", but what usually happens next is a hard fall.

    To avoid falling into this trap, check for the SOLUTION to find a REAL trend:

    ==> http://www.forextrendy.com?vgcvasdiugf9g87346

    SECOND PROBLEM: TREND RELIABILITY

    Most systems use various indicators to determine the trend. Actually, there is nothing bad about using indicators. One Simply Moving Average can do the job. The problem comes with the question: "Is the market trending NOW?" Whether the market is trending or not trending is not like black and white. The correct question is: "How well the market is trending?"

    And here we have something called TREND RELIABILITY.

    Trends exist and they can be traded up and down for a profit. You have to focus only on the most reliable market trends. "Forex Trendy" is a software solution to find the BEST trending currency pairs, time frames and compute the trend reliability for each Forex chart:

    ==> http://www.forextrendy.com?vgcvasdiugf9g87346

    ReplyDelete
  16. Let me explain the basic principle how most Forex systems work. They are tuned up to work in a specific market condition. They often make money in a trending market, but loose money in a choppy market. It is not a problem as long as the market is trending and the system is making more money than it loses. Such a system can be profitable for several months and you would be happy with it. BUT...
    PREPARE FOR THE WORST...
    Market change over time. A well designed system starts with trend analysis to stay away from potentially losing trades. There are two problems of how a Forex system recognizes the trend.
    PROBLEM: FALSE "STRONG TREND" INDICATION.
    The system responds only to immediate price action. An explosive price movement that is usually the result of news release is tempting people to jump in and make a profit. It looks like a "strong trend", but what usually happens next is a hard fall.
    To avoid falling into this trap, check for the SOLUTION to find a REAL trend:
    ==> http://www.forextrendy.com?nsjjd92834
    SECOND PROBLEM: TREND RELIABILITY
    Most systems use various indicators to determine the trend. Actually, there is nothing bad about using indicators. One Simply Moving Average can do the job. The problem comes with the question: "Is the market trending NOW?" Whether the market is trending or not trending is not like black and white. The correct question is: "How well the market is trending?"
    And here we have something called TREND RELIABILITY.
    Trends exist and they can be traded up and down for a profit. You have to focus only on the most reliable market trends. "Forex Trendy" is a software solution to find the BEST trending currency pairs, time frames and compute the trend reliability for each Forex chart:
    ==> http://www.forextrendy.com?nsjjd92834

    ReplyDelete
  17. Q: Which platform to use with this software?
    A: You can use any trading platform! Yes, you can use MetaTrader 4, MetaTrader 5, TradeStation, NinjaTrader... because the software runs on dedicated computers and you only need a web browser to get the instant result online.

    Q: How many currency pairs does Forex Trendy scan?
    A: It scans 34 Forex pairs on 9 time frames from 1-minute to monthly. Together 34 pairs x 9 time frames = 306 charts.

    Q: What method is used to determine the trend?
    A: The trend reliability is determined by the "Trend Drawdown" - a method that uses no indicators, but pure price action. This method is explained in the ebook you will get in the subscription.

    Q: Which configuration do I need?
    A: Use the latest version of any major web browser (Internet Explorer, Firefox, Chrome, Safari, Opera...)

    Q: Does it work on mobile devices?
    A: Yes, it has been tested on several mobile devices and browsers.

    Try it now:

    http://www.forextrendy.com?laush394758


    "I really like your idea of taking only the best trending pair and even time frame. I am very impressed with such a simple and effective approach. I am not a tech guy and I am amazed how it works online without anything to install... I just log in two times a day and check for any interesting pairs."

    Stephen Ross, NY

    "I use this software every day together with my own system and two EAs. I execute trades only when trend drawdown is below 15% so I decreased the trade frequency, but I got two times better results. I am also interested in pattern recognition, I haven't tried it yet, but it looks amazing!"

    Julien Labonne, Florida, USA

    "I would highly recommend this service to anyone serious about forex trading. Another one that gives back much more than he receives. The real value for such a low price is rare in the forex industry."

    Sebastian, Germany

    http://www.forextrendy.com?laush394758

    ReplyDelete
  18. Do you think that to dramatically improve your success rate you have to read tons of thick books, buy expensive software and spend countless hours of learning more about Forex?

    What I'm going to share with you is something very EASY to use and very POWERFUL at the same time.

    Let me give you an EXAMPLE:

    Imagine you trade a system that makes 50% winning trades, but another 50% are losing trades. If you increase your odds of winning by only 20%, that would make 70% winning trades and 30% losing trades.

    Well, HOW TO accomplish that?

    Just pick the best trending pair at the current time and simply follow the trend! I have found ONE INCREDIBLE TOOL that continuously scans the Forex market and picks the most reliable trending pairs for you.

    http://www.forextrendy.com?ljsjhd8374h

    By taking signals in the direction of a strong trend you would REDUCE UNNECESSARY LOSSES and increase the odds of winning. You need to know "how well" the market is trending to avoid very short-term trends.

    STOP hunting the market for every potential trade. Pick only the best trending pairs and time frames and DO NOT take any trading signals in the choppy market (unless you know exactly what you are doing).

    Successful traders keep it simple and this is the way how the pros made fortunes in the markets - by trading less and making more.

    To increase the profitability of any system or robot you are currently using, check out this easy and powerful ultimate solution:

    http://www.forextrendy.com?ljsjhd8374h

    ReplyDelete
  19. Q: Which platform to use with this software?
    A: You can use any trading platform! Yes, you can use MetaTrader 4, MetaTrader 5, TradeStation, NinjaTrader... because the software runs on dedicated computers and you only need a web browser to get the instant result online.

    Q: How many currency pairs does Forex Trendy scan?
    A: It scans 34 Forex pairs on 9 time frames from 1-minute to monthly. Together 34 pairs x 9 time frames = 306 charts.

    Q: What method is used to determine the trend?
    A: The trend reliability is determined by the "Trend Drawdown" - a method that uses no indicators, but pure price action. This method is explained in the ebook you will get in the subscription.

    Q: Which configuration do I need?
    A: Use the latest version of any major web browser (Internet Explorer, Firefox, Chrome, Safari, Opera...)

    Q: Does it work on mobile devices?
    A: Yes, it has been tested on several mobile devices and browsers.

    Try it now:

    http://www.forextrendy.com?laush394758


    "I really like your idea of taking only the best trending pair and even time frame. I am very impressed with such a simple and effective approach. I am not a tech guy and I am amazed how it works online without anything to install... I just log in two times a day and check for any interesting pairs."

    Stephen Ross, NY

    "I use this software every day together with my own system and two EAs. I execute trades only when trend drawdown is below 15% so I decreased the trade frequency, but I got two times better results. I am also interested in pattern recognition, I haven't tried it yet, but it looks amazing!"

    Julien Labonne, Florida, USA

    "I would highly recommend this service to anyone serious about forex trading. Another one that gives back much more than he receives. The real value for such a low price is rare in the forex industry."

    Sebastian, Germany

    http://www.forextrendy.com?laush394758

    ReplyDelete
  20. https://mail.google.com/mail/u/0/#inbox/163f9b0f7fbc81bc

    ReplyDelete
  21. Drawing trend lines is one of the few easy techniques that really WORK. Prices respect a trend line, or break through it resulting in a massive move. Drawing good trend lines is the MOST REWARDING skill.

    The problem is, as you may have already experienced, too many false breakouts. You see trend lines everywhere, however not all trend lines should be considered. You have to distinguish between STRONG and WEAK trend lines.

    One good guideline is that a strong trend line should have AT LEAST THREE touching points. Trend lines with more than four touching points are MONSTER trend lines and you should be always prepared for the massive breakout!

    This sophisticated software automatically draws only the strongest trend lines and recognizes the most reliable chart patterns formed by trend lines...

    http://www.forextrendy.com?kdhfhs93874

    Chart patterns such as "Triangles, Flags and Wedges" are price formations that will provide you with consistent profits.

    Before the age of computing power, the professionals used to analyze every single chart to search for chart patterns. This kind of analysis was very time consuming, but it was worth it. Now it's time to use powerful dedicated computers that will do the job for you:

    http://www.forextrendy.com?kdhfhs93874

    ReplyDelete