커뮤니티

문의드립니다.

프로필 이미지
예스매니아
2015-01-17 20:34:30
144
글번호 82345
답변완료
항상 감사드립니다. 꾸벅(--)(__) 당일 선물 복합차트에 다음선들을 나타나게 하고 싶습니다. 1. 전일 주간선물 시.고.저.종가선 2. 전일 야간선물 시.고.저.종가선
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-01-19 14:20:11

안녕하세요 예스스탁입니다. var : cnt(0); Array : nopen[10](0),nhigh[10](0),nlow[10](0),nclose[10](0); Array : dopen[10](0),dhigh[10](0),dlow[10](0),dclose[10](0); if stime == 90000 or (stime > 90000 and stime[1] < 90000) Then{ dOpen[0] = O; dhigh[0] = O; dlow[0] = O; for cnt = 1 to 9{ dOpen[Cnt] = dOpen[cnt-1][1]; dhigh[Cnt] = dhigh[cnt-1][1]; dLow[Cnt] = dLow[cnt-1][1]; dclose[Cnt] = dclose[cnt-1][1]; NOpen[Cnt] = NOpen[cnt-1][1]; Nhigh[Cnt] = Nhigh[cnt-1][1]; NLow[Cnt] = NLow[cnt-1][1]; Nclose[Cnt] = Nclose[cnt-1][1]; } } if stime >= 90000 and stime <= 151500 then{ if H > dhigh[0] Then dhigh[0] = H; if L < dlow[0] Then dlow[0] = L; dclose[0] = C; } if stime == 180000 or (stime > 180000 and stime[1] < 180000) Then{ nOpen[0] = O; nhigh[0] = O; nlow[0] = O; for cnt = 1 to 9{ NOpen[Cnt] = NOpen[cnt-1][1]; Nhigh[Cnt] = Nhigh[cnt-1][1]; NLow[Cnt] = NLow[cnt-1][1]; Nclose[Cnt] = Nclose[cnt-1][1]; } } if stime >= 180000 or stime < 090000 then{ if H > nhigh[0] Then nhigh[0] = H; if L < nlow[0] Then nlow[0] = L; nclose[0] = C; } plot1(Dopen[1],"전일주간장시가"); plot2(Dhigh[1],"전일주간장고가"); plot3(Dlow[1],"전일주간장저가"); plot4(Dclose[1],"전일주간장종가"); plot5(Nopen[1],"전일야간장시가"); plot6(Nhigh[1],"전일야간장고가"); plot7(Nlow[1],"전일야간장저가"); plot8(Nclose[1],"전일야간장종가"); 즐거운 하루되세요 > 예스매니아 님이 쓴 글입니다. > 제목 : 문의드립니다. > 항상 감사드립니다. 꾸벅(--)(__) 당일 선물 복합차트에 다음선들을 나타나게 하고 싶습니다. 1. 전일 주간선물 시.고.저.종가선 2. 전일 야간선물 시.고.저.종가선