커뮤니티

문의

프로필 이미지
털보
2014-07-21 16:56:43
165
글번호 76945
답변완료
주야간 구분식인데요 색깔표현이 가능할까요 주간만 다른색으로 하거나, 야간장은 다른색으로 나오게 한다던지요. 감사합니다. if stime == 180000 or (stime > 180000 and stime[1] < 180000) Then TL_New(sdate,stime,99999999,sdate,stime,0); if stime == 90000 or (stime > 90000 and stime[1] < 90000) Then TL_New(sdate,stime,99999999,sdate,stime,0); plot1(stime);
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2014-07-21 17:26:23

안녕하세요 예스스탁입니다. var : TL1(0),TL2(0); if stime == 180000 or (stime > 180000 and stime[1] < 180000) Then{ TL1 = TL_New(sdate,stime,99999999,sdate,stime,0); TL_SetColor(TL1,RED); //빨강 } if stime == 90000 or (stime > 90000 and stime[1] < 90000) Then{ TL2 = TL_New(sdate,stime,99999999,sdate,stime,0); TL_SetColor(TL2,blue); //파랑 } 즐거운 하루되세요 > 털보 님이 쓴 글입니다. > 제목 : 문의 > 주야간 구분식인데요 색깔표현이 가능할까요 주간만 다른색으로 하거나, 야간장은 다른색으로 나오게 한다던지요. 감사합니다. if stime == 180000 or (stime > 180000 and stime[1] < 180000) Then TL_New(sdate,stime,99999999,sdate,stime,0); if stime == 90000 or (stime > 90000 and stime[1] < 90000) Then TL_New(sdate,stime,99999999,sdate,stime,0); plot1(stime);