커뮤니티

문의드립니다.

프로필 이미지
인토콘
2014-03-06 13:58:40
128
글번호 73249
답변완료
야간시장을 참조종목으로 놓고 정규장 시작 전의 야간시장 고가와 저가를 출력하려 하는데,, 출력이 안되네요... 수정 부탁드립니다. var:nh1(0),nl1(0); var:prenh1(0),prenl1(0); if stime==180000 or (stime>180000 and stime[1]<180000) then { nh1=data2(h); nl1=data2(l);} if stime>=180000 or stime<50000 then { if data2(h)>nh1 then nh1=data2(h); if data2(l)<nl1 then nl1=data2(l);} if stime ==90000 or (stime>90000 and stime[1]<90000) Then {prenh1=nh1[1]; prenl1=nl1[1];} plot1(prenh1); plot2(prenl1);
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2014-03-06 18:57:28

안녕하세요 예스스탁입니다. var:nh1(0),nl1(0); var:prenh1(0),prenl1(0); if data2(stime==180000 or (stime>180000 and stime[1]<180000) Or (sdate == 20140303 and stime == 200000) ) then { nh1=data2(h); nl1=data2(l);} if data2(stime>=180000 or stime<50000) then { if data2(h)>nh1 then nh1=data2(h); if data2(l)<nl1 then nl1=data2(l);} if data1(stime ==90000 or (stime>90000 and stime[1]<90000)) Then {prenh1=nh1[1]; prenl1=nl1[1];} plot1(prenh1); plot2(prenl1); 거래소의 Exture+작업으로 야간장이 28일 24시에 장이마감되고 3월 3일 20시에 시작했습니다. 특수한 날이라 날짜로 처리했습니다. 즐거운 하루되세요 > 인토콘 님이 쓴 글입니다. > 제목 : 문의드립니다. > 야간시장을 참조종목으로 놓고 정규장 시작 전의 야간시장 고가와 저가를 출력하려 하는데,, 출력이 안되네요... 수정 부탁드립니다. var:nh1(0),nl1(0); var:prenh1(0),prenl1(0); if stime==180000 or (stime>180000 and stime[1]<180000) then { nh1=data2(h); nl1=data2(l);} if stime>=180000 or stime<50000 then { if data2(h)>nh1 then nh1=data2(h); if data2(l)<nl1 then nl1=data2(l);} if stime ==90000 or (stime>90000 and stime[1]<90000) Then {prenh1=nh1[1]; prenl1=nl1[1];} plot1(prenh1); plot2(prenl1);