커뮤니티

부탁 드립니다.

프로필 이미지
뮬리
2020-09-13 18:16:38
614
글번호 142317
답변완료
도움에 감사 드립니다. 타주기 지표 부탁 드립니다. 1)예를 들어 100틱차트에서 300틱 지표 2)예를 들어 60분봉차트에서 일봉지표 3)예를 들어 60분봉차트에서 주봉지표 미리 경배로 감사 인사 올립니다. input:atime(30); input:n(30); input:sig(5); input:시작일(20200910); input:시작시간(130000); var : S1(0),D1(0),TM(0),TF(0); var : hh(0),ll(0),mm(0),month(0),Tcond(false); if Tcond == false and sdate >= 시작일 and stime >= 시작시간 Then Tcond = true; if tcond == true and Tcond != Tcond[1] then { S1 = TimeToMinutes(stime); D1 = sdate; } if D1 > 0 then { if sdate == D1 Then TM = TimeToMinutes(stime)-S1; Else TM = TimeToMinutes(stime)+1440-S1; TF = TM%atime; if (Tcond == true and tcond != tcond[1]) or (tcond == true and tcond == tcond[1] and TF < TF[1])Then { hh = highest(h,n); ll = lowest(l,n); } if hh > 0 and ll > 0 then { if h > hh Then hh = h; if l < ll Then ll = l; mm = (hh+ll)/2; var1=ema((c-mm),sig); } }
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2020-09-14 15:19:12

안녕하세요 예스스탁입니다. 1 input:nbar(3); input:n(30); input:sig(5); input:시작일(20200910); input:시작시간(130000); var : D1(0),TF(0),idx(0); var : hh(0),ll(0),mm(0),month(0),Tcond(false); if Tcond == false and sdate >= 시작일 and stime >= 시작시간 Then { D1 = sDate; Tcond = true; idx = 0; } Else idx = idx+1; if tcond == true and bdate != bdate[1] Then { Tcond = true; idx = 0; } Else idx = idx+1; if D1 > 0 then { TF = idx%nbar; if (Tcond == true and tcond != tcond[1]) or (tcond == true and TF < TF[1])Then { hh = highest(h,n); ll = lowest(l,n); } if hh > 0 and ll > 0 then { if h > hh Then hh = h; if l < ll Then ll = l; mm = (hh+ll)/2; var1=ema((c-mm),sig); } } 2 input:atime(30); input:n(30); input:sig(5); input:시작일(20200910); input:시작시간(130000); var : S1(0),D1(0),TM(0),TF(0); var : hh(0),ll(0),mm(0),month(0),Tcond(false); if Tcond == false and sdate >= 시작일 and stime >= 시작시간 Then Tcond = true; if (Tcond == true and tcond != tcond[1]) or (tcond == true and tcond == tcond[1] and Bdate != bdate[1])Then { hh = highest(h,n); ll = lowest(l,n); } if hh > 0 and ll > 0 then { if h > hh Then hh = h; if l < ll Then ll = l; mm = (hh+ll)/2; var1=ema((c-mm),sig); } 3 input:atime(30); input:n(30); input:sig(5); input:시작일(20200910); input:시작시간(130000); var : S1(0),D1(0),TM(0),TF(0); var : hh(0),ll(0),mm(0),month(0),Tcond(false); if Tcond == false and sdate >= 시작일 and stime >= 시작시간 Then Tcond = true; if (Tcond == true and tcond != tcond[1]) or (tcond == true and tcond == tcond[1] and dayofweek(Bdate) < DayOfWeek(bdate[1])) Then { hh = highest(h,n); ll = lowest(l,n); } if hh > 0 and ll > 0 then { if h > hh Then hh = h; if l < ll Then ll = l; mm = (hh+ll)/2; var1=ema((c-mm),sig); } 즐거운 하루되세요 > 뮬리 님이 쓴 글입니다. > 제목 : 부탁 드립니다. > 도움에 감사 드립니다. 타주기 지표 부탁 드립니다. 1)예를 들어 100틱차트에서 300틱 지표 2)예를 들어 60분봉차트에서 일봉지표 3)예를 들어 60분봉차트에서 주봉지표 미리 경배로 감사 인사 올립니다. input:atime(30); input:n(30); input:sig(5); input:시작일(20200910); input:시작시간(130000); var : S1(0),D1(0),TM(0),TF(0); var : hh(0),ll(0),mm(0),month(0),Tcond(false); if Tcond == false and sdate >= 시작일 and stime >= 시작시간 Then Tcond = true; if tcond == true and Tcond != Tcond[1] then { S1 = TimeToMinutes(stime); D1 = sdate; } if D1 > 0 then { if sdate == D1 Then TM = TimeToMinutes(stime)-S1; Else TM = TimeToMinutes(stime)+1440-S1; TF = TM%atime; if (Tcond == true and tcond != tcond[1]) or (tcond == true and tcond == tcond[1] and TF < TF[1])Then { hh = highest(h,n); ll = lowest(l,n); } if hh > 0 and ll > 0 then { if h > hh Then hh = h; if l < ll Then ll = l; mm = (hh+ll)/2; var1=ema((c-mm),sig); } }