커뮤니티

부탁드립니다

프로필 이미지
파생돌이
2015-12-03 16:05:31
126
글번호 93039
답변완료
수고하십니다 주신 수식을 적용했는데 1분봉 정규장챠트에 선이 나타나지 않내요... var : cnt(0),tx1(0),tx2(0),tx3(0),tx4(0); Array : NO[10](0),NH[10](0),NL[10](0),NC[10](0); if stime == 180000 or (stime > 180000 and stime[1] < 180000) Then{ NO[0] = O; NH[0] = H; NL[0] = L; for cnt = 1 to 9{ NO[cnt] = NO[cnt-1][1]; NH[cnt] = NH[cnt-1][1]; NL[cnt] = NL[cnt-1][1]; NC[cnt] = NC[cnt-1][1]; } } if stime >= 180000 or stime < 90000 Then{ NC[0] = C; if H > NH[0] Then NH[0] = H; if L < NL[0] Then NL[0] = L; } if stime == 90000 or (stime > 90000 and stime[1] < 90000) Then{ var1 = NO[0]; var2 = NH[0]; var3 = NL[0]; var4 = NC[0]; } plot1(var1); plot2(var2); plot3(var3); plot4(var4); Text_Delete(tx1); Text_Delete(tx2); Text_Delete(tx3); Text_Delete(tx4); tx1 = Text_New(sdate,stime,var1,NumToStr(var1,2)); tx2 = Text_New(sdate,stime,var2,NumToStr(var2,2)); tx3 = Text_New(sdate,stime,var3,NumToStr(var3,2)); tx4 = Text_New(sdate,stime,var4,NumToStr(var4,2)); 정규장 차트에 야간고가,저가,시가,종가선과글씨가 나타나게 수식부탁드립니다
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-12-03 16:52:23

안녕하세요 예스스탁입니다. 해당식은 야간장 데이터가 필요합니다. 정규장에서는 야간장 데이터가 없으므로 해당식이 값을 리턴할수 업습니다. 복합장으로 하시고 보셔야만 합니다. 즐거운 하루되세요 > 파생돌이 님이 쓴 글입니다. > 제목 : 부탁드립니다 > 수고하십니다 주신 수식을 적용했는데 1분봉 정규장챠트에 선이 나타나지 않내요... var : cnt(0),tx1(0),tx2(0),tx3(0),tx4(0); Array : NO[10](0),NH[10](0),NL[10](0),NC[10](0); if stime == 180000 or (stime > 180000 and stime[1] < 180000) Then{ NO[0] = O; NH[0] = H; NL[0] = L; for cnt = 1 to 9{ NO[cnt] = NO[cnt-1][1]; NH[cnt] = NH[cnt-1][1]; NL[cnt] = NL[cnt-1][1]; NC[cnt] = NC[cnt-1][1]; } } if stime >= 180000 or stime < 90000 Then{ NC[0] = C; if H > NH[0] Then NH[0] = H; if L < NL[0] Then NL[0] = L; } if stime == 90000 or (stime > 90000 and stime[1] < 90000) Then{ var1 = NO[0]; var2 = NH[0]; var3 = NL[0]; var4 = NC[0]; } plot1(var1); plot2(var2); plot3(var3); plot4(var4); Text_Delete(tx1); Text_Delete(tx2); Text_Delete(tx3); Text_Delete(tx4); tx1 = Text_New(sdate,stime,var1,NumToStr(var1,2)); tx2 = Text_New(sdate,stime,var2,NumToStr(var2,2)); tx3 = Text_New(sdate,stime,var3,NumToStr(var3,2)); tx4 = Text_New(sdate,stime,var4,NumToStr(var4,2)); 정규장 차트에 야간고가,저가,시가,종가선과글씨가 나타나게 수식부탁드립니다