커뮤니티

최고 최저 수식부탁드립니다

프로필 이미지
회원
2013-09-29 12:16:01
154
글번호 67951
답변완료
수식1) ValueWhen(1, time == 151500 or time == 092900 or time == 095900 or time == 102900 or time == 105900 or time == 112900 or time == 115900 or time == 122900 or time == 125900 or time == 132900 or time == 135900 or time == 142900, if(time == 151500, 최고값(H,36), if(time == 092900, 최고값(H,30), if(time == 095900, 최고값(H,30), if(time == 102900, 최고값(H,30), if(time == 105900, 최고값(H,30), if(time == 112900, 최고값(H,30), if(time == 115900, 최고값(H,30), if(time == 122900, 최고값(H,30), if(time == 125900, 최고값(H,30), if(time == 132900, 최고값(H,30), if(time == 135900, 최고값(H,30), if(time == 142900, 최고값(H,30), 0),0)))))))))))) 수식2) ValueWhen(1, time == 151500 or time == 092900 or time == 095900 or time == 102900 or time == 105900 or time == 112900 or time == 115900 or time == 122900 or time == 125900 or time == 132900 or time == 135900 or time == 142900, if(time == 151500, 최저값(L,36), if(time == 092900, 최저값(L,30), if(time == 095900, 최저값(L,30), if(time == 102900, 최저값(L,30), if(time == 105900, 최저값(L,30), if(time == 112900, 최저값(L,30), if(time == 115900, 최저값(L,30), if(time == 122900, 최저값(L,30), if(time == 125900, 최저값(L,30), if(time == 132900, 최저값(L,30), if(time == 135900, 최저값(L,30), if(time == 142900, 최저값(L,30), 0),0)))))))))))) 키움수식인데요 변환 부탁드립니다
지표
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2013-10-01 09:16:23

안녕하세요 예스스탁입니다. if stime == 151500 Then var1 = highest(H,36); if stime == 092900 Then var1 = highest(H,30); if stime == 095900 Then var1 = highest(H,30); if stime == 102900 Then var1 = highest(H,30); if stime == 105900 Then var1 = highest(H,30); if stime == 112900 then var1 = highest(H,30); if stime == 115900 then var1 = highest(H,30); if stime == 122900 then var1 = highest(H,30); if stime == 125900 then var1 = highest(H,30); if stime == 132900 then var1 = highest(H,30); if stime == 135900 then var1 = highest(H,30); if stime == 142900 then var1 = highest(H,30); if stime == 151500 then var2 = lowest(L,36); if stime == 092900 then var2 = lowest(L,30); if stime == 095900 then var2 = lowest(L,30); if stime == 102900 then var2 = lowest(L,30); if stime == 105900 then var2 = lowest(L,30); if stime == 112900 then var2 = lowest(L,30); if stime == 115900 then var2 = lowest(L,30); if stime == 122900 then var2 = lowest(L,30); if stime == 125900 then var2 = lowest(L,30); if stime == 132900 then var2 = lowest(L,30); if stime == 135900 then var2 = lowest(L,30); if stime == 142900 then var2 = lowest(L,30); plot1(var1); plot2(var2); 즐거운 하루되세요 > HI_yh**** 님이 쓴 글입니다. > 제목 : 최고 최저 수식부탁드립니다 > 수식1) ValueWhen(1, time == 151500 or time == 092900 or time == 095900 or time == 102900 or time == 105900 or time == 112900 or time == 115900 or time == 122900 or time == 125900 or time == 132900 or time == 135900 or time == 142900, if(time == 151500, 최고값(H,36), if(time == 092900, 최고값(H,30), if(time == 095900, 최고값(H,30), if(time == 102900, 최고값(H,30), if(time == 105900, 최고값(H,30), if(time == 112900, 최고값(H,30), if(time == 115900, 최고값(H,30), if(time == 122900, 최고값(H,30), if(time == 125900, 최고값(H,30), if(time == 132900, 최고값(H,30), if(time == 135900, 최고값(H,30), if(time == 142900, 최고값(H,30), 0),0)))))))))))) 수식2) ValueWhen(1, time == 151500 or time == 092900 or time == 095900 or time == 102900 or time == 105900 or time == 112900 or time == 115900 or time == 122900 or time == 125900 or time == 132900 or time == 135900 or time == 142900, if(time == 151500, 최저값(L,36), if(time == 092900, 최저값(L,30), if(time == 095900, 최저값(L,30), if(time == 102900, 최저값(L,30), if(time == 105900, 최저값(L,30), if(time == 112900, 최저값(L,30), if(time == 115900, 최저값(L,30), if(time == 122900, 최저값(L,30), if(time == 125900, 최저값(L,30), if(time == 132900, 최저값(L,30), if(time == 135900, 최저값(L,30), if(time == 142900, 최저값(L,30), 0),0)))))))))))) 키움수식인데요 변환 부탁드립니다
프로필 이미지

회원

2013-10-01 10:41:54

if stime == 151500 Then var1 = highest(H,36); if stime == 092900 Then var1 = highest(H,30); if stime == 095900 Then var1 = highest(H,30); if stime == 102900 Then var1 = highest(H,30); if stime == 105900 Then var1 = highest(H,30); if stime == 112900 then var1 = highest(H,30); if stime == 115900 then var1 = highest(H,30); if stime == 122900 then var1 = highest(H,30); if stime == 125900 then var1 = highest(H,30); if stime == 132900 then var1 = highest(H,30); if stime == 135900 then var1 = highest(H,30); if stime == 142900 then var1 = highest(H,30); if stime == 151500 then var2 = lowest(L,36); if stime == 092900 then var2 = lowest(L,30); if stime == 095900 then var2 = lowest(L,30); if stime == 102900 then var2 = lowest(L,30); if stime == 105900 then var2 = lowest(L,30); if stime == 112900 then var2 = lowest(L,30); if stime == 115900 then var2 = lowest(L,30); if stime == 122900 then var2 = lowest(L,30); if stime == 125900 then var2 = lowest(L,30); if stime == 132900 then var2 = lowest(L,30); if stime == 135900 then var2 = lowest(L,30); if stime == 142900 then var2 = lowest(L,30); plot1(var1); plot2(var2); --------------------------------------------------------- 재질문요 위에서요 종가가 plot1(var1)보다 높으면 1 종가가 plot2(var2)보다 낮으면 -1 로 만들어 주시면 너무 고맙겠습니다