커뮤니티

지표문의

프로필 이미지
렉쳐
2018-05-24 23:32:47
229
글번호 119187
답변완료
1. 종가기준의 일목균형표로 수정 부탁드립니다. 2. 아래 수식을 종가의 고가저가 기준으로 부탁드리겠습니다(종가차트에 쓰기위해서) var : idx1(0),idx2(0),cnt(0),cnt1(0),cnt2(0),HH(0),LL(0); Array : tx1[50](0),tx2[50](0); if sdate > sdate[1]+1000 Then { HH = H; LL = L; idx1 = 0; idx2 = 0; cnt1 = 0; cnt2 = 0; for cnt = 0 to 49 { Text_Delete(tx1[cnt]); Text_Delete(tx2[cnt]); } } if H > HH Then { HH = H; idx1 = 0; cnt1 = 0; for cnt = 0 to 49 { Text_Delete(tx1[cnt]); Text_Delete(tx2[cnt]); } } idx1 = idx1+1; if L < LL Then{ LL = L; idx2 = 0; cnt2 = 0; for cnt = 0 to 49 { Text_Delete(tx1[cnt]); Text_Delete(tx2[cnt]); } } idx2 = idx2+1; if idx1 == 8 or idx1 == 16 or idx1 == 25 or idx1 == 32 or idx1 == 41 or idx1 == 51 or idx1 == 64 or idx1 == 75 or idx1 == 128 or idx1 == 171 or idx1 == 175 or idx1 == 225 Then plot1(L,"검색",BLUE); if idx1 == 9 or idx1 == 17 or idx1 == 26 or idx1 == 33 or idx1 == 42 or idx1 == 52 or idx1 == 65 or idx1 == 76 or idx1 == 129 or idx1 == 172 or idx1 == 176 or idx1 == 226 Then{ cnt1 = cnt1+1; tx1[cnt1] = Text_New(sdate,stime,H,NumToStr(idx1,0)); Text_SetColor(tx1[cnt1],BLUE); } if idx2 == 8 or idx2 == 16 or idx2 == 25 or idx2 == 32 or idx2 == 41 or idx2 == 51 or idx2 == 64 or idx2 == 75 or idx2 == 128 or idx2 == 171 or idx2 == 175 or idx2 == 225 Then plot1(L,"검색",red); if idx2 == 9 or idx2 == 17 or idx2 == 26 or idx2 == 33 or idx2 == 42 or idx2 == 52 or idx2 == 65 or idx2 == 76 or idx2 == 129 or idx2 == 172 or idx2 == 176 or idx2 == 226 Then{ cnt2 = cnt2+1; tx1[cnt2] = Text_New(sdate,stime,L,NumToStr(idx2,0)); Text_SetColor(tx2[cnt2],RED); }
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2018-05-25 14:23:18

안녕하세요 예스스탁입니다. 1. var : 전환선(0),기준선(0),후행스팬(0),선행스팬1(0),선행스팬2(0); 전환선 = (highest(c,9)+lowest(c,9))/2; 기준선 = (highest(c,26)+lowest(c,26))/2; 후행스팬 = C; 선행스팬1 = (전환선+기준선)/2; 선행스팬2 = (highest(c,52)+lowest(c,52))/2; Plot1(전환선, "전환선"); Plot2(기준선, "기준선"); Plot3(후행스팬, "후행스팬"); Plot4(선행스팬1, "선행스팬1"); Plot5(선행스팬2, "선행스팬2"); /* 지표속성창 차트표시탭 후행스팬 수평이동 -25 선행스팬1 수평이동 +25 선행스팬2 수평이동 +25 */ 2 var : idx1(0),idx2(0),cnt(0),cnt1(0),cnt2(0),HH(0),LL(0); Array : tx1[50](0),tx2[50](0); if sdate > sdate[1]+1000 Then { HH = c; LL = c; idx1 = 0; idx2 = 0; cnt1 = 0; cnt2 = 0; for cnt = 0 to 49 { Text_Delete(tx1[cnt]); Text_Delete(tx2[cnt]); } } if c > HH Then { HH = c; idx1 = 0; cnt1 = 0; for cnt = 0 to 49 { Text_Delete(tx1[cnt]); Text_Delete(tx2[cnt]); } } idx1 = idx1+1; if c < LL Then{ LL = c; idx2 = 0; cnt2 = 0; for cnt = 0 to 49 { Text_Delete(tx1[cnt]); Text_Delete(tx2[cnt]); } } idx2 = idx2+1; if idx1 == 8 or idx1 == 16 or idx1 == 25 or idx1 == 32 or idx1 == 41 or idx1 == 51 or idx1 == 64 or idx1 == 75 or idx1 == 128 or idx1 == 171 or idx1 == 175 or idx1 == 225 Then plot1(L,"검색",BLUE); if idx1 == 9 or idx1 == 17 or idx1 == 26 or idx1 == 33 or idx1 == 42 or idx1 == 52 or idx1 == 65 or idx1 == 76 or idx1 == 129 or idx1 == 172 or idx1 == 176 or idx1 == 226 Then{ cnt1 = cnt1+1; tx1[cnt1] = Text_New(sdate,stime,H,NumToStr(idx1,0)); Text_SetColor(tx1[cnt1],BLUE); } if idx2 == 8 or idx2 == 16 or idx2 == 25 or idx2 == 32 or idx2 == 41 or idx2 == 51 or idx2 == 64 or idx2 == 75 or idx2 == 128 or idx2 == 171 or idx2 == 175 or idx2 == 225 Then plot1(L,"검색",red); if idx2 == 9 or idx2 == 17 or idx2 == 26 or idx2 == 33 or idx2 == 42 or idx2 == 52 or idx2 == 65 or idx2 == 76 or idx2 == 129 or idx2 == 172 or idx2 == 176 or idx2 == 226 Then{ cnt2 = cnt2+1; tx1[cnt2] = Text_New(sdate,stime,L,NumToStr(idx2,0)); Text_SetColor(tx2[cnt2],RED); } 즐거운 하루되세요 > 렉쳐 님이 쓴 글입니다. > 제목 : 지표문의 > 1. 종가기준의 일목균형표로 수정 부탁드립니다. 2. 아래 수식을 종가의 고가저가 기준으로 부탁드리겠습니다(종가차트에 쓰기위해서) var : idx1(0),idx2(0),cnt(0),cnt1(0),cnt2(0),HH(0),LL(0); Array : tx1[50](0),tx2[50](0); if sdate > sdate[1]+1000 Then { HH = H; LL = L; idx1 = 0; idx2 = 0; cnt1 = 0; cnt2 = 0; for cnt = 0 to 49 { Text_Delete(tx1[cnt]); Text_Delete(tx2[cnt]); } } if H > HH Then { HH = H; idx1 = 0; cnt1 = 0; for cnt = 0 to 49 { Text_Delete(tx1[cnt]); Text_Delete(tx2[cnt]); } } idx1 = idx1+1; if L < LL Then{ LL = L; idx2 = 0; cnt2 = 0; for cnt = 0 to 49 { Text_Delete(tx1[cnt]); Text_Delete(tx2[cnt]); } } idx2 = idx2+1; if idx1 == 8 or idx1 == 16 or idx1 == 25 or idx1 == 32 or idx1 == 41 or idx1 == 51 or idx1 == 64 or idx1 == 75 or idx1 == 128 or idx1 == 171 or idx1 == 175 or idx1 == 225 Then plot1(L,"검색",BLUE); if idx1 == 9 or idx1 == 17 or idx1 == 26 or idx1 == 33 or idx1 == 42 or idx1 == 52 or idx1 == 65 or idx1 == 76 or idx1 == 129 or idx1 == 172 or idx1 == 176 or idx1 == 226 Then{ cnt1 = cnt1+1; tx1[cnt1] = Text_New(sdate,stime,H,NumToStr(idx1,0)); Text_SetColor(tx1[cnt1],BLUE); } if idx2 == 8 or idx2 == 16 or idx2 == 25 or idx2 == 32 or idx2 == 41 or idx2 == 51 or idx2 == 64 or idx2 == 75 or idx2 == 128 or idx2 == 171 or idx2 == 175 or idx2 == 225 Then plot1(L,"검색",red); if idx2 == 9 or idx2 == 17 or idx2 == 26 or idx2 == 33 or idx2 == 42 or idx2 == 52 or idx2 == 65 or idx2 == 76 or idx2 == 129 or idx2 == 172 or idx2 == 176 or idx2 == 226 Then{ cnt2 = cnt2+1; tx1[cnt2] = Text_New(sdate,stime,L,NumToStr(idx2,0)); Text_SetColor(tx2[cnt2],RED); }