커뮤니티

부탁드립니다.

프로필 이미지
2013-01-16 19:22:24
332
글번호 58232
답변완료
안녕하세요 예트로 부탁드립니다. { Heikin Ashi PaintBarStudy Heikin-Ashi technique for visualization of trend } inputs: UpColor( RGB(0,255,0)),DnColor( RGB(255,0,0) ), help(”www.TazaTek.com”); vars: haClose(0),haOpen(0),haHigh(0),haLow(0), color(0); if BarNumber = 1 then begin haOpen = open; haClose = (O+H+L+C)/4; haHigh = MaxList( high, haOpen, haClose); haLow = MinList( low, haOpen,haClose); end; if BarNumber > 1 then begin haClose = (O+H+L+C)/4; haOpen = (haOpen [1] + haClose [1])/2 ; haHigh = MaxList(High, haOpen, haClose) ; haLow = MinList(Low, haOpen, haClose) ; if haClose > haOpen then color = UpColor else color = DnColor; plotPB(haOpen,haClose,”Ignore-ME-”,color); SetPlotWidth(1,4); SetPlotColor(1,color); end;
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-01-17 11:11:08

안녕하세요 예스스탁입니다. #{ Heikin Ashi PaintBarStudy # Heikin-Ashi technique for visualization # of trend } inputs: UpColor( RGB(0,255,0)),DnColor( RGB(255,0,0) ); vars: haClose(0),haOpen(0),haHigh(0),haLow(0),color(0); if index == 1 then begin haOpen = open; haClose = (O+H+L+C)/4; haHigh = MaxList( high, haOpen, haClose); haLow = MinList( low, haOpen,haClose); end; if index >= 1 then begin haClose = (O+H+L+C)/4; haOpen = (haOpen [1] + haClose [1])/2 ; haHigh = MaxList(High, haOpen, haClose) ; haLow = MinList(Low, haOpen, haClose) ; if haClose > haOpen then color = UpColor; else color = DnColor; PlotPaintBar(haOpen,haClose,"Ignore-ME-",color); #SetPlotWidth(1,4); #SetPlotColor(1,color); end; 즐거운 하루되세요 > 괌 님이 쓴 글입니다. > 제목 : 부탁드립니다. > 안녕하세요 예트로 부탁드립니다. { Heikin Ashi PaintBarStudy Heikin-Ashi technique for visualization of trend } inputs: UpColor( RGB(0,255,0)),DnColor( RGB(255,0,0) ), help(”www.TazaTek.com”); vars: haClose(0),haOpen(0),haHigh(0),haLow(0), color(0); if BarNumber = 1 then begin haOpen = open; haClose = (O+H+L+C)/4; haHigh = MaxList( high, haOpen, haClose); haLow = MinList( low, haOpen,haClose); end; if BarNumber > 1 then begin haClose = (O+H+L+C)/4; haOpen = (haOpen [1] + haClose [1])/2 ; haHigh = MaxList(High, haOpen, haClose) ; haLow = MinList(Low, haOpen, haClose) ; if haClose > haOpen then color = UpColor else color = DnColor; plotPB(haOpen,haClose,”Ignore-ME-”,color); SetPlotWidth(1,4); SetPlotColor(1,color); end;