커뮤니티

부탁드립니다.

프로필 이미지
비류천
2014-11-24 11:05:54
127
글번호 80653
답변완료
종목에서 사용할 시스템입니다. 1. *매수 매주 금요일 2시48분에 1000만원어치 매수 *매수청산 매주 금요일 2시45분에 전량 매수청산 2. *매수 매일 2시48분에 1000만원어치 매수 *매수청산 매일 2시45분에 전량 매수청산 3. 2. *매수 매일 2시48분에 1000만원어치 매수 *매수청산 매일 2시45분에 전량 매수청산 or 3% 수익시 청산 or -1.5% 손실시 청산
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2014-11-24 19:46:46

안녕하세요 예스스탁입니다. 1. input : 투자금액(10000000); var : Vol1(0),vol2(0),vol3(0); if CodeCategoryEx == 11 and BasePrice < 50000 Then vol1 = int(int((투자금액)/C)/10)*10; Else vol1 = int((투자금액)/C); if DayOfWeek(sdate) == 5 and stime == 144800 Then buy("b",OnClose,def,vol1); if MarketPosition == 1 and DayOfWeek(sdate) == 5 and stime == 144500 Then ExitLong("bx"); 2. input : 투자금액(10000000); var : Vol1(0),vol2(0),vol3(0); if CodeCategoryEx == 11 and BasePrice < 50000 Then vol1 = int(int((투자금액)/C)/10)*10; Else vol1 = int((투자금액)/C); if DayOfWeek(sdate) == 5 and stime == 144800 Then buy("b",OnClose,def,vol1); if MarketPosition == 1 and stime == 144500 Then ExitLong("bx"); 3. input : 투자금액(10000000); var : Vol1(0),vol2(0),vol3(0); if CodeCategoryEx == 11 and BasePrice < 50000 Then vol1 = int(int((투자금액)/C)/10)*10; Else vol1 = int((투자금액)/C); if DayOfWeek(sdate) == 5 and stime == 144800 Then buy("b",OnClose,def,vol1); if MarketPosition == 1 and stime == 144500 Then ExitLong("bx"); SetStopProfittarget(3,PercentStop); SetStopLoss(1.5,PercentStop); 즐거운 하루되세요 > 비류천 님이 쓴 글입니다. > 제목 : 부탁드립니다. > 종목에서 사용할 시스템입니다. 1. *매수 매주 금요일 2시48분에 1000만원어치 매수 *매수청산 매주 금요일 2시45분에 전량 매수청산 2. *매수 매일 2시48분에 1000만원어치 매수 *매수청산 매일 2시45분에 전량 매수청산 3. 2. *매수 매일 2시48분에 1000만원어치 매수 *매수청산 매일 2시45분에 전량 매수청산 or 3% 수익시 청산 or -1.5% 손실시 청산