커뮤니티
H and S pattern 매매식
2006-01-24 12:43:37
1304
글번호 9203
일봉에서
Head and Shoulder Bottom 패턴에서 종가가 neckline 상향돌파시 매수
Head and Shoulder Top 패턴에서 종가가 neckline 하향돌파시 매도하는
시스템식을 부탁드립니다.
감사합니다.
답변 1
예스스탁 예스스탁 답변
2006-01-24 17:34:20
안녕하세요
예스스탁입니다.
문의하신 식은 다음과 같습니다.
var : H1(0),H2(0),H3(0),HI1(0),HI2(0),HI3(0);
var : L1(0),L2(0),L3(0),LI1(0),LI2(0),LI3(0);
H1 = swinghigh(1,H,3,3,100);
HI1 = swinghighbar(1,H,3,3,100);
H2 = swinghigh(2,H,3,3,100);
HI2 = swinghighbar(2,H,3,3,100);
H3 = swinghigh(3,H,3,3,100);
HI3 = swinghighbar(3,H,3,3,100);
L1 = swinglow(1,L,3,3,100);
LI1 = swinglowbar(1,L,3,3,100);
L2 = swinglow(2,L,3,3,100);
LI2 = swinglowbar(2,L,3,3,100);
L3 = swinglow(3,L,3,3,100);
LI3 = swinglowbar(3,L,3,3,100);
if max(H1,H2,H3) == H2 and HI3 < HI2+10 and HI2 < HI1+10 then{
if crossdown(c,swinglow(1,H,35,3,100)) then
buy();
}
if min(L1,L2,L3) == L2 and LI3 < LI2+10 and LI2 < LI1+10 then{
if crossup(c,swinghigh(1,L,35,3,100)) then
sell();
}
의도와 다른 부분이 있으시면 자세한 내용 부탁드립니다.
즐거운 하루되세요
> bsbs 님이 쓴 글입니다.
> 제목 : H and S pattern 매매식
> 일봉에서
Head and Shoulder Bottom 패턴에서 종가가 neckline 상향돌파시 매수
Head and Shoulder Top 패턴에서 종가가 neckline 하향돌파시 매도하는
시스템식을 부탁드립니다.
감사합니다.