커뮤니티

시스템 수식 수정 부탁드립니다.

프로필 이미지
승부사1
2016-07-06 22:35:14
132
글번호 99823
답변완료
아래의 수식을 수정해주시면 감사하겠습니다. +3%이하의 갭상승인 경우 - 전일종가 돌파시 매수 +3%이상의 갭상승인 경우 - 시초가 매수 -3%이상의 갭하락인 경우 - 시가 돌파시 매수 -3%이하의 갭하락인 경우 - 매수 금지 - 아래 - input : 날짜 (20160701); if sdate == 날짜 and dayindex > 0 and dayopen > DayClose(1) and crossup(c,DayClose(1)) Then Buy("매수"); SetStopProfittarget(5,PercentStop); SetStopLoss(3,PercentStop);
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2016-07-07 11:08:45

안녕하세요 예스스탁입니다. input : 날짜 (20160701); if sdate == 날짜 and dayindex > 0 and dayopen > DayClose(1) and dayopen < DayClose(1)*1.03 and crossup(c,DayClose(1)) Then Buy("매수1"); if sdate == 날짜 and dayindex > 0 and dayopen >= DayClose(1)*1.03 and crossup(c,DayOpen) Then Buy("매수2"); if sdate == 날짜 and dayindex > 0 and dayopen <= DayClose(1)*0.97 and crossup(c,DayOpen) Then Buy("매수3"); SetStopProfittarget(5,PercentStop); SetStopLoss(3,PercentStop); 즐거운 하루되세요 > 승부사1 님이 쓴 글입니다. > 제목 : 시스템 수식 수정 부탁드립니다. > 아래의 수식을 수정해주시면 감사하겠습니다. +3%이하의 갭상승인 경우 - 전일종가 돌파시 매수 +3%이상의 갭상승인 경우 - 시초가 매수 -3%이상의 갭하락인 경우 - 시가 돌파시 매수 -3%이하의 갭하락인 경우 - 매수 금지 - 아래 - input : 날짜 (20160701); if sdate == 날짜 and dayindex > 0 and dayopen > DayClose(1) and crossup(c,DayClose(1)) Then Buy("매수"); SetStopProfittarget(5,PercentStop); SetStopLoss(3,PercentStop);