이동 평균 (Moving Average)

From TradingView Wiki
Jump to: navigation, search
Language: English  • 日本語 • 한국어 • Polski • Русский

정의

이동 평균 (MA) is a price based, 후행성(lagging) (또는 반응성/reactive) indicator that displays the average price of a security over a set 피어리어드 of time. A Moving Average is a good way to gauge 모멘텀 as well as to confirm trends, and define areas of 서포트 앤 리지스턴스. Essentially, Moving Averages smooth out the “노이즈” when trying to interpret charts. Noise is made up of fluctuations of both price and volume. Because a Moving Average is a lagging indicator and reacts to events that have already happened, it is not used as a predictive indicator but rather an interpretive one, used for confirmations and analysis. In fact, Moving Averages form the basis of several other well-known 기술적 분석 tools such as 볼린저 밴드 and the MACD. There are a few different types of Moving Averages which all take the same basic premise and add a variation. Most notable are the Simple Moving Average (SMA), the Exponential Moving Average (EMA) and the Weighted Moving Average (WMA)


타입

Moving Averages visualize the average price of a financial instrument over a specified 피어리어드 of time. However, there are a few different types of moving averages. They typically differ in the way that different data points are weighted or given significance.

단순 이동 평균 (SMA)

Simple Moving Average is an unweighted Moving Average. This means that each day in the data set has equal importance and is weighted equally. As each new day ends, the oldest data point is dropped and the newest one is added to the beginning.

계산

An example of a 3 period SMA

Sum of Period Values / Number of Periods

Closing Prices to be used: 5, 6, 7, 8, 9

First Day of 3 Period SMA: (5 + 6 + 7) / 3 = 6

Second Day of 3 Period SMA: (6 + 7 + 8) / 3 = 7

Third Day of 3 Period SMA: (7 + 8 + 9) /3 = 8

가중 이동 평균 (WMA)

Weighted Moving Average is similar to the SMA, except the WMA adds significance to more recent data points. Each point within the period is assigned a multiplier (largest multiplier for the newest data point and then descends in order) which changes the weight or significance of that particular data point. Then, just like the SMA, once a new data point is added to the beginning, the oldest data point is thrown out.

계산

Is similar to the SMA except it adds a weight (multiplier) to each period. The most recent period has the most weight)

An example of a 5 period WMA
 
Sum of Period Values / Number of Periods
 
Closing Prices to be used: 5, 6, 7, 8, 9
 
Period        Weight          Price      Weighted Average

    1           1        X      5              5

    2           2        X      6              12

    3           3        X      7              21

    4           4        X      8              32

    5           5        X      9              45

TOTAL    =      15       X      35      =      525

WMA = (Sum of Weighted Averages) / (Sum of Weight)

WMA   115 / 15 = 7.6667

지수 이동 평균 (EMA)

Exponential Moving Average is very similar to (and is a type of) WMA. The major difference with the EMA is that old data points never leave the average. To clarify, old data points retain a multiplier (albeit declining to almost nothing) even if they are outside of the selected data series length.

계산

There are three steps to calculate the EMA. Here is the formula for a 5 Period EMA

1. Calculate the SMA 

(Period Values / Number of Periods)

2. Calculate the Multiplier 

(2 / (Number of Periods + 1) therefore (2 / (5+1) = 33.333%

3. Calculate the EMA

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

다블 지수 이동 평균

계산

Double EMA = 2*EMA  EMA (EMA)

트리플 지수 이동 평균

계산

Triple EMA = (3*EMA  3*EMA(EMA)) + EMA(EMA(EMA))

기본 사항

Moving Averages takes a set of data (종가 over a specified time 피어리어드) and outputs their average price. Now, unlike an 오실레이터, Moving Averages are not restricted to a number within a band or a set range of numbers. The MA can move right along with price.

The timeframes or periods used can vary quite significantly depending on the type of 기술적 분석 being done. One fact that most always be remembered however, is that Moving Averages have 래그(lag) inherently built into them. What this means is actually pretty simple. The longer the timeframe being used, the more lag there will be. Likewise, the shorter the timeframe, the less lag there will be. Basically, Moving averages with shorter timeframes tend to stay close to prices and will move right after prices move. Longer timeframes have much more cumbersome data and their moves lag behind the market’s move much more significantly. As for what time frames should be used, it really is up to the trader’s discretion. Typically any period under 20 days would be considered short term, anything between 20 and 60 would be medium term and of course anything longer than 60 days would be viewed as long term.


Another option which boils down to the trader’s preference is which type of Moving Average to use. While all the different types of Moving Averages are rather similar, they do have some differences that the trader should be aware of. For example, the EMA has much less lag than the SMA (because it puts a greater importance on more recent prices) and therefore turns quicker than the SMA. However, since the SMA gives an equal weighting to all data points, no matter how recent, the SMA has a much closer relationship to areas of significance such as traditional 서포트 앤 리지스턴스.

찾아볼 것

When examining some of these common uses for Moving Averages, keep in mind that that it is the trader’s discretion which Moving Average in particular they wish to use. In the following examples, there will be written instances of; Moving Averages (MA), Simple Moving Averages (SMA), Exponential Moving Averages (EMA) and Weighted Moving Averages (WMA). Unless otherwise specified, these indicators can be considered interchangeable in terms of the governing principles behind their basic uses.


기본 트렌드 파악

Using a Moving Average to confirm a 트렌드 in price is really one of the most basic, yet effecting ways of using the indicator. Consider that by design, Moving Averages “report” on what has already happened and that they also take into consideration a whole range of past events when calculating their formula. This is what makes a Moving Average such a good 기술적 분석 tool for trend confirmations.

The general rules of thumb are as follows:

A Long-Term Moving Average that is clearly on the upswing is confirmation of a 불리쉬 트렌드.
A Long-Term Moving Average that is clearly on the downswing is confirmation of a 베어리쉬 트렌드.

Because of the large amounts of data considered when calculating a Long-Term Moving Average, it takes a considerable amount of movement in the market to cause the MA to change its course. A Long-Term MA is not very susceptible to rapid price changes in regards to the overall trend.


서포트 앤 리지스턴스

Another fairly basic use for Moving Averages is identifying areas of 서포트 앤 리지스턴스. Generally speaking, Moving averages can provide support in an uptrend and also they can provide resistance in a downtrend. While this can work for shorter term periods (20 days or less), the support and resistance provided by Moving Averages, can become even more readily apparent in longer term situations.


크로스오버

Crossovers require the use of two Moving Averages of varying length on the same chart. The two Moving averages should be of two different term lengths. For example a 50 Day Simple Moving Average (medium-term) and a 200 Day Simple Moving Average (long-term) The 시그널 or potential trading opportunities occur when the shorter term SMA crosses above or below the longer term SMA.

불리쉬 크로스오버 – Occurs when the shorter term SMA crosses above the longer term SMA. Also known as a “Golden Cross”.

베어리쉬 크로스오버 – Occurs when the shorter term SMA crosses below the longer term SMA. Also known as a “Dead Cross”.

  • It is imperative however, that the trader realizes the inherent shortcomings in these signals. This is a system that is created by combining not just one but two 후행성(lagging) indicators. Both of these indicators react only to what has already happened and are not designed to make “predictions”. A system like this one definitely works best in a very strong 트렌드. While in a strong trend, this system or a similar one can actually be quite valuable.

프라이스 크로스오버

If you take the two Moving Averages setup that was discussed in the previous section and add in the third element of price, there is another type of setup called a Price Crossover. With a Price Crossover you start with two Moving Averages of different term lengths (just like with the previously mentioned Crossover). You basically use the longer term Moving Average to confirm long term trend. The signals then occur when Price crosses above or below the shorter term Moving Average going in the same direction of the main, longer term trend. Just like in the previous example, let’s use a 50 Day Simple Moving Average and a 200 Day Simple Moving Average.

불리쉬 프라이스 크로스오버 – Price crosses above the 50 SMA while the 50 SMA is above the 200 SMA. The 200 SMA is confirming the trend. Price and short term SMA are generating signals in the same direction as the trend.


베어리쉬 크로스오버 - Price crosses below the 50 SMA while the 50 SMA is below the 200 SMA. The 200 SMA is confirming the trend. Price and short term SMA are generating signals in the same direction as the trend.


요약

An experienced 기술적 분석 will know that they should be careful when using Moving Averages (Just like with any indicator). There is no doubt about the fact that they are 트렌드 identifiers. That can be quite a valuable bit of information. However, it is important to always be aware that they are 래깅(lagging) or reactive indicators. Moving Averages will never be on the cutting edge when it comes to predicting market moves. What they can do though, is just like many other indicators that have withstood the test of time, provide an added level of confidence to a trading strategy or system. When used in conjunction with more active indicators, you can at least be sure that in regards to the long term trend, you are looking to trade in the correct direction.

트레이딩뷰에서 쓰는 법

  1. Navigate to https://kr.tradingview.com/
  2. On the landing page, enter a symbol and click "Launch Chart"
  3. Within the Toolbar along the top of the chart select "Indicators" and choose the one you would like to add to your chart.
  4. To make changes to your Indicator you will need to access the Formatting Window.
  5. You can access the Formatting Window by either clicking on the Blue "Format" button in the Chart Header next to the Indicator name, or by right clicking on the Indicator in the chart itself and selecting "Format".


인풋

MSInputs.PNG

Length

The time period to be used in calculating the Moving Average. 9 days is the default.

Source

Determines what data from each bar will be used in calculations. Close is the default.

Offset

Changing this number will move the Moving Average either Forwards or Backwards relative to the current market. 0 is the default.

스타일

MAStyle.PNG

MA

Can toggle the visibility of the MA as well as the visibility of a price line showing the actual current value of the MA. Can also select the MA's color, line thickness and line style.

프로퍼티

MAPropsFixed.PNG

Last Value on Price Scale

Toggles the visibility of Last Values for the Moving Average on the Price Scale.

Arguments in Header

Toggles the visibility of the indicator's name and settings in the upper left hand corner of the chart.

Scaling

Scales the indicator to either the Right or to the Left.