커뮤니티

진입제한

프로필 이미지
질갱이
2014-12-23 12:17:47
148
글번호 81596
답변완료
안녕하세요 시스템식에 진입횟수을 2회로 제한부탁합니다 매수만하는매수식도있고 매도만하는매도식도있는데 같이부탁합니다
시스템
답변 3
프로필 이미지

예스스탁 예스스탁 답변

2014-12-23 13:08:14

안녕하세요 예스스탁입니다. var : cnt(0),count(0); #당일 진입횟수 카운트 count = 0; for cnt = 0 to 20{ if sdate ==EntryDate(cnt) Then count = count+1; } if 매수진입조건 and count < 2 Then buy(); if 매도진입조건 and count < 2 Then sell(); 즐거운 하루되세요 > 질갱이 님이 쓴 글입니다. > 제목 : 진입제한 > 안녕하세요 시스템식에 진입횟수을 2회로 제한부탁합니다 매수만하는매수식도있고 매도만하는매도식도있는데 같이부탁합니다
프로필 이미지

질갱이

2014-12-23 14:11:04

이렇게하니안됩니다 부탁합니다 if crossup(C , dayopen) Then buy(); if crossdown(C,dayopen) Then exitlong(); } #목표수익 SetStopProfittarget(PriceScale*20,PointStop); #손절 SetStopLoss(PriceScale*20,PointStop); (dayopen); #15시 SetStopEndofday(150000); var : cnt(0),count(0); #당일 진입횟수 카운트 count = 0; for cnt = 0 to 20{ if sdate ==EntryDate(cnt) Then count = count+1; } if 매수진입조건 and count < 2 Then buy(); if 매도진입조건 and count < 2 Then sell(); > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 진입제한 > 안녕하세요 예스스탁입니다. var : cnt(0),count(0); #당일 진입횟수 카운트 count = 0; for cnt = 0 to 20{ if sdate ==EntryDate(cnt) Then count = count+1; } if 매수진입조건 and count < 2 Then buy(); if 매도진입조건 and count < 2 Then sell(); 즐거운 하루되세요 > 질갱이 님이 쓴 글입니다. > 제목 : 진입제한 > 안녕하세요 시스템식에 진입횟수을 2회로 제한부탁합니다 매수만하는매수식도있고 매도만하는매도식도있는데 같이부탁합니다
프로필 이미지

예스스탁 예스스탁 답변

2014-12-23 17:39:20

안녕하세요 예스스탁입니다. var : cnt(0),count(0); #당일 진입횟수 카운트 count = 0; for cnt = 0 to 20{ if sdate ==EntryDate(cnt) Then count = count+1; } if crossup(C , dayopen) and count < 2 Then buy(); if crossdown(C,dayopen) Then exitlong(); #목표수익 SetStopProfittarget(PriceScale*20,PointStop); #손절 SetStopLoss(PriceScale*20,PointStop); #15시 SetStopEndofday(150000); 즐거운 하루되세요 > 질갱이 님이 쓴 글입니다. > 제목 : Re : Re : 진입제한 > 이렇게하니안됩니다 부탁합니다 if crossup(C , dayopen) Then buy(); if crossdown(C,dayopen) Then exitlong(); } #목표수익 SetStopProfittarget(PriceScale*20,PointStop); #손절 SetStopLoss(PriceScale*20,PointStop); (dayopen); #15시 SetStopEndofday(150000); var : cnt(0),count(0); #당일 진입횟수 카운트 count = 0; for cnt = 0 to 20{ if sdate ==EntryDate(cnt) Then count = count+1; } if 매수진입조건 and count < 2 Then buy(); if 매도진입조건 and count < 2 Then sell(); > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 진입제한 > 안녕하세요 예스스탁입니다. var : cnt(0),count(0); #당일 진입횟수 카운트 count = 0; for cnt = 0 to 20{ if sdate ==EntryDate(cnt) Then count = count+1; } if 매수진입조건 and count < 2 Then buy(); if 매도진입조건 and count < 2 Then sell(); 즐거운 하루되세요 > 질갱이 님이 쓴 글입니다. > 제목 : 진입제한 > 안녕하세요 시스템식에 진입횟수을 2회로 제한부탁합니다 매수만하는매수식도있고 매도만하는매도식도있는데 같이부탁합니다