커뮤니티
수식 점검 부탁
2005-12-26 16:32:46
1286
글번호 9036
수고하십니다.
아래는 5분봉 기준 데이시스템입니다.
의도한 데로 신호가 발생하지 않는 것 같아
(특히 추세가 강한 날에) 수식 점검
부탁드립니다.
아래 e-mail로 답변하여 주시면 감사하겠습니다.
cyberhwchoi@hanmir.com
감사합니다.
var : x20(0), x60(0);
x20 = ma(c, 20);
x60 = ma(c, 60);
if stime > 90000 and stime <140000 then begin
if crossup (c, x60+0.10) and c > x20
and x20 > x20[10] + 0.10
and disparity(120) < 101
then Buy ("buy");
if crossdown (c, x60-0.10) and c< x20
and x20 < x20[10] - 0.10
and disparity(120) > 98
then Sell ("sell");
end;
if marketposition() == 1 then begin
if disparity (120) > 102
then exitlong ("StopL");
setstopprofittarget(2, pointstop);
end;
if marketposition() == -1 then begin
if disparity (120) < 98
then exitshort ("StopS");
setstopprofittarget(3, pointstop);
end;
Setstopendofday(150500);
답변 1
예스스탁 예스스탁 답변
2005-12-27 10:46:05
> CJ_coco 님이 쓴 글입니다.
> 제목 : 수식 점검 부탁
> 수고하십니다.
아래는 5분봉 기준 데이시스템입니다.
의도한 데로 신호가 발생하지 않는 것 같아
(특히 추세가 강한 날에) 수식 점검
부탁드립니다.
아래 e-mail로 답변하여 주시면 감사하겠습니다.
cyberhwchoi@hanmir.com
감사합니다.
var : x20(0), x60(0);
x20 = ma(c, 20);
x60 = ma(c, 60);
if stime > 90000 and stime <140000 then begin
if crossup (c, x60+0.10) and c > x20
and x20 > x20[10] + 0.10
and disparity(120) < 101
then Buy ("buy");
if crossdown (c, x60-0.10) and c< x20
and x20 < x20[10] - 0.10
and disparity(120) > 98
then Sell ("sell");
end;
if marketposition() == 1 then begin
if disparity (120) > 102
then exitlong ("StopL");
setstopprofittarget(2, pointstop);
end;
if marketposition() == -1 then begin
if disparity (120) < 98
then exitshort ("StopS");
setstopprofittarget(3, pointstop);
end;
Setstopendofday(150500);
다음글
이전글