Tuesday, February 2, 2010

차트와 지표 간략 맛보기 - chart, indicator

http://www.stator-afm.com/stock-analysis-software.html

 Bar Chart(봉도표)에 MA(이동평균선-Moving Average) 표현된 그림이다.

얘로 차트와 지표를 정리해 보자.

 먼저 차트는 가격을 표현해 주어야 한다(plotting a security price).

가장 많이 언급되는 가격이 종가(closing price) 이다.

총 4개의 가격(price points)는 (open, high, low, close)

제일 높은 지표가 고가(high)

제일 낮은 지표가 저가(low)

시가(The open) is a tick placed on the left hand side of the bar

종가(the close) is a tick placed on the right hand side of the bar.

이렇게 bar 로 표현된 차트 중

단순하게 open, high, low, close를 표현하여 OHLC 차트라 한다.

http://stockcharts.com/school/data/media/chart_school/technical_indicators_and_overlays/ma/mova1-1sunw.png

 지표(indicators)는 분석을 도와주는 보조 자료이다.

MA 는 가격 series를 부드럽게 표현해서 추세를 좀 더 쉽게 볼 수 있도록 해준다.

주로 종가(closing price)들을 50일 200일 평균하여 사용한다.

특별한 가중치를 두지 않고 단순히 평균 내는 것을 SMA (Simple Moving Average)라고 한다.

종가가 10 11 12 13 14 15 로 진행된다면

14까지의 SMA = (10+ 11 + 12 + 13 + 14) / 5 = 60 / 5 = 12

15까지의 SMA = (11 + 12 + 13 + 14 + 15) / 5 = 65 / 5 = 13

12에서 13으로 moving!!!

MA의 사용

 MA가 시간이 흐름에 따라(오른쪽으로 감에 따라) 상향하는지 하향하는지만으로 예측해 볼 수도 있다.

MA 우상향 : 상승추세

MA 우하향 : 하락추세


 이를 발전시켜

단기 MA상승이 장기 MA상승을 넘어서면(돌파하면) 상승추세로 판단하기도...


Simple Moving Average (SMA)

Simple, in other words, arithmetical moving average is calculated by summing up the prices of instrument closure over a certain number of single periods (for instance, 12 hours). This value is then divided by the number of such periods.


SMA = SUM(CLOSE, N)/N

Where:
N — is the number of calculation periods.


Exponential Moving Average (EMA)

Exponentially smoothed moving average is calculated by adding the moving average of a certain share of the current closing price to the previous value. With exponentially smoothed moving averages, the latest prices are of more value.P-percent exponential moving average will look like:

EMA = (CLOSE(i)*P)+(EMA(i-1)*(1-P))

Where:
CLOSE(i) — the price of the current period closure;
EMA(i-1) — Exponentially Moving Average of the previous period closure;
P — the percentage of using the price value.




 OHLC Bar Chart(봉도표) 다음으로 Candlestick Charts를 살펴본다.

시가와 종가의 구체적인 가격은 표현하지 않고

둘 중 어떤 것이 높은지만을

그 Bar의 몸통을 색칠하는 것으로 표현.

좀 더 직관적으로 볼 수 있다는 건가?

종가(the close) < 시가(the open) : 색칠

종가(the close) > 시가(the open) : 투명

No comments:

Post a Comment