커뮤니티

부탁 드립니다.

프로필 이미지
yes
2015-12-05 15:03:38
179
글번호 93117
답변완료

첨부 이미지

항상 도움 주셔서 감사 드립니다. 고점선과 저점선의 가격차이값을 그림과 같이 부탁 드립니다. 미리 감사 드립니다. Var:cond5(false),a5(0),b5(0),k5(0),HH5(0),LL5(0); if sdate == 20151204 and (stime == 080001 or (stime > 080001 and stime[1] < 080001)) then{ cond5 = true; HH5 = H; LL5 = L; } if stime == 070000 or (stime > 070000 and stime[1] < 070000) Then Cond5 = false; if cond5 == true then{ if H > HH5 Then HH5 = H; if L < LL5 Then LL5 = L; a5 = HH5; b5 = LL5; k5 =a5-b5; plot51(a5,"고점선"); plot55(k5*0.618+b5,"61.8%"); plot57(k5*0.5+b5,"50%"); plot58(k5*0.382+b5,"38.2%"); plot60(b5,"저점선"); }
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-12-08 10:35:57

안녕하세요 예스스탁입니다. Var:cond5(false),a5(0),b5(0),k5(0),HH5(0),LL5(0),tx(0); if sdate == 20151204 and (stime == 080001 or (stime > 080001 and stime[1] < 080001)) then{ cond5 = true; HH5 = H; LL5 = L; } if stime == 070000 or (stime > 070000 and stime[1] < 070000) Then Cond5 = false; if cond5 == true then{ if H > HH5 Then HH5 = H; if L < LL5 Then LL5 = L; a5 = HH5; b5 = LL5; k5 =a5-b5; plot51(a5,"고점선"); plot55(k5*0.618+b5,"61.8%"); plot57(k5*0.5+b5,"50%"); plot58(k5*0.382+b5,"38.2%"); plot60(b5,"저점선"); Text_Delete(tx); Tx = Text_New(sdate,stime,a5,"고점저점차 : "+NumToStr(a5-b5,4)); } 즐거운 하루되세요 > yes 님이 쓴 글입니다. > 제목 : 부탁 드립니다. > 항상 도움 주셔서 감사 드립니다. 고점선과 저점선의 가격차이값을 그림과 같이 부탁 드립니다. 미리 감사 드립니다. Var:cond5(false),a5(0),b5(0),k5(0),HH5(0),LL5(0); if sdate == 20151204 and (stime == 080001 or (stime > 080001 and stime[1] < 080001)) then{ cond5 = true; HH5 = H; LL5 = L; } if stime == 070000 or (stime > 070000 and stime[1] < 070000) Then Cond5 = false; if cond5 == true then{ if H > HH5 Then HH5 = H; if L < LL5 Then LL5 = L; a5 = HH5; b5 = LL5; k5 =a5-b5; plot51(a5,"고점선"); plot55(k5*0.618+b5,"61.8%"); plot57(k5*0.5+b5,"50%"); plot58(k5*0.382+b5,"38.2%"); plot60(b5,"저점선"); }