커뮤니티
문의드림
2019-02-11 05:45:45
159
글번호 126017
아래수식으로 종목검색을 하고 싶은데 검색이 않되네요
input:기간(5);
var:nhh(0),no(0),nh(0),nl(0);
if l==lowest(l,5) then ll=l;
else if l[1]== lowest(l,5) then ll=l[1];
else if l[2]== lowest(1,5) then ll=l[2];
else if l[3]== lowest(1,5) then ll=l[3];
else if l[4]== lowest(1,5) then ll=l[4];
else ll=0;
if h>highest(h[1],기간) then
{nhh=h;
no=index;
}
if index-no==3 && highest(h,3)<highest(h,4) then
{nh=nhh;
nl=ll;
}
if crossup(c,nh) then find(1);
검정은 완료되었다고하는데 종목검색이 안되네요
검토해보시고지도부탁드립니다
답변 1
예스스탁 예스스탁 답변
2019-02-11 15:08:40
안녕하세요
예스스탁입니다.
올려주신 수식은 종목검색이 정상적으로 수행되고 있습니다.
종목검색 속성에서 검색에 필요한 최소기간에 넉넉히 100봉 지정하고 검색하시기 바랍니다.
input:기간(5);
var:nhh(0),no(0),nh(0),nl(0),ll(0);
if l==lowest(l,5) then ll=l;
else if l[1]== lowest(l,5) then ll=l[1];
else if l[2]== lowest(1,5) then ll=l[2];
else if l[3]== lowest(1,5) then ll=l[3];
else if l[4]== lowest(1,5) then ll=l[4];
else ll=0;
if h>highest(h[1],기간) then
{nhh=h;
no=index;
}
if index-no==3 && highest(h,3)<highest(h,4) then
{nh=nhh;
nl=ll;
}
if crossup(c,nh) then find(1);
즐거운 하루되세요
> bull7날개짓 님이 쓴 글입니다.
> 제목 : 문의드림
> 아래수식으로 종목검색을 하고 싶은데 검색이 않되네요
input:기간(5);
var:nhh(0),no(0),nh(0),nl(0);
if l==lowest(l,5) then ll=l;
else if l[1]== lowest(l,5) then ll=l[1];
else if l[2]== lowest(1,5) then ll=l[2];
else if l[3]== lowest(1,5) then ll=l[3];
else if l[4]== lowest(1,5) then ll=l[4];
else ll=0;
if h>highest(h[1],기간) then
{nhh=h;
no=index;
}
if index-no==3 && highest(h,3)<highest(h,4) then
{nh=nhh;
nl=ll;
}
if crossup(c,nh) then find(1);
검정은 완료되었다고하는데 종목검색이 안되네요
검토해보시고지도부탁드립니다