커뮤니티

문의

프로필 이미지
좌오비우오비
2019-12-23 11:13:38
266
글번호 134606
답변완료

첨부 이미지

아래는 만기일 거래수식입니다. 첨부파일은 미니선물 1분차트입니다. 2019년 11월 만기일만 거래가 안되는데 수식 살펴주세요 ****************************************************************************** var : nday(0),week(0),Xdate(0); nday = date - int(date/100)*100; week = DayOfWeek(date); if (nday >= 8 and nday <= 14 and week == 4) or (sdate == 20141008) or (sdate == 20190911) then Xdate = sdate; if sdate == Xdate then { input : ntime(090000),n(1); if stime == ntime or (stime > ntime and stime[1] < ntime) Then { if MaxEntries < n Then buy("b1"); } }
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2019-12-23 11:46:40

안녕하세요 예스스탁입니다. 11월14일 옵션 만기일이 수능일이었습니다. 아침에 장이 10시에 시작합니다. 옵션 만기일에 9시 이후의 첫봉으로 수정해 드립니다. input : ntime(090000),n(1); var : nday(0),week(0),Xdate(0); nday = date - int(date/100)*100; week = DayOfWeek(date); if (nday >= 8 and nday <= 14 and week == 4) or (sdate == 20141008) or (sdate == 20190911) then Xdate = sdate; if sdate == Xdate then { if (sdate != sdate[1] and stime >= ntime) or (sdate == sdate[1] and stime > ntime and stime[1] < ntime) Then { if MaxEntries < n Then buy("b1"); } } 즐거운 하루되세요 > 좌오비우오비 님이 쓴 글입니다. > 제목 : 문의 > 아래는 만기일 거래수식입니다. 첨부파일은 미니선물 1분차트입니다. 2019년 11월 만기일만 거래가 안되는데 수식 살펴주세요 ****************************************************************************** var : nday(0),week(0),Xdate(0); nday = date - int(date/100)*100; week = DayOfWeek(date); if (nday >= 8 and nday <= 14 and week == 4) or (sdate == 20141008) or (sdate == 20190911) then Xdate = sdate; if sdate == Xdate then { input : ntime(090000),n(1); if stime == ntime or (stime > ntime and stime[1] < ntime) Then { if MaxEntries < n Then buy("b1"); } }