Showing posts with label Moving Average. Show all posts
Showing posts with label Moving Average. Show all posts

Tuesday, August 02, 2011

5 EMAS concept behind exchange system

What is Emma? 5 EMAS concept behind exchange system

There is a concept in forex trading and trade in general used as an indicator by many forex traders. This widely used concept is that the "moving average". It is used in the field of finance and specially with technical analysis. It belongs to the family of very similar statistical techniques widely used to analyze time series data.

You can calculate the moving average for each time series, but in our case we are most concerned about this average is calculated over a pair of currency prices over time. The average quantity r can bee seen as smoothed representation of the current market activity and trend indicator affect market behavior. Thus highlighting the long-term trends or cycles. The boundary between short and long term depends on the market will be monitored and the parameters of moving average should be set accordingly.

There are three main types of moving averages. Simple moving average, weighted moving average and exponential moving averages. They range on average, but differ on how much time is counted for the final value of the indicator.

In the case of exponential Moving Average (EMA), which is also called exponentially weighted moving Average (EWMA) Sometimes, in the calculation of the formula is applied weight factors that decrease exponentially. What this means is that more weight (importance) is given the latest data.

From this definition we can conclude that the exponential moving average reacts faster to recent price changes than a simple moving average. On 12 and 26 are the most popular day EMAS term averages. In general, 50 - and 200-day EMAS used as signals for long-term trends.

Monday, August 01, 2011

Weighted Moving Average WMA

Weighted Moving Average WMA

Nature is characteristic for all types of moving averages to smooth the price performance of the first and second, the time lag with which follows the basic indicator of the value curve. While the first property is desirable, the time delay caused by numerous developments of the simple moving average SMA attempts to reduce.

The simplest evolution of the SMA represents the Weighted Moving Average WMA, which performs a linear weighting of price data, recent data have a correspondingly higher proportion allocated for the indicator calculation, the elderly due to their low explanatory power a smaller share. When a WMA Linare weighting is used which means that subject to the weighting factor from the beginning to the end of a uniform change. For example, an average calculated from 10 periods we get the new course the weight 10, the second-latest the 9 weights up to the oldest course with the first weighting The products are then summed and divided by the sum of the weighting factors.


If one compares the course of the weighted moving average with the simple, it is striking that the indicator line closer to the price performance of the underlying asset is present, the delay component can be reduced and consequently turning points are tracked early. Weighted moving averages are characterized by a good combination of sensitivity and smoothing effect. Movement patterns in the underlying security be understood relatively well, but has the trend-following indicator from a fairly smooth progression, which is important with regard to the avoidance of too many false signals. The most important application of the outlined concept is seen as a signal line in the integration of indicators with a soft course (reasons in the last sentence!). Furthermore, the WMA is often also a component of signaling systems in several sections.

Order is a variation on the concept presented it at the Volume Weighted Moving Average (VWMA). The weighting factor is independent of the temporal moment, instead, the trade volume used. The mother indicator will follow high-volume trading days, a higher and those with lower volume, a lower weight. It is calculated by multiplying the sum of the prices with the respective volume and dividing by the sum of trade volume.

Simple Moving Average SMA

Simple Moving Average SMA

The easiest way to see a chart image information to the adjusted trend is the Simple Moving Average number of course, in English, "Simple Moving Average", dar. Viewed from the mathematical side it is the arithmetic mean of a number of individual series length. In spite of - in Vegleich to other highly complex indicator systems - simple derivation of the simplest form of averaging is still of great practical importance, the most important application areas are the traditional trend determination, integration into automated trading systems and the use as a signal line in combination with other indicators.

The mathematical derivation corresponds - as already noted - the calculation of the arithmetic mean, there are added up the prices of the observation period and then divided by the period length. Instead of closing prices, other data are used to meet often, for example, the use of the average trading volume or the average trading range.


The term "gliding" derives from the fact that with this form of averaging is always the oldest course the currently added "sacrificed." Basically, that determine the length of the period specified affects the intensity of the smoothing. Shorter periods (eg 10 days) result in that the indicator follows the price trend relatively narrow, the famous 200-day moving average (SMA with period thus giving 200 days), however, has a very large inertia.

As the mother of all moving Simple Moving Average number of points on why certain disadvantages Avergae also created several variations on the original concept over the years. To call in the first place is the inertia of the SMA (often referred to as "lag") and the equal weighting of all the records in the period. Thus, the last course in a 14-day moving average value for the same course as the first indicator value. In the event that a market value greater deviation from the sliding calculation falls out it can cause major distortions.

Exponential Moving Average EMA

Exponential Moving Average EMA

The concept of moving averages with the Simple Moving Average SMA has an indicator to the mother as the most important properties a (legitimate) smoothing of the price performance and a delay component. The latter part (so to speak, a "chasing after" the indicator line) is trying to mitigate through various developments of the concept.

The second stage of development represents the Exponential Moving Average EMA, in contrast to the Weighted Moving Average WMA is not a linear weighting of price data used, but - as the name suggests - an exponential. While the SMA and also eliminates the WMA with each new trading period, the oldest value in favor of the current, takes place during an ongoing EMA calculation. The indicator value of the last trading period, a fraction of the current value is added. The exponential data weighting ensures that the older market prices from day to day are losing influence.

The main plus point of the EMA is the high sensitivity, with complete preservation of the smoothing properties of the delay component is significantly reduced, the indicator curve is much closer to the base price performance than the mathematical arithmetic means is the case. As for the comparison between the weighted and exponential moving average this way can hardly make a general statement which is preferable to average even if the EMA to play in theory and practice something more important.


The mathematical calculation of the EMA is relatively complex, as it is handled reliably in most cases by the various charting programs, the trader must hierum not care in detail. The crucial importance is the weighting factor plays, which is viewed by many sources from earlier days, a pure percentage (ie 1 divided by the calculation period), but is now found in most cases by dividing by 2 and (calculation period + 1). The Berechnungsperode (usually 10 or 5 days) is no less exclusively the determination of the weighting factor intended, since the indicator itself so all the base price data are used. The current EMA value is calculated by multiplying the difference from yesterday's price and based on current indicator value with the weighting factor and added to the indicator value is the previous period. Interpretation and Uses of the EMA models correspond to the average in the simpler species, a practice known extension is the Moving Average Convergence / Divergence - is an indicator that is based on two EMAs and represents the difference between shorter and longer average.

If instead the price of the volume to determine the weighting factor used so we come to the Elastic Volume Weighted Moving Average (EVWMA). It is also an exponential averaging, the daily change in trading volume provides here for a permanent adjustment of the weighting factor. To determine a standard value for the daily volume and a divisor is used for the Reagibilitätssteuerung. Trading periods with increasing volume go with a smaller weighting factor and a sluggish course associated indicator, periods with falling volume corresponding with a larger weighting factor and a higher sensitivity. The Elastic Volume Weighted Moving Average is often used as a trend filter (able to average closing price) and the signal generator (intersections Underlying / indicator).

A certain degree of practical relevance is also still the Modified Exponential Moving Average (MEMA) to this combined with the simple exponential moving average approach. MEMA, the first-value (nth term) corresponds to the SMA, the first n indicator values. The further calculation is then similar to the EMA but one Gewichtungsfaktort of 1 / n is used.

Adaptive moving average crossover

Adaptive moving average crossover AMA

Adaptive Moving Average technical analysis indicator changes its sensitivity to price Simple Moving Average (SMA) · Moving Average Crossovers In the advanced representatives of the family comes the moving averages - as in the corresponding contributions read - a weighting factor is used, which should reduce the delay component of the concept. Fundamental problem with the indicator forms hitherto considered is the fact that the weighting factor regardless of the current market situation is steady, in phases so hectic market reacts the same way as in quiet.

This suggests an adaptive moving average crossover system that is virtually free of whipsaw trades. This disadvantage is trying to come forward with so-called adaptive indicators, which include going back to the P. Kaufman Adaptive Moving Average (AMA). Basic indicators of concern to all adaptive approach is an adaptation of calculating length or weight of the indicator to current market conditions with the aim to create responsive systems of indicators, their values ​​change understand the volatility of the underlying security.

Known examples of practice from the family of adaptive indicators are the Dynamic Momentum Index Dynamic and Variable Index Average. Based on the measured intensity fluctuation is a constant adjustment of length or weight adjustment calculation. Both mentioned approaches have in common the goal that the indicator responds more quickly during periods of hectic market, price movements rather then reproduces, however, in flat markets, a slower reaction and thus a slower succession over the base value profile desired.


The Adaptive Moving Average by Kaufman has exactly the opposite goal as described in the previous section Variable Index Dynamic Average. Common to both approaches, the use of an exponential average as a base, but Kaufman would create a trend filter in the form that the indicator during quiet market periods behaves slower than in strong trending markets. This is achieved by changing the weighting factor in calculating the exponential average.

Adaptive Moving Average - Buy Signal. Moving Average crossover. The mathematical derivation of the AMA is not easy and should not be deepened further at this point. It was in this context merely noted that the so-called efficiency ratio is responsible for scaling the weighting factor. This is about the relationship between net price movement (absolute price change in the viewing range) and the gross price movement (sum of all price changes in the viewing range). The efficiency ratio is a good measure of whether certain price movements are at a uniform level (ratio close to 1) or recorded a very volatile history was (ratio tends to 0).

The weighting factor, which told how to calculate concrete left out, is responsible for the sensitivity of the indicator, high efficiency trend is associated with a high weighting factor, low with correspondingly low. In summary, it can be said that the Adaptive Moving Average is in the family of the moving averages the most appropriate trend filter although this concept due to the delay component is included.

A particularly creative continuation represents the Fractal Adaptive Moving Average (FRAMA) dar. This indicator goes back to John Ehlers, who has the mathematical methods of signal filtering and analysis cycle prescribed. Based on an exponential moving average is calculated Ehlers Fraktakle the dimension N, with the aim of adjusting the weighting factor to the prevailing volatility and the price trend. The result is an indicator that reacts during the trend toward more stable phases very quickly to changes in volatile sideways markets, but behaves very sluggish.

Friday, July 29, 2011

Moving Averages to identify trends


Moving Averages

Moving Averages are among the most popular indicators in technical analysis. They smooth the price development over time and make it easier to identify trends. This can be particularly useful in volatile times.

There are two types of moving averages:

Simple moving averages (SMAs)
SMAs calculate the average price development over time.
If we have for example five daily bars that close to the prices 10,15,20,25,30, the SMA has the value (10 +15 +20 +25 +30) / 5 = 20 If the price rises on 6 To 100 days now, has the value of the SMA (10 +15 +20 +25 +30 +100) / 6 = 33.34.

Exponential Moving Averages (EMAs)
EMAs SMAs as well as calculate the average price development, but with the difference that a greater emphasis on the past short rates. The calculation is fairly complex and I did without further explanation here, since most trading programs automatically calculate the EMAs in seconds.
Moving averages are among other property, often to react as resistance and support. As you can see from the attached chart, the price is 5 times in the vicinity of the 150 EMAs come and jump back. This could be concluded that we were still on the rise. So if we had found in the vicinity of the 150 EMA line ups good to buy, we had always been in excellent trades.


In addition, Moving Averages can show us whether we are still in fashion, or whether a change has taken place. Once again, we can again use the 150 Exponential Moving Averages (EMAs). As the chart from March to July was in a sideways trend began to flatten the slope of the EMAs. Finally, the price began to break through the Exponential Moving Averages (EMAs) and was pointed out very strongly to the bottom. The breaching of the Exponential Moving Averages (EMAs) was also an indication of a trend change. Long-term traders could set their stop loss below the moving average, as long as possible in order to remain in vogue.

For many Forex traders popular moving averages are the 150 and 365 EMAs because they often act as support and resistance and show long-term trends.

Friday, July 22, 2011

mtf moving average ex4


MTF Moving Average Platform Tech. Here's an indicator that can display moving averages from different timeframes and uses interpolation:Hi, attached is a Multi-Timeframe (MTF) Moving Average that I've developed. MTF Moving Average.ex4

Price cross overs moving average excel

price cross overs moving average excel
The aim of this section is to allow you to calculate simple moving average using Excel and make use of Moving Average Crossover to determine buy / sell .And Also you can find and learn more about the weighted moving average excel plus forex moving average crossover indicator. volume weighted moving average

Thursday, July 21, 2011

Moving Average as support resistance


Moving Average as support resistance - A technical analysis term meaning the average price of a security over a specified period (usually 20, 30, 50, 100 and 200 days) are used in order to spot pricing trends leveling of large fluctuations. This is perhaps the most commonly used variable in technical analysis. Moving Average data is used to create charts that show whether the stock price is trending up or down. They can be used to monitor daily, weekly, or monthly patterns. (Or week or month) numbers each new day is added and the oldest of the average numbers are reduced, so that the average "moves" over time. In general, the shorter the time frame used, the more volatile the prices will appear, so, for example, 20 day Moving Average lines tend to move up and down more than 200 day moving average line.

Sunday, May 29, 2011

3-period moving average

A study published in the Encyclopedia of Technical Market Indicators "found some very good signals were given by 39 unsmoothed period stochastic oscillator (k = 39, no signal line). A buy signal is generated when K crosses above 50% and the closing price is higher than the close of the previous week. Sell ​​and / or sell short signals are created when the K line crosses below 50% and the closing price is below the low close of the previous week. Taking a longer period, rather than smoothing the data over a 3-period moving average allows the analyst to view Lane's Stochastic.

Moving averages


Moving averages smooth the price data to establish a trend following indicator. They do not predict price direction, but to define the current direction with the delay. Moving averages are lagging behind because they are based on recent prices. Despite this lag, moving averages help smooth price action and filter noise. They also form the building blocks for many other technical indicators and overlays, such as Bollinger Bands, MACD and the McClellan Oscillator. The two most popular types of moving averages are the Simple Moving Average (SMA) and exponential moving average (EMA). These moving averages can be used to identify the direction of trends or define potential support and resistance levels.
Calculation SMA

A simple moving average is formed by calculating the average cost of security over a specified number of periods. Most moving averages are based on closing prices. A 5-day simple moving average is five days a sum of closing prices divided by five. As the name implies, the moving average on average it moves. The old data is dropped as new data comes available. This causes the average to move along the time scale. Below is an example of a 5-day moving average is developed over three days.

Daily Closing Prices: 11,12,13,14,15,16,17

First day on day 5-SMA: (11 + 12 + 13 + 14 + 15) / 5 = 13

Second day of 5 day-SMA (12 + 13 + 14 + 15 + 16) / 5 = 14

Third day on day 5-SMA: (13 + 14 + 15 + 16 + 17) / 5 = 15

On the first day moving average just covers the last five days. The second day moving average drops first data point (11) and adds the new data point (16). On the third day moving average continues to decline the first data point (12) and adding new data point (17). In the example above, the price gradually increases from 11 to 17 during the seven days. Note also that average rises ranging from 13 to 15 in three days during the accounting period. Also note that any moving average value is just below the last price. For example, moving average for one day is 13 and the final price is 15. Prices of previous four days were lower and this causes the moving average to lag.
Calculating EMA

Exponential moving averages reduce the lag by applying more weight to recent prices. The weight to apply the latest price depends on the number of periods in the moving average. There are three steps for calculating the exponential moving average. First, calculate the simple moving average. Exponential moving average (EMA) is to start somewhere so simple moving average is used as EMA in the first period of the previous calculation. Second, calculate the weight of the multiplier. Thirdly, calculating the exponential moving average. The formula below is for 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).


A 10-period exponential moving average of 18.18% applies weight to the latest price. A 10-period EMA, may also be called 18.18% EMA. A 20-period EMA refers to the measurement of 9.52% latest price (2 / (20 +1) = .0952). Note that weight for a shorter time period is over weight for a longer period of time. In fact, the weight drops by half every time the moving average period doubles.

Below is a table example of a 10-day simple moving average and 10-day exponential moving average for Intel. Simple moving averages are straightforward and require little explanation. The 10-day simple moving average as the new prices will become available and old prices drop. Exponential moving average starts with a simple moving average (22.22) in the first calculation. After the first calculation formula normally take. Because the EMA starts with a simple moving average, its real value will be realized up to 20 times or so later. In other words, the value of the table into Excel may differ from the table value as a short look back period. This chart only goes back 30 times, which means that the influence of a simple moving average has 20 times for breaking up. Stockcharts.com 250-back periods for its calculations, so the effects of a simple moving average in the first calculation are fully used.

The moving average - Table

Click here to download this table instance.

The moving average - Table 1
The Lag Factor

The longer the moving average, the more lag. A 10-day exponential moving average price will embrace very carefully and turn quickly turn prices. Short moving averages like speed boats - nimble and quick to change. In contrast, the 100-day moving average contains many data which slows down the past. Longer moving averages are like ocean tankers - lethargic and slow to change. It takes larger and larger price movement of 100-day moving average to change course. Table 2 shows the S & P 500 ETF with a 10-day EMA carefully monitor prices and 100-day SMA grind higher. Even with the decline from January to February, the 100-day SMA held a course and do not turn down. On day 50-SMA fits somewhere between 10 and 100 day moving average when it comes to lag factor.

The moving average - Chart 2
Simple vs. Exponential

Although there are clear differences between the simple moving average and exponential moving average, is not always better than others. Exponential moving averages are lagging behind and therefore less sensitive to recent prices - and recent changes in prices. Exponential moving averages will be converted to simple moving averages. Simple moving averages, on the other hand, represent a true average of prices for the entire period. As such, the simple moving averages may be better suited to identify support or resistance levels.

Moving average depends on the choice of the objectives, analytical style and time horizon. Chartists should experiment with both types of moving averages, as well as different deadlines to find the best fit. Table 2 shows IBM, with 50 day-SMA in red, and 50-day EMA in green. Both peaked in late January but the fall in the EMA is sharper than the fall of the SMA. EMA appeared in mid-February, but SMA extended below the end of March. Note that the SMA appeared in over a month after the EMA.

The moving average - Figure 3
Lengths and dynamics

The length of the moving average depends on the analytical objectives. Short moving averages (5-20 times) are best suited for short-term trends and trade. Chartists interested midterm trends will opt for longer moving averages that can be expanded from 20 to 60 periods. Long-term investors will want the moving average with 100 or more periods.

Some moving average lengths are more popular than others. The 200-day moving average is perhaps the most popular. Due to its length, this is clearly a long-term moving average. Next, the 50-day moving average is quite popular for medium-term trend. Many chartists use the 50-day and 200-day moving averages together. Short term, the 10-day moving average was quite popular in the past because it was easy to calculate. One simply add numbers and moved the decimal point.
Identify trend

The same signals can be generated using simple or exponential moving averages. As noted above, the choice depends on each individual. These examples below will use both simple and exponential moving averages. The term "moving average" refers to the simple and exponential moving averages.

The direction of average motion carries important information about prices. A rising moving average shows that prices generally rise. A falling moving average indicates that prices, on average, are falling. A rising long-term moving average reflects the long-term uptrend. A falling long-term moving average reflects the long-term downtrend.

The moving average - Table 4

Table 4 shows the 3M (MMM), a 150-day exponential moving average. This example shows just how well moving averages work when the trend is strong. A 150 day EMA rejected in November 2007 and again in January 2008. We note that this 15% decline to reverse the direction of this moving average. These lagging indicators identify trend reversals as they occur (at best) or after they occur (at worst). You know continue lower in March 2009, then increased 40-50%. Note that the 150-day EMA did not turn up until after this wave. Once I do that, however, continued higher You know the next 12 months. Moving averages work brilliantly in strong trends.
Double crossovers

Two moving averages can be used together to generate crossover signals. In a technical analysis of financial markets, John Murphy calls this "double-crossover method. Double crossovers involve a relatively short moving average and a relatively long moving average. As with all moving averages, the general length of the moving average defined time frame for the system. A system using a 5-day EMA and 35-day EMA will be considered short term. A system using 50-SMA and 200 day-SMA day is considered the medium term, perhaps even the long term.

A bullish crossover occurs when the shorter moving average crosses above a longer moving average. This is also known as the golden cross. A bullish crossover occurs when the shorter moving average crosses below the longer moving average. This is known as a dead cross.

Moving average crossovers produce relatively late signals. Anyway, the system has two trailing indicators. The longer the moving average periods, the greater the delay in signals. These signals big deal when a trend is a good place. However, moving average crossover system will produce very whipsaws in the absence of a strong trend.

There is also a triple crossover method which consists of three moving averages. Again, a signal is generated when the shortest moving average crosses over two moving averages. Simple triple crossover system may include 5-day, 10-day and 20-day moving average.

The moving average - Graph 5

Figure 5 shows Home Depot (HD), a 10-day EMA (green dotted line) and 50-day EMA (red line). The black line is the daily close. Using a moving average crossover would result in three whipsaws before catching a good trade. The 10-day EMA break below the 50-day EMA at the end of October (1), but it did not last long, as 10-day back up in mid-November (2). This cross lasted longer, but the next bearish crossover in January (3) occurred near the end of November price levels, resulting in another whipsaw. This bearish cross did not last long, as 10-day EMA is back above 50-day several days later (4). After three bad signals, the fourth signal predicted a strong move as the stock advanced more than 20%.

There are two takeaways here. First, crossovers are prone to whipsaw. The price or time filter can be applied to prevent whipsaws. Traders may require a crossover of the last 3 days before acting or ask for a 10-day EMA to move above / below 50 day EMA with a certain amount before you act. Secondly, MACD can be used to identify and quantify these crossovers. MACD (10,50,1), will represent the difference between two exponential moving averages. MACD turns positive during a golden cross and negative during the dead cross. Percentage Price Oscillator (PPO) can be used in the same way to show the percentage differences. Note that the MACD and PPO are based on exponential moving average and will coincide with a simple moving average.

The moving average - Graph 6

Figure 6 shows Oracle (ORCL) with a 50-day EMA, 200-day EMA and MACD (50,200,1). There were four moving average crossovers about 2 1 / 2 years. The first three resulted in whipsaws or bad trades. A steady trend started as a fourth crossover ORCL advanced to the mid-20th Once again, moving average crossovers big deal when the trend is strong, but produces losses in the absence of trend.
Price crossovers

The moving average also can be used to generate signals with simple price crossovers. A bullish signal is generated when prices move above the moving average. A bearish signal is generated when prices move below the moving average. Price crossovers can be combined to trade within a larger trend. The longer the moving average sets the tone for a larger trend and the shorter moving average is used to generate signals. One will look for the bullish price crosses only when prices are already above the long moving average. This will be trading in harmony with the increasing trend. For example, if the price is above the 200-day moving average, chartists will only focus on alerts when the price moves above the 50-day moving average. Obviously, a step below the 50-day moving average would precede such a signal, but such a bearish cross will be taken into account, since larger trend is up. A bearish cross would simply propose the withdrawal within a larger uptrend. A cross back over the 50-day moving average would signal a reversal in prices and the continuation of major uptrend.

Figure 7 shows Emerson Electric (EMR) with a 50-day EMA and 200-day EMA. The stock moved above and held over 200-day moving average in August. There were dips below 50-day EMA in early November and again in early February. Prices quickly back over the 50-day EMA to provide bullish signals (green arrow) in harmony with the larger uptrend. MACD (1,50,1) is displayed in the window to confirm the price indicator crosses above or below 50-day EMA. The 1-day EMA is equal to the closing price. MACD (1,50,1) is positive when close above 50-day EMA and negative when in close under the 50-day EMA.

The moving average - Graph 7
Support and resistance

The moving average also can act as support in the uptrend and resistance in a downtrend. A short term uptrend can find support near the 20-day simple moving average, which is also used in Bollinger bands. The long-term uptrend can find support near the 200-day simple moving average, which is the most popular long-term moving average. If fact, the 200-day moving average may offer support or resistance simply because it is so widely used. It's almost like a self-fulfilling prophecy.

The moving average - Graph 8

Graph 8 shows the New York Composite 200-day simple moving average since mid-2004 until the end of 2008. The 200-day support provided countless times during the advance. Since the opposite trend with a double top support a pause, the 200-day moving average acted as resistance around the 9500th

Do not expect total support and resistance levels of the moving averages, especially in the moving average. Markets are driven by emotions, making them prone to overshoots. Instead of true levels, moving averages can be used to identify support or resistance zones.
Conclusions

The advantages of using moving averages should be weighed against the disadvantages. Moving averages are trend following, or lagging, indicators that will always be a step behind. This is not necessarily a bad thing though. Anyway, the trend is your friend and it is best to trade in the direction of the trend. Moving averages ensure that the trader is in line with the current trend. Although this trend is your friend, securities spend a lot of time in trading ranges, which render moving averages ineffective. Once the trend, moving averages will keep you in, but also give late signals. Do not expect to sell at the top and bottom purchase using moving averages. As with most technical analysis tools, moving averages should not be used on their own, but combined with other complementary tools. Chartists can use moving averages to define the overall trend and then use the RSI to define overbought or oversold levels.
Mas and SharpCharts

Moving averages are available as cost overlay feature SharpCharts. The overlay option price, users can choose either a simple moving average or exponential moving averages. The first parameter is used to set the number of periods. The second optional parameter can be added to shift the moving average of the left (past) or right (future). Negative numbers (-10) will shift the moving average from the left 10 times. A positive number (10) will shift the moving average of the right 10 times. Use a comma to separate the moving average parameter shift parameter.

Saturday, May 28, 2011

The Moving Average


Moving Average The Moving Average Technical Indicator shows the mean instrument price value for a certain period of time. Averages/Simple moving average You are encouraged to solve this task according to the task description, using any language you may know.Mean of time series data (observations equally spaced in time) from several consecutive periods. Moving Average Many successful investors and traders make use of trends to profit from the market, and Moving Average is one of the most important methods for identifying Moving Average High, Low & Open. A new variation on the moving average system is to calculate moving averages on the Highs, Lows or Opens, rather than on the Close.

Thursday, May 26, 2011

AMA adaptive sliding average

Hello dear readers! More a reader asked me to copy with or Omegi Metadrain AMA adaptive sliding average) Kaufmana. The release today will write it on the indicator.
19.1 Algorithm

Detailed description of the indicator and the algorithm of its work is to be said Konstantin Kopyrkinym, the clause "Dynamic sliding average.? Anou2", journal Modern trading. Clause in PDF format (475 KB), can address skachat

BUT it Kaufmana eksponentsialno smoothed sliding average, only the factor of average not constant, and varies depending on market conditions. The average flete factor increases, the AMA was fun and not give false signals, the trend is decreasing and AMA is fast, without delay (relative) responds to the change in price.

For those not skachal clause, I will briefly describe the algorithm. The indicator has time, will be defined by the amount of bars participating in the calculation of indicators. During this period it is defined, etc. "Efficiency of movement. "Efficiency of movement" are payments position of the movement trajectory of the price for that period. The maximum value of this factor 1, minimal 0th For example, all between 10 and last 10 svechej "bull" in this case "efficiency movement" will be equal to the first A trajectory that is considered the cost of incarceration. The indicator is based on two periods average (EMA), large and small. The limits period BUT will vary depending on the "efficiency of movement. That minimum period of 1 and maximum value for the 0th

The external variables that will carry the AMA period, the border periods (major and minor EMA) and the amount of bars that will be displayed on the indicator.
Indicator 19.2


/ * [[
Name: = AMA
Author: = forextimes
Link: = fxtest.ru
Notes: AMA = Kaufman
Separate Window: = No
First Color: Blue =
First Draw Type: = Line
First Symbol: = 217
Use Second Data: = No
Second Color: Red =
Second Draw Type: = Line
Second Symbol: = 218
]] * /
inputs: n (10), fastMA (2), slowMA (30), Nbars (500);
Variable: shift (0), K (0), noise (0), signal
(0) I (0), AMA (0), ssc (0), ER (0), AMA1 (0);

SetLoopCount (0);
/ / Loop from the first bar of the current bar (with shift = 0)
AMA1 = c [Nbars] / * January isskustvennoe first value of the indicator, we equate you with the closing price * /

For shift = Nbars Downto 0
Start / early indicator rasscheta znachacheny

signal = 0 / / move
Noise = 0 / / a trajectory
signal = abs (c [change]-c [shift + n-1]) / / we calculate the range

for i = shift the Shift + n-1
Start
Noise Noise => abs (c [i]-c [i +1]); / / we calculate the trajectory
end;

er = signal / noise / /
ssc = er * (2 / (1 + fastMA) -2 / (1 + slowMA)) + (2 / (1 + slowMA));
/ / Changes constantly leveling

/ / Value AMA
AMA = (c [change] * ssc * SSC) + GetIndexValue (Shift +1) * (1-SSC * SSC);
/ / Zngachenie AMA for the first bar
if shift = Nbars then AMA = (c [change] * ssc * SSC) + AMA1 * (1-SSC * SSC);
/ / BUT I bring value to a file indicator
SetIndexValue (shift, AMA);
End;
19.3 Conclusion

Different people talk about the usefulness of this indicator miscellaneous, but his idea so simple and logical, that it is a technical tool causes me great sympathy. I am convinced that there will be the sole indicator that this is necessary as desirable.

MA Per-period

Hello dear readers. I congratulate all Orthodox holiday.
Today we will write expert, trade will be carried out only in the direction of the trend signals will reversive (ie in terms of job creation will ever deputy), one expert will be used only sliding average.
11.1. Algorithm
To play average slip direction is possible in many ways. In our experts will compare the last value before last and if the average difference over the built-quantity items, we will close the old position and open a new one.
As a closing of a position, has suddenly opened the contrary, the expert maintained tajmaut DTS.
As the expert, as against the latter may be associated with several tools and trade them both will happen.
11.2. Expert

/ * [[
Name: = MA
Author: = fxtest.ru
Link: = forextimes.ru
Many: = 1.00
Stop Loss: = 2000
Take Profit: = 2000
Trailing Stop: = 0
]] * /
define: Npips (2) Per (21) / / 2 external variables Npips-difference between the values ��MA, MA Per-period
var: CNT (0) and (0), fb (0), FS (0), MA1 (0), MA2 (0);

If CurTime-LastTradeTime <10 then exit; / / 10 naeoiaiue oaeiaoo

/ / Value r that is recorded in separate variables, for convenience (MA - EMA, you can change type)
MA1 = IMA (Mon, MODE_EMA, 1);
MA2 = IMA (Mon, MODE_EMA, 2);

S = 0; / / counter of open jobs in the beginning we had every time null

if fb = 1 then
{
fb = 0;
SetOrder (op_buy, very, ask, 3, draft-stoploss * Point,
+ * takeprofit service point, green);
exit;
};

/ / Opening on opposite positions on condition of equality (fb = 1 or fs = 1)
if fs = 1 then
{
fs = 0;
SetOrder (op_sell, very tender, 3, Ask + * stoploss point
Ask-takeprofit * point, red);
exit;
};

for CNT = 1 TotalTrades
{
If OrderValue (CNT, VAL_SYMBOL) = Symbol then a = a +1;
};

/ / We count on a cycle amount of open spaces on the current tool
if <1, then
{
/ / Anee ioe? Uouo iiceoee IAO Oi ...
if the MA1-MA2> Npips * point then
{
SetOrder (op_buy, very, ask, 3, draft-stoploss * Point,
+ * takeprofit service point, green);
exit;
};

If MA2-MA1> Npips * point then
{
SetOrder (op_sell, very tender, 3, Ask + * stoploss point
Ask-takeprofit * point, red);
exit;
};
/ * Define the opportunity to open position,
reporting in this block of an expert will go just 1 times * /
};

If> 0, then
{
/ / If open positions are checking the possibility of closing
for CNT = 1 TotalTrades
{
If OrderValue (CNT, VAL_TYPE) <= OP_SELL and / Eee buy sell
OrderValue (CNT, VAL_SYMBOL) = Symbol then / / eino? Oiaio niaiaaaao
{
If OrderValue (CNT, VAL_TYPE) = OP_BUY then / / anee buy ...
{
If MA2-MA1> Npips * point then / / condition for closure
{
CloseOrder (OrderValue (CNT, VAL_TICKET),
OrderValue (CNT, VAL_LOTS), bid, 3, Violet); / / close
fs = 1; / / flag at the opening of the opposing position
Exit;
};
};
If OrderValue (CNT, VAL_TYPE) = OP_SELL then / / if you sell
{
if the MA1-MA2> Npips * point then / / condition for closure
{
CloseOrder (OrderValue (CNT, VAL_TICKET),
OrderValue (CNT, VAL_LOTS), to ask, 3, Violet); / / close
fb = 1; / / flag at the opening of the opposing position
Exit;
};
};
};
};
};

The expert stops are exposed, unattainable that the position will be closed only on the condition. Certainly it is not working expert, but we have seen here some new approaches, methodically it would be very useful.
It is still not resolved, it will be the next message, it means to write, show activity and will probably be your algorithm on the pages of the next issue.

Tuesday, May 24, 2011

short-term moving averages

Price activity and GMMA relationships are different in the bubble area. Area A shows a steady and consistent level of separation between long-and short-term groups are moving averages. Area B shows a significant widening of this gap. Prices shoot and above what investors are willing to pay.
The trading activity of expansion and compression is not dramatic in A. In area B, extending short-term group was significantly greater than in A. steepness of slope increases and the degree of division within the short term group also increases dramatically. The wider gap in this group is greater degree of competition among traders overexcited. They are aggressively outbidding each other to hold the shares. This simply can not last long, because it requires new money to buy the ever-increasing prices. When traders are trying to lock in profits they do so aggressively. This means that meeting the offer instead of waiting for prices to lift their ask. The result is a sudden drying of short-term averages, leading to a cascade of lower offers. Potential buyers should not bid on high. Prices collapse as the bubble is pricked.

The final identification feature is the change in frequency of sole compression and expansion activity. Area A covers four weeks and shows three peaks in the short term group of averages. Area B covers a similar time period, but includes only one peak. This is a change in the nature of economic activity.
This is a classic bubble and in this case as a classic speculative bubble.

tool moving averages

Over the past few weeks we have examined a number of applications, GMMA. This indicator is based on a tool moving averages, but rarely applied the standard interpretation of moving averages, which tends to be fixed at any point of crossover. Each group of average GMMA is used to provide insights into the behavior of the two dominant groups in the market - traders and investors. The indicator itself does not initiate entry or exit. It used to verify that the signals given by other indicators. It allows the trader to understand the market relationships shown in the table and you choose the most appropriate trading methodology, and the best means to go with it.
The GMMA can be applied widely as a tool to understand trend behavior, but also significantly benefit from the application of subtle interpretations. The GMMA is not a universal indicator. It is designed to understand the nature of trend activity. If there is no trend, then this tool can be useful applied. Traders should not attempt to make it work in conditions that are incompatible.
When applied to breakout trading records for safe temporary price weakness in the established trend, or better management balloon out of GMMA is a particularly useful tool.

THE GMMA - basic application

THE GMMA - basic application

The Guppy Multiple moving average (GMMA) is an indicator that tracks the activity concluded the two main groups in the market. These are investors and traders. Traders are always probing for a change of trend. The downtrend they will trade in anticipation of a new trend develop. If it does not evolve, then they will go to the trade quickly. If this trend is changed, then they will remain a trade, but continued to use short-term management approach. No matter how long the trend remains in place, the merchant is always alert for a potential trend change. Often they are used as a volatility based indicator count back line, or a short period of 10 days moving average, to help identify the exit conditions. The sole focus is on not losing money. This means it avoids the loss of trading capital when trading first began, and later he avoids too much loss of open profits as trading moved into success.

Thursday, May 19, 2011

EMA (exponential moving average)

EMA (exponential moving average)

IIR (Infinite Impulse Response) filters, such as EMA (exponential moving average), have nonlinear phase, resulting in different amounts of delay for different frequency components in the smoothed waveform. On the other hand, Ella
(Finite impulse response) filters, such as SMA (Simple Moving Average), produce the same delay for all frequency components in the smoothed waveform. For an "N" length fir filter the amount of lag is (N - 1) / 2. For example, three-bar SMA will have a delay of exactly one bar for all components in its frequency smoothed out and two bar SMA will be a delay of only one half of one bar. So what value of N (order of filter) should we choose? Clearly, we want to minimize the order of the fir filter to reduce the lag.

Tuesday, May 17, 2011

Edit the settings of SMA and% R

Edit the settings of SMA and% R

So that these notes to complete the design of CAT3 to use in daily bars. There is a summary of the planned upgrades to the next page.

Planned upgrade to the CAT2 CAT3:

1st Eliminating EUR / Sweden and added 9 new pairs to bring total to 18

2nd Reduce the number of indicators to five

3rd Show statistics for each indicator, not only the best of them

4th Edit the settings of SMA and% R for closer individual track trends

5th Changing the test conditions for RSI and% R mirror closer to how traders use these OB / OS indicators

21-day moving averages

21-day moving averages

Bollinger Bands
The procedure to create such a pattern is clear. First, calculate and plot the desired average. Then calculate the upper band by multiplying the average of 1 percent plus defense (1 + 0.04 = 1.04). Next, calculate the lower band by multiplying the average of the difference between 1 percent and defense (1-.04 = 0.96). Finally, plot the two groups. The DJIA, the two most popular on average for 20 - and 21-day moving averages and percentages are popular in the 3.5 to 4.0 range.
Powered by Blogger.