커뮤니티

지표

프로필 이미지
nicejon
2019-11-06 15:33:58
168
글번호 133465
답변완료
아래수식을 8등분으로 나눌수 있는 수식 부탁합니다... input : N(0); var : cnt(0); Array : DO[10](0),DH[10](0),DL[10](0),DC[10](0); if (sdate != sdate[1] and stime >= 090000) or (sdate == sdate[1] and (Stime == 090000 or (stime > 090000 and stime[1] < 090000))) Then{ DO[0] = O; DH[0] = H; DL[0] = L; for cnt = 1 to 9{ DO[cnt] = DO[cnt-1][1]; DH[cnt] = DH[cnt-1][1]; DL[cnt] = DL[cnt-1][1]; DC[cnt] = DC[cnt-1][1]; } } if (sdate != sdate[1] and stime >= 181500) or (sdate == sdate[1] and (Stime == 181500 or (stime > 181500 and stime[1] < 181500))) Then{ DO[0] = O; DH[0] = H; DL[0] = L; for cnt = 1 to 9{ DO[cnt] = DO[cnt-1][1]; DH[cnt] = DH[cnt-1][1]; DL[cnt] = DL[cnt-1][1]; DC[cnt] = DC[cnt-1][1]; } } if H > DH[0] Then DH[0] = H; if L < DL[0] Then DL[0] = L; DC[0] = C; Plot1(DH[N], "고가"); Plot2((DH[N]*3+DL[N])/4, "고중"); Plot3((DH[N]+DL[N])/2, "당중"); Plot4((DH[N]+DL[N]*3)/4, "저중"); Plo
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2019-11-06 16:47:22

안녕하세요 예스스탁입니다. input : N(0); var : cnt(0); Array : DO[10](0),DH[10](0),DL[10](0),DC[10](0); if (sdate != sdate[1] and stime >= 090000) or (sdate == sdate[1] and (Stime == 090000 or (stime > 090000 and stime[1] < 090000))) Then{ DO[0] = O; DH[0] = H; DL[0] = L; for cnt = 1 to 9{ DO[cnt] = DO[cnt-1][1]; DH[cnt] = DH[cnt-1][1]; DL[cnt] = DL[cnt-1][1]; DC[cnt] = DC[cnt-1][1]; } } if (sdate != sdate[1] and stime >= 181500) or (sdate == sdate[1] and (Stime == 181500 or (stime > 181500 and stime[1] < 181500))) Then{ DO[0] = O; DH[0] = H; DL[0] = L; for cnt = 1 to 9{ DO[cnt] = DO[cnt-1][1]; DH[cnt] = DH[cnt-1][1]; DL[cnt] = DL[cnt-1][1]; DC[cnt] = DC[cnt-1][1]; } } if H > DH[0] Then DH[0] = H; if L < DL[0] Then DL[0] = L; DC[0] = C; Plot1(DH[N]); Plot2(DH[N]-(DH[N]-DL[N])*(1/8)); Plot3(DH[N]-(DH[N]-DL[N])*(2/8)); Plot4(DH[N]-(DH[N]-DL[N])*(3/8)); Plot5(DH[N]-(DH[N]-DL[N])*(4/8)); Plot6(DH[N]-(DH[N]-DL[N])*(5/8)); Plot7(DH[N]-(DH[N]-DL[N])*(6/8)); Plot8(DH[N]-(DH[N]-DL[N])*(7/8)); Plot9(DL[N]); 즐거운 하루되세요 > nicejon 님이 쓴 글입니다. > 제목 : 지표 > 아래수식을 8등분으로 나눌수 있는 수식 부탁합니다... input : N(0); var : cnt(0); Array : DO[10](0),DH[10](0),DL[10](0),DC[10](0); if (sdate != sdate[1] and stime >= 090000) or (sdate == sdate[1] and (Stime == 090000 or (stime > 090000 and stime[1] < 090000))) Then{ DO[0] = O; DH[0] = H; DL[0] = L; for cnt = 1 to 9{ DO[cnt] = DO[cnt-1][1]; DH[cnt] = DH[cnt-1][1]; DL[cnt] = DL[cnt-1][1]; DC[cnt] = DC[cnt-1][1]; } } if (sdate != sdate[1] and stime >= 181500) or (sdate == sdate[1] and (Stime == 181500 or (stime > 181500 and stime[1] < 181500))) Then{ DO[0] = O; DH[0] = H; DL[0] = L; for cnt = 1 to 9{ DO[cnt] = DO[cnt-1][1]; DH[cnt] = DH[cnt-1][1]; DL[cnt] = DL[cnt-1][1]; DC[cnt] = DC[cnt-1][1]; } } if H > DH[0] Then DH[0] = H; if L < DL[0] Then DL[0] = L; DC[0] = C; Plot1(DH[N], "고가"); Plot2((DH[N]*3+DL[N])/4, "고중"); Plot3((DH[N]+DL[N])/2, "당중"); Plot4((DH[N]+DL[N]*3)/4, "저중"); Plo