커뮤니티

부탁드립니다

프로필 이미지
파생돌이
2015-12-22 12:40:51
127
글번호 93685
답변완료
수고하십니다 input : n(1); var : cnt(0),tx1(0),tx2(0),tx3(0); Array : DC[20](0),DH[20](0),DL[20](0); if stime == 90000 or (stime > 90000 and stime[1] < 90000) Then{ DH[0] = H; DL[0] = L; for cnt = 1 to 19{ DH[cnt] = DH[cnt-1][1]; DL[cnt] = DL[cnt-1][1]; DC[cnt] = DC[cnt-1][1]; } } if stime >= 90000 and stime <= 151500 Then{ if H > DH[0] Then DH[0] = H; if L < DL[0] Then DL[0] = L; DC[0] = C; } plot1(DC[n]); plot2(DH[n]); plot3(DL[n]); Text_Delete(Tx1); Text_Delete(Tx2); Text_Delete(Tx3); tx1 = Text_New(sdate,stime,DC[n],"전일주간종가"); tx2 = Text_New(sdate,stime,DH[n],"전일주간고가"); tx3 = Text_New(sdate,stime,DL[n],"전일주간저가"); Text_SetStyle(tx1,0,1); Text_SetStyle(tx2,0,1); Text_SetStyle(tx3,0,1); 수식중"전일주간종가,전일주간고가,전일주간저가"검정글씨로나타나는데.흰색글씨로 나타나게할수있는지요?
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-12-22 16:07:36

안녕하세요 예스스탁입니다 input : n(1); var : cnt(0),tx1(0),tx2(0),tx3(0); Array : DC[20](0),DH[20](0),DL[20](0); if stime == 90000 or (stime > 90000 and stime[1] < 90000) Then{ DH[0] = H; DL[0] = L; for cnt = 1 to 19{ DH[cnt] = DH[cnt-1][1]; DL[cnt] = DL[cnt-1][1]; DC[cnt] = DC[cnt-1][1]; } } if stime >= 90000 and stime <= 151500 Then{ if H > DH[0] Then DH[0] = H; if L < DL[0] Then DL[0] = L; DC[0] = C; } plot1(DC[n]); plot2(DH[n]); plot3(DL[n]); Text_Delete(Tx1); Text_Delete(Tx2); Text_Delete(Tx3); tx1 = Text_New(sdate,stime,DC[n],"전일주간종가"); tx2 = Text_New(sdate,stime,DH[n],"전일주간고가"); tx3 = Text_New(sdate,stime,DL[n],"전일주간저가"); Text_SetStyle(tx1,0,1); Text_SetStyle(tx2,0,1); Text_SetStyle(tx3,0,1); #텍스트 색상지정 Text_SetColor(tx1,white); Text_SetColor(tx2,white); Text_SetColor(tx3,white); 즐거운 하루되세요 > 파생돌이 님이 쓴 글입니다. > 제목 : 부탁드립니다 > 수고하십니다 input : n(1); var : cnt(0),tx1(0),tx2(0),tx3(0); Array : DC[20](0),DH[20](0),DL[20](0); if stime == 90000 or (stime > 90000 and stime[1] < 90000) Then{ DH[0] = H; DL[0] = L; for cnt = 1 to 19{ DH[cnt] = DH[cnt-1][1]; DL[cnt] = DL[cnt-1][1]; DC[cnt] = DC[cnt-1][1]; } } if stime >= 90000 and stime <= 151500 Then{ if H > DH[0] Then DH[0] = H; if L < DL[0] Then DL[0] = L; DC[0] = C; } plot1(DC[n]); plot2(DH[n]); plot3(DL[n]); Text_Delete(Tx1); Text_Delete(Tx2); Text_Delete(Tx3); tx1 = Text_New(sdate,stime,DC[n],"전일주간종가"); tx2 = Text_New(sdate,stime,DH[n],"전일주간고가"); tx3 = Text_New(sdate,stime,DL[n],"전일주간저가"); Text_SetStyle(tx1,0,1); Text_SetStyle(tx2,0,1); Text_SetStyle(tx3,0,1); 수식중"전일주간종가,전일주간고가,전일주간저가"검정글씨로나타나는데.흰색글씨로 나타나게할수있는지요?