커뮤니티

부탁 드립니다.

프로필 이미지
yes
2015-12-22 10:54:39
190
글번호 93676
답변완료

첨부 이미지

항상 도움주셔서 깊이 감사 드립니다. 다음 수식에서 선을 삭제하고 데이터 갱신시마다 간단하게 한개의 검색점이나 또는 강조로 표시 할수 있겠는지요? 미리 감사와 경배 올립니다. INPUT: 일자(20151221),시작(080001),끝(070000); var : HV1(0), LV1(0),idx(0),Hv2(0); if sdate == 일자 and( stime == 시작 or (stime > 시작 and stime[1] < 시작)) Then{ Hv1 = 0; Hv2 = 0; Condition1 = true; Condition2 = false; Condition3 = false; } if stime == 끝 or (stime > 끝 and stime[1] < 끝) Then Condition1 = false; if Condition1 == true Then{ if V > HV1 and C >= O Then{ Condition2 = true; Hv1 = V; var11 = H; var12 = L; Hv2 = 0; } if Condition2 == true Then{ plot1(var11,"양봉고가1"); plot2(var12,"양봉저가2"); } }
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-12-22 13:43:36

안녕하세요 예스스탁입니다. 수식에서 점등으로 표시는 할수 있지만 새로운 점이 발생하면 이전점을 지울수는 없습니다. 1. INPUT: 일자(20151221),시작(080001),끝(070000); var : HV1(0), LV1(0),idx(0),Hv2(0); if sdate == 일자 and( stime == 시작 or (stime > 시작 and stime[1] < 시작)) Then{ Hv1 = 0; Hv2 = 0; Condition1 = true; Condition2 = false; Condition3 = false; } if stime == 끝 or (stime > 끝 and stime[1] < 끝) Then Condition1 = false; if Condition1 == true Then{ if V > HV1 and C >= O Then{ Condition2 = true; Hv1 = V; var11 = H; var12 = L; Hv2 = 0; if Condition2 == true Then{ plot1(H,"검색"); } } } 2. INPUT: 일자(20151221),시작(080001),끝(070000); var : HV1(0), LV1(0),idx(0),Hv2(0); if sdate == 일자 and( stime == 시작 or (stime > 시작 and stime[1] < 시작)) Then{ Hv1 = 0; Hv2 = 0; Condition1 = true; Condition2 = false; Condition3 = false; } if stime == 끝 or (stime > 끝 and stime[1] < 끝) Then Condition1 = false; if Condition1 == true Then{ if V > HV1 and C >= O Then{ Condition2 = true; Hv1 = V; var11 = H; var12 = L; Hv2 = 0; if Condition2 == true Then{ PlotPaintBar(H,L,"강조"); } } } 즐거운 하루되세요 > yes 님이 쓴 글입니다. > 제목 : 부탁 드립니다. > 항상 도움주셔서 깊이 감사 드립니다. 다음 수식에서 선을 삭제하고 데이터 갱신시마다 간단하게 한개의 검색점이나 또는 강조로 표시 할수 있겠는지요? 미리 감사와 경배 올립니다. INPUT: 일자(20151221),시작(080001),끝(070000); var : HV1(0), LV1(0),idx(0),Hv2(0); if sdate == 일자 and( stime == 시작 or (stime > 시작 and stime[1] < 시작)) Then{ Hv1 = 0; Hv2 = 0; Condition1 = true; Condition2 = false; Condition3 = false; } if stime == 끝 or (stime > 끝 and stime[1] < 끝) Then Condition1 = false; if Condition1 == true Then{ if V > HV1 and C >= O Then{ Condition2 = true; Hv1 = V; var11 = H; var12 = L; Hv2 = 0; } if Condition2 == true Then{ plot1(var11,"양봉고가1"); plot2(var12,"양봉저가2"); } }