커뮤니티
heiken ashi
2009-03-29 21:58:40
1344
글번호 21265
강조표시로 하켄아쉬를 표현하는게 가능할까요?
•xClose = (Open+High+Low+Close)/4
o Average price of the current bar
•xOpen = [xOpen(Previous Bar) + Close(Previous Bar)]/2
o Midpoint of the previous bar
•xHigh = Max(High, xOpen, xClose)
o Highest value in the set
•xLow = Min(Low, xOpen, xClose)
o Lowest value in the set
답변 1
예스스탁 예스스탁 답변
2009-03-31 10:09:09
안녕하세요
예스스탁입입니다.
var : Xclose(0),xOpen(0),Xhigh(0),Xlow(0);
xClose = (Open+High+Low+Close)/4;
xOpen = (Open[1] + Close[1])/2 ;
xHigh = Max(High, xOpen, xClose);
xLow = Min(Low, xOpen, xClose) ;
if Xclose > Xopen Then
PlotPaintBar(Xhigh,Xlow,Xopen,Xclose,"하켄아쉬",red);
Else
PlotPaintBar(Xhigh,Xlow,Xopen,Xclose,"하켄아쉬",blue);
즐거운 하루되세요
> HI_coco 님이 쓴 글입니다.
> 제목 : heiken ashi
> 강조표시로 하켄아쉬를 표현하는게 가능할까요?
•xClose = (Open+High+Low+Close)/4
o Average price of the current bar
•xOpen = [xOpen(Previous Bar) + Close(Previous Bar)]/2
o Midpoint of the previous bar
•xHigh = Max(High, xOpen, xClose)
o Highest value in the set
•xLow = Min(Low, xOpen, xClose)
o Lowest value in the set