커뮤니티

거래횟수제한

프로필 이미지
mir
2003-12-28 19:03:13
1368
글번호 1791
답변완료
선물 분봉에서 30분 MBO로 거래시에 거래횟수를 1회로 제한하는 수식을 부탁드립니다. (예스트레이더 프로에서)
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2003-12-29 13:57:50

안녕하세요? 예스스탁입니다... 문의하신 식을 작성하면 아래와 같습니다.... input : startTime(90000), endTime(092959); if stime >= 93000 and stime < 145000 and crossup(C,TimeHigh(startTime,endTime)) then { exitshort(); if date != entrydate(0) and date != entrydate(1) then buy(); } if stime >= 93000 and stime < 145000 and crossdown(C,TimeLow(startTime,endTime)) then { exitlong(); if date != entrydate(0) and date != entrydate(1) then sell(); } if stime == 145000 then { exitlong(); exitshort(); } 감사합니다.... > yunyu09 님이 쓴 글입니다. > 제목 : 거래횟수제한 > 선물 분봉에서 30분 MBO로 거래시에 거래횟수를 1회로 제한하는 수식을 부탁드립니다. (예스트레이더 프로에서)