커뮤니티
지표작성 문의 드립니다.
2019-08-22 10:03:15
198
글번호 131345
시그널메이커 사용하다가 지원 안되는게 너무 많아서 이리 넘어왔습니다.
지표에 왜 이렇게 사용하는지 약간의 설명도 함께 부탁드립니다.
(스크립트 작성 방법이 많이 다른거 같더라구요)
- 지표 문의 내용
일목균형표의 전환선과 기준선을 비교하여 highestsince와 lowestsince로
부탁 드립니다.
아래는 키움에서 지원하는 수식관리자 수식 내용입니다.
1. 전환선
(highest(high,shortPeriod)+lowest(low,shortPeriod))/2
2. H
Ch = (highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
Bs = (highest(high,midPeriod)+lowest(low,midPeriod))/2;
Highestsince(1, Ch > Bs, Ch)
3. L
Ch = (highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
Bs = (highest(high,midPeriod)+lowest(low,midPeriod))/2;
Lowestsince(1, Ch < Bs, Ch)
부탁드립니다.
답변 1
예스스탁 예스스탁 답변
2019-08-22 15:24:10
안녕하세요
예스스탁입니다.
일목균형표 전환선과 기준선을 이용해
최근 골드구간이후의 최고가와 데드구간 이후의 최저가를 표시하기 위한
지표입니다.
input : shortperiod(9),midperiod(26);
var : ch(0),Bs(0),Highestsince(0),Lowestsince(0);
ch = (highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
bs = (highest(high,midPeriod)+lowest(low,midPeriod))/2;
if ch > bs Then
Highestsince = h;
if Highestsince > 0 and h > Highestsince Then
Highestsince = h;
if ch < bs Then
Lowestsince = l;
if Lowestsince > 0 and l < Lowestsince Then
Lowestsince = l;
plot1(ch,"전환선");
plot2(Highestsince,"Highestsince");
plot3(Lowestsince,"Lowestsince");
즐거운 하루되세요
> maker 님이 쓴 글입니다.
> 제목 : 지표작성 문의 드립니다.
> 시그널메이커 사용하다가 지원 안되는게 너무 많아서 이리 넘어왔습니다.
지표에 왜 이렇게 사용하는지 약간의 설명도 함께 부탁드립니다.
(스크립트 작성 방법이 많이 다른거 같더라구요)
- 지표 문의 내용
일목균형표의 전환선과 기준선을 비교하여 highestsince와 lowestsince로
부탁 드립니다.
아래는 키움에서 지원하는 수식관리자 수식 내용입니다.
1. 전환선
(highest(high,shortPeriod)+lowest(low,shortPeriod))/2
2. H
Ch = (highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
Bs = (highest(high,midPeriod)+lowest(low,midPeriod))/2;
Highestsince(1, Ch > Bs, Ch)
3. L
Ch = (highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
Bs = (highest(high,midPeriod)+lowest(low,midPeriod))/2;
Lowestsince(1, Ch < Bs, Ch)
부탁드립니다.
다음글
이전글