커뮤니티

수정부탁합니다

프로필 이미지
회원
2013-10-11 17:46:21
150
글번호 68365
답변완료
안녕하세요 1.9시~9시30분시간때 매수는 5프로 이하일경우만 매수되게해주세요 2.3시40분~4시까지도 매수 신호 나오도록 해주세요 3.시가 마이너스로 시작할때 매수금지되기로했는데요 9시~9시30분시간때는 매수금지되고 3시40분~4시때는 상관없이 매수가능하게 해주세요 input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); }
시스템
답변 3
프로필 이미지

예스스탁 예스스탁 답변

2013-10-11 17:48:53

안녕하세요 예스스탁입니다. input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) and dayopen < DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수1",onclose,def,var1); } If V >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 154000 and stime < 160000 Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수2",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); } 시간이 정규장 시간과 맞지가 않습니다. 13시 40분~14시 이시면 아래식 이용하시면 됩니다. input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) and dayopen < DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수1",onclose,def,var1); } If V >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 134000 and stime < 140000 Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수2",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); } 즐거운 하루도세요 > HI_jh***** 님이 쓴 글입니다. > 제목 : 수정부탁합니다 > 안녕하세요 1.9시~9시30분시간때 매수는 5프로 이하일경우만 매수되게해주세요 2.3시40분~4시까지도 매수 신호 나오도록 해주세요 3.시가 마이너스로 시작할때 매수금지되기로했는데요 9시~9시30분시간때는 매수금지되고 3시40분~4시때는 상관없이 매수가능하게 해주세요 input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); }
프로필 이미지

회원

2013-10-11 17:57:20

아 죄송요 시간이 2시40~2시50분까지요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수정부탁합니다 > 안녕하세요 예스스탁입니다. input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) and dayopen < DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수1",onclose,def,var1); } If V >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 154000 and stime < 160000 Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수2",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); } 시간이 정규장 시간과 맞지가 않습니다. 13시 40분~14시 이시면 아래식 이용하시면 됩니다. input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) and dayopen < DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수1",onclose,def,var1); } If V >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 134000 and stime < 140000 Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수2",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); } 즐거운 하루도세요 > HI_jh***** 님이 쓴 글입니다. > 제목 : 수정부탁합니다 > 안녕하세요 1.9시~9시30분시간때 매수는 5프로 이하일경우만 매수되게해주세요 2.3시40분~4시까지도 매수 신호 나오도록 해주세요 3.시가 마이너스로 시작할때 매수금지되기로했는데요 9시~9시30분시간때는 매수금지되고 3시40분~4시때는 상관없이 매수가능하게 해주세요 input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); }
프로필 이미지

예스스탁 예스스탁 답변

2013-10-14 08:45:46

안녕하세요 예스스탁입니다. input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) and dayopen < DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수1",onclose,def,var1); } If V >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 144000 and stime < 145000 Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수2",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); } 즐거운 하루되세요 > HI_jh***** 님이 쓴 글입니다. > 제목 : Re : Re : 수정부탁합니다 > 아 죄송요 시간이 2시40~2시50분까지요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수정부탁합니다 > 안녕하세요 예스스탁입니다. input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) and dayopen < DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수1",onclose,def,var1); } If V >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 154000 and stime < 160000 Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수2",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); } 시간이 정규장 시간과 맞지가 않습니다. 13시 40분~14시 이시면 아래식 이용하시면 됩니다. input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) and dayopen < DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수1",onclose,def,var1); } If V >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 134000 and stime < 140000 Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수2",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); } 즐거운 하루도세요 > HI_jh***** 님이 쓴 글입니다. > 제목 : 수정부탁합니다 > 안녕하세요 1.9시~9시30분시간때 매수는 5프로 이하일경우만 매수되게해주세요 2.3시40분~4시까지도 매수 신호 나오도록 해주세요 3.시가 마이너스로 시작할때 매수금지되기로했는데요 9시~9시30분시간때는 매수금지되고 3시40분~4시때는 상관없이 매수가능하게 해주세요 input : 투입금액(300000),P(20); var : ma2(0); ma2 = ma(c,20); 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 >30000 and Upvol/DownVol*100 >=120 and C > O and C > ma2 and stime >= 90000 and stime < 93000 and dayopen > DayClose(1) Then{ if MarketPosition == 0 or (MarketPosition == 1 and C <= EntryPrice*0.95) Then buy("매수",onclose,def,var1); } if MarketPosition == 1 Then{ ExitLong("손절",AtStop,L[BarsSinceEntry]-PriceScale); if countif(C < O,2) == 2 Then ; } value1 = ema(C, 1); value2 = ema(C, 5); # 매도/매수청산 If CrossDown(value1, value2) and C > EntryPrice Then { Sell(); }