예스스탁
예스스탁 답변
2023-08-16 17:28:51
안녕하세요
예스스탁입니다.
올리신 내용에서 T는 상승/하락 추세인것 같습니다.
상승일때는 1, 하락일때는 -1로 보고 작성해 드립니다.
1번자리가 패턴완성이면 T는 -1에서 1로 변경된 상태입니다.
T가 1인구간에서 각 값돌파여부를 체크하시면 됩니다.
var : sd(0),st(0),ed(0),et(0),hh(0),ll(0),mm(0);
var : tt1(0),tt2(0),tt3(0),tt4(0),tt5(0),tt6(0),tt7(0),tt8(0),tt9(0),tt10(0);
var : xx1(0),xx2(0),xx3(0),xx4(0),xx5(0),xx6(0),xx7(0),xx8(0),xx9(0),xx10(0);
if T != T[1] then
{
if 고점[1,2] < 저점[1,2] then
{
sd = sdate[index-고점[1,2]];
st = stime[index-고점[1,2]];
ed = sdate[index-저점[1,2]];
et = stime[index-저점[1,2]];
hh = 고점[1,1];
ll = 저점[1,1];
mm = hh-ll;
}
if 고점[1,2] > 저점[1,2] then
{
sd = sdate[index-저점[1,2]];
st = stime[index-저점[1,2]];
ed = sdate[index-고점[1,2]];
et = stime[index-고점[1,2]];
hh = 고점[1,1];
ll = 저점[1,1];
mm = hh-ll;
}
}
if (T == 1 and C > O) and
(CrossUp(C,O[index-고점[1,2]]) or (CrossUp(고점[2,1]) or (C < 고점[2,1] and C > 고점[2,1]*0.97)) Then
Find(1);
즐거운 하루되세요
> 하루삼프로 님이 쓴 글입니다.
> 제목 : 부탁드립니다
> var : sd(0),st(0),ed(0),et(0),hh(0),ll(0),mm(0);
var : tt1(0),tt2(0),tt3(0),tt4(0),tt5(0),tt6(0),tt7(0),tt8(0),tt9(0),tt10(0);
var : xx1(0),xx2(0),xx3(0),xx4(0),xx5(0),xx6(0),xx7(0),xx8(0),xx9(0),xx10(0);
if T != T[1] then
{
if 고점[1,2] < 저점[1,2] then
{
sd = sdate[index-고점[1,2]];
st = stime[index-고점[1,2]];
ed = sdate[index-저점[1,2]];
et = stime[index-저점[1,2]];
hh = 고점[1,1];
ll = 저점[1,1];
mm = hh-ll;
}
if 고점[1,2] > 저점[1,2] then
{
sd = sdate[index-저점[1,2]];
st = stime[index-저점[1,2]];
ed = sdate[index-고점[1,2]];
et = stime[index-고점[1,2]];
hh = 고점[1,1];
ll = 저점[1,1];
mm = hh-ll;
}
}
항상 패턴이 완성된 봉을 기준으로 잡습니다.(1번//시가 2번//최고가 3번//최고가)
1= 1번 자리에서 패턴 완성후 횡보 또는 조정후 1번봉의 시가(기준봉)를 3% 이상 돌파하는
양봉이 나오거나 or
2= 앞전 패턴이 완성된 2번 자리의 고점을 0봉이 돌파 하거나 (양봉조건) or
3= 2번 자리의 고점을 3%이내로 근접하는 양봉이 나올때
1 or 2 or 3
주말 마무리 잘하시고 항상 감사 드립니다.