커뮤니티

해외선물 거래 시간 규칙 질문

프로필 이미지
그리움
2026-09-01 12:25:20
65
글번호 233441
답변완료


5이평이 20이평 돌파하면 매수 반대면 매도.


시간 조건 본장 ( 밤 10시 30분 ? 서머타임 체크도 가능할까요 ? ) 본장 시작부터 새벽 3시 30분 종료. 이후나 이전 시간은 거래 안함.


손절 100 틱 수익 100틱.



감사합니다.




시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2026-09-01 14:45:34

안녕하세요 예스스탁입니다. input : P1(5),P2(20); input : 손절틱수(100),익절틱수(100); var : Tcond(False),E(Nan),S(Nan); if sDate != sDate[1] and E <= S Then SetStopEndofday(E); if Bdate != Bdate[1] Then { if sTime < 80000 Then { S = 223000; E = 033000; } Else { S = 233000; E = 043000; } IF E <= S Then { SetStopEndofday(0); } Else SetStopEndofday(E); } if (sdate != sdate[1] and stime >= E) or (sdate == sdate[1] and stime >= E and stime[1] < E) Then Tcond = False; if (sdate != sdate[1] and stime >= S) or (sdate == sdate[1] and stime >= S and stime[1] < S) Then Tcond = true; var1 = ma(C,P1); var2 = ma(C,P2); if Tcond == true Then { if CrossUp(C,ma(C,20)) Then Buy("b"); if CrossDown(C,ma(C,20)) Then Sell("s"); } SetStopProfittarget(PriceScale*익절틱수,PointStop); SetStopLoss(PriceScale*손절틱수,PointStop); 즐거운 하루되세요