커뮤니티

손절실 넣어주세요

프로필 이미지
회원
2013-10-08 15:31:50
160
글번호 68232
답변완료
안녕하세요 누적 빼고 손절식 좀 넣어주세요 손절은 매수 신호 나온 봉 저점으로 넣어주세요 매도는 연속으로 양봉 2개나오면 매도하는걸로 바꾸어주세요 매수할때 음봉에서는 매수 안되게 해주세요 양봉에서만 매수 하게해주세요 그럼 수고하세요 ~ 혹시 수익나는 시스템식있으면 추천좀 해주세요 ㅜㅜ input : 투입금액(100000); if CodeCategory == 1 Then{ #코스피 if BasePrice < 50000 Then Var1 = int(int(투입금액/C)/10)*10; Else Var1 = int(투입금액/C); } if CodeCategory == 2 Then#코스닥 Var1 = int(투입금액/C); if CodeCategory == 6 Then#옵션 Var1 = int(투입금액/(C*BigPointValue)); If V >100000 and Upvol/DownVol*100 >=150 and c < DayClose(1)*1.12 Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수",onclose,def,var1); } if CodeCategory == 1 Then{ if BasePrice < 50000 Then value1 = int(int(투입금액/C)/10)*10; Else value1 = int(투입금액/C); } if CodeCategory == 2 or CodeCategory == 8 Then value1 = int(투입금액/C); if MarketPosition == 0 and ExitDate(1) != sdate and C < DayClose(1)*1.12 Then buy("매수2",OnClose,def,value1); if MarketPosition == 1 Then{ if CurrentEntries == 1 Then exitlong("매도1",atlimit,EntryPrice*1.05); if CurrentEntries >= 2 Then exitlong("매도2",atlimit,AvgEntryPrice*1.02); }
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-10-08 16:31:14

안녕하세요 예스스탁입니다. 진입의 누적은 시스템 트레이딩 설정창의 피라미딩 탭에서 허용안함으로 설정하시면 추가진입을 하지 않습니다. 설정창에서 허용안함르로 설정하시면 됩니다. 매도1과 매도2 청산식이 필요없으시면 아래식에서 삭제하시면 됩니다. input : 투입금액(100000); if CodeCategory == 1 Then{ #코스피 if BasePrice < 50000 Then Var1 = int(int(투입금액/C)/10)*10; Else Var1 = int(투입금액/C); } if CodeCategory == 2 Then#코스닥 Var1 = int(투입금액/C); if CodeCategory == 6 Then#옵션 Var1 = int(투입금액/(C*BigPointValue)); If V >100000 and Upvol/DownVol*100 >=150 and c < DayClose(1)*1.12 and C > O Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수",onclose,def,var1); } if CodeCategory == 1 Then{ if BasePrice < 50000 Then value1 = int(int(투입금액/C)/10)*10; Else value1 = int(투입금액/C); } if CodeCategory == 2 or CodeCategory == 8 Then value1 = int(투입금액/C); if MarketPosition == 0 and ExitDate(1) != sdate and C < DayClose(1)*1.12 and C > O Then buy("매수2",OnClose,def,value1); if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C >O,2) == 2 Then ExitLong("연속양봉매도"); if CurrentEntries == 1 Then exitlong("매도1",atlimit,EntryPrice*1.05); if CurrentEntries >= 2 Then exitlong("매도2",atlimit,AvgEntryPrice*1.02); } 즐거운 하루되세요 > HI_jh***** 님이 쓴 글입니다. > 제목 : 손절실 넣어주세요 > 안녕하세요 누적 빼고 손절식 좀 넣어주세요 손절은 매수 신호 나온 봉 저점으로 넣어주세요 매도는 연속으로 양봉 2개나오면 매도하는걸로 바꾸어주세요 매수할때 음봉에서는 매수 안되게 해주세요 양봉에서만 매수 하게해주세요 그럼 수고하세요 ~ 혹시 수익나는 시스템식있으면 추천좀 해주세요 ㅜㅜ input : 투입금액(100000); if CodeCategory == 1 Then{ #코스피 if BasePrice < 50000 Then Var1 = int(int(투입금액/C)/10)*10; Else Var1 = int(투입금액/C); } if CodeCategory == 2 Then#코스닥 Var1 = int(투입금액/C); if CodeCategory == 6 Then#옵션 Var1 = int(투입금액/(C*BigPointValue)); If V >100000 and Upvol/DownVol*100 >=150 and c < DayClose(1)*1.12 Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수",onclose,def,var1); } if CodeCategory == 1 Then{ if BasePrice < 50000 Then value1 = int(int(투입금액/C)/10)*10; Else value1 = int(투입금액/C); } if CodeCategory == 2 or CodeCategory == 8 Then value1 = int(투입금액/C); if MarketPosition == 0 and ExitDate(1) != sdate and C < DayClose(1)*1.12 Then buy("매수2",OnClose,def,value1); if MarketPosition == 1 Then{ if CurrentEntries == 1 Then exitlong("매도1",atlimit,EntryPrice*1.05); if CurrentEntries >= 2 Then exitlong("매도2",atlimit,AvgEntryPrice*1.02); }