커뮤니티

문의

프로필 이미지
레전드
2020-06-09 20:21:48
2319
글번호 139685
답변완료
해선에서 밤10시 반에서 ~11시반 사이의 고점 저점을 표현하고 싶습니다
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2020-06-10 14:26:08

안녕하세요 예스스탁입니다. input : StartTime(223000),EndTime(233000); var : Tcond(false),HH(0),LL(0); if (sdate != sdate[1] and stime >= StartTime) or (sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then { Tcond = true; HH = H; LL = L; } if (sdate != sdate[1] and stime >= EndTime) or (sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then Tcond = False; if Tcond == true then { if H > HH Then HH = H; if L < LL Then LL = L; } if HH > 0 and LL > 0 then { plot1(HH); plot2(LL); } 즐거운 하루되세요 > 레전드 님이 쓴 글입니다. > 제목 : 문의 > 해선에서 밤10시 반에서 ~11시반 사이의 고점 저점을 표현하고 싶습니다