커뮤니티

문의드립니다...

프로필 이미지
상위1프로되기
2012-05-07 22:57:13
346
글번호 50859
답변완료
1차매수대금:2백만원 2차매수대금:3백만원 3차매수대금:4백만원 오늘 시가는 전일종가대비 같거나 +에서 시작해야하고..만약 오늘 고가가 전일종가대비 +5프로미만이면 전일종가대비 -2프로에서매수 , 만약 오늘 고가가 전일종가대비 +5프로~10프로 사이이면 전일종가+1호가에서매수, 만약 오늘고가가 +10프로이상이면 전일종가대비 +2프로에서 매수...여기까지1차매수식이고.. 2차매수는 1차매수후 2프로하락하면 2차매수.. 3차매수는 1차매수후 4프로하락하면 3차매수.. 1차매수후 주가가 상승하면 5프로에서 절반매도..7프로에서 다시절반매도..10프로에서 전량매도...주가가 5프로이상 상승하고 떨어지면 매수가대비 1프로에서 전량이익실현 주가가 1차매수가 대비 7프로이상 상승하지않으면 2차매수 진행... 2차매수후에도 평단가대비 5프로에서 절반매도..7프로에서 다시절반매도..10프로에서 전량매도..평단가대비 5프로까지만 상승하고 떨어지면 평단가대비 1프로에서 전량이익실현 주가가 2차매수가 대비 7프로이상 상승하지않으면 3차매수진행.. 3차매수후에도 평단가대비 5프로에서 절반매도..7프로에서 다시절반매도..10프로에서 전량매도...평단가대비 5프로까지만 상승하고 떨어지면 평단가대비 1프로에서 전량이익실현.. 부탁드립니다
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2012-05-08 10:01:14

안녕하세요 예스스탁입니다. input : C1(2000000),C2(3000000),C3(4000000); var : entrycond1(false),entrycond2(false); var : Xcond11(false),Xcond12(false),Xcond21(false),Xcond22(false),Xcond31(false),Xcond32(false); if CodeCategory == 1 Then{ #코스피 if BasePrice < 50000 Then{ Var1 = int(int(C1/C)/10)*10; Var2 = int(int(C2/C)/10)*10; Var3 = int(int(C3/C)/10)*10; } Else{ Var1 = int(C1/C); Var1 = int(C2/C); Var1 = int(C3/C); } } if CodeCategory == 2 Then{#코스닥 Var1 = int(C1/C); Var1 = int(C2/C); Var1 = int(C3/C); } if CodeCategory == 6 or CodeCategory == 0 Then{#옵션 Var1 = int(C1/(C*BigPointValue)); Var1 = int(C2/(C*BigPointValue)); Var1 = int(C3/(C*BigPointValue)); } if dayopen > DayClose(1) and MarketPosition == 0 and stime < 150000 Then{ if dayhigh < DayClose(1)*1.05 Then buy("b1_1",atlimit, DayClose(1)*0.98,var1); if dayhigh >= DayClose(1)*1.05 and DayHigh < DayClose(1)*1.10 Then buy("b1_2",atlimit, DayClose(1)+PriceScale*1,var1); if dayhigh >= DayClose(1)*1.10 Then buy("b1_3",atlimit, DayClose(1)*1.02,var1); } if MarketPosition == 1 and stime < 150000 Then{ if MaxEntries == 1 and H >= EntryPrice*1.07 Then entrycond1 = true; if MaxEntries == 1 and Condition1 == false Then buy("b2",AtLimit,EntryPrice*0.98); if MaxEntries == 2 and H >= (EntryPrice*0.98)*1.07 Then entrycond2 = true; if MaxEntries == 2 and Condition2 == false Then buy("b3",AtLimit,EntryPrice*0.96); } if MarketPosition == 1 Then{ if MaxEntries == 1 Then{ if H >= AvgEntryPrice*1.05 Then Xcond11 = true; if Xcond11 == false Then exitlong("bx1_1",atlimit,AvgEntryPrice*1.05,"",int(CurrentContracts*0.5),1); if H >= AvgEntryPrice*1.07 Then Xcond12 = true; if Xcond12 == false Then exitlong("bx1_2",atlimit,AvgEntryPrice*1.07,"",int(CurrentContracts*0.5),1); exitlong("bx1_3",atlimit,AvgEntryPrice*1.10); if Xcond11 == true and Xcond12 == false Then ExitLong("bx1",AtStop,AvgEntryPrice*1.01); } if MaxEntries == 2 Then{ if H >= AvgEntryPrice*1.05 Then Xcond21 = true; if Xcond21 == false Then exitlong("bx2_1",atlimit,AvgEntryPrice*1.05,"",int(CurrentContracts*0.5),1); if H >= AvgEntryPrice*1.07 Then Xcond22 = true; if Xcond22 == false Then exitlong("bx2_2",atlimit,AvgEntryPrice*1.07,"",int(CurrentContracts*0.5),1); exitlong("bx2_3",atlimit,AvgEntryPrice*1.10); if Xcond21 == true and Xcond22 == false Then ExitLong("bx2",AtStop,AvgEntryPrice*1.01); } if MaxEntries == 3 Then{ if H >= AvgEntryPrice*1.05 Then Xcond31 = true; if Xcond31 == false Then exitlong("bx3_1",atlimit,AvgEntryPrice*1.05,"",int(CurrentContracts*0.5),1); if H >= AvgEntryPrice*1.05 Then Xcond32 = true; if Xcond32 == false Then exitlong("bx3_2",atlimit,AvgEntryPrice*1.07,"",int(CurrentContracts*0.5),1); exitlong("bx3_3",atlimit,AvgEntryPrice*1.10); if Xcond31 == true and Xcond32 == false Then ExitLong("bx3",AtStop,AvgEntryPrice*1.01); } } if MarketPosition == 0 Then{ entrycond1 = false; entrycond2 = false; Xcond11 = false; Xcond12 = false; Xcond21 = false; Xcond22 = false; Xcond31 = false; Xcond32 = false; } 최대한 짧은 주기에 적용하셔야 합니다. 피라미딩은 다른진입신호만 허용으로 설정하고 적용하시면 됩니다. 즐거운 하루되세요 > 상위1프로되기 님이 쓴 글입니다. > 제목 : 문의드립니다... > 1차매수대금:2백만원 2차매수대금:3백만원 3차매수대금:4백만원 오늘 시가는 전일종가대비 같거나 +에서 시작해야하고..만약 오늘 고가가 전일종가대비 +5프로미만이면 전일종가대비 -2프로에서매수 , 만약 오늘 고가가 전일종가대비 +5프로~10프로 사이이면 전일종가+1호가에서매수, 만약 오늘고가가 +10프로이상이면 전일종가대비 +2프로에서 매수...여기까지1차매수식이고.. 2차매수는 1차매수후 2프로하락하면 2차매수.. 3차매수는 1차매수후 4프로하락하면 3차매수.. 1차매수후 주가가 상승하면 5프로에서 절반매도..7프로에서 다시절반매도..10프로에서 전량매도...주가가 5프로이상 상승하고 떨어지면 매수가대비 1프로에서 전량이익실현 주가가 1차매수가 대비 7프로이상 상승하지않으면 2차매수 진행... 2차매수후에도 평단가대비 5프로에서 절반매도..7프로에서 다시절반매도..10프로에서 전량매도..평단가대비 5프로까지만 상승하고 떨어지면 평단가대비 1프로에서 전량이익실현 주가가 2차매수가 대비 7프로이상 상승하지않으면 3차매수진행.. 3차매수후에도 평단가대비 5프로에서 절반매도..7프로에서 다시절반매도..10프로에서 전량매도...평단가대비 5프로까지만 상승하고 떨어지면 평단가대비 1프로에서 전량이익실현.. 부탁드립니다