커뮤니티

부탁드립니다

프로필 이미지
마르뚝
2017-12-22 20:02:46
182
글번호 115229
답변완료
input : ST(170000),ET(230000); if stime == ST or (stime > ST and stime[1] < ST) then Condition1 = true; if stime == ET or (stime > ET and stime[1] < ET) then Condition1 = false; if Condition1 == true Then{ plot1(max(C,O)); plot2(min(C,O)); } 위 수식에서 지정시간까지의 최고가의 몸통 종가 최저가의 몸통종가에 선을 긋고 싶습니다 부탁드립니다(위 수식은 계속적인 몸통 고가저가인거같습니다)
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-12-26 15:03:09

안녕하세요 예스스탁입니다. 1 지정시간 이내의 최고가봉의 종가, 최저가봉의 종가는 아래와 같습니다. input : ST(170000),ET(230000); if stime == ST or (stime > ST and stime[1] < ST) then{ Condition1 = true; var1 = H; var11 = C; var2 = L; var22 = C; } if stime == ET or (stime > ET and stime[1] < ET) then Condition1 = false; if Condition1 == true Then{ if H > var1 Then{ var1 = H; var11 = C; } if L < var2 Then{ var2 = L; var22 = C; } } plot1(var11); plot2(var22); 2 지정시간 이내의 종가중 최고가, 중가중 최저가는 아래와 같습니다. input : ST(170000),ET(230000); if stime == ST or (stime > ST and stime[1] < ST) then{ Condition1 = true; var1 = C; var2 = C; } if stime == ET or (stime > ET and stime[1] < ET) then Condition1 = false; if Condition1 == true Then{ if C > var1 Then{ var1 = C; } if C < var2 Then{ var2 = C; } } plot1(var1); plot2(var2); 즐거운 하루되세요 > 마르뚝 님이 쓴 글입니다. > 제목 : 부탁드립니다 > input : ST(170000),ET(230000); if stime == ST or (stime > ST and stime[1] < ST) then Condition1 = true; if stime == ET or (stime > ET and stime[1] < ET) then Condition1 = false; if Condition1 == true Then{ plot1(max(C,O)); plot2(min(C,O)); } 위 수식에서 지정시간까지의 최고가의 몸통 종가 최저가의 몸통종가에 선을 긋고 싶습니다 부탁드립니다(위 수식은 계속적인 몸통 고가저가인거같습니다)