커뮤니티

안녕하세요

프로필 이미지
수원
2017-11-17 09:25:34
145
글번호 114265
답변완료
매매시간 오전10시15부터 10시40분까지 매매 합니다 매수조건 20 이평선이 60 이평선보다 크면 바로진입 매도조건 20이평선이 60 이평선보다 작으면 바로진입 합니다 익절 50틱 손절50 틱 매매끈난후에 오후2시부터3시까지 매매합니다, 매수조건 10이평선이 50이평선을 골드크로스 매수 단, 포지션이 있으면청산후 진입 매도조건 10이평선이 50 이평선읗 데드크로스 매도 단, 포지션이 있으면 청산후 진입 익절 40틱 손절 20 틱
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-11-17 14:22:48

안녕하세요 예스스탁입니다. var1 = ma(C,20); var2 = ma(C,60); var3 = ma(C,10); var4 = ma(C,50); if stime >= 101500 and stime < 104000 Then{ if var1 > var2 Then buy("b1"); if var1 < var2 Then sell("s1"); if MarketPosition == 1 Then{ ExitLong("bp1",AtLimit,EntryPrice+PriceScale*50); ExitLong("bl1",AtStop,EntryPrice-PriceScale*50); } if MarketPosition == -1 Then{ ExitShort("sp1",AtLimit,EntryPrice-PriceScale*50); ExitShort("sl1",AtStop,EntryPrice+PriceScale*50); } } if stime >= 140000 and stime < 150000 Then{ if crossup(var3,var4) Then buy("b2"); if CrossDown(var3,var4) Then sell("s2"); if MarketPosition == 1 Then{ ExitLong("bp2",AtLimit,EntryPrice+PriceScale*40); ExitLong("bl2",AtStop,EntryPrice-PriceScale*20); } if MarketPosition == -1 Then{ ExitShort("sp2",AtLimit,EntryPrice-PriceScale*40); ExitShort("sl2",AtStop,EntryPrice+PriceScale*20); } } 즐거운 하루되세요 > 수원 님이 쓴 글입니다. > 제목 : 안녕하세요 > 매매시간 오전10시15부터 10시40분까지 매매 합니다 매수조건 20 이평선이 60 이평선보다 크면 바로진입 매도조건 20이평선이 60 이평선보다 작으면 바로진입 합니다 익절 50틱 손절50 틱 매매끈난후에 오후2시부터3시까지 매매합니다, 매수조건 10이평선이 50이평선을 골드크로스 매수 단, 포지션이 있으면청산후 진입 매도조건 10이평선이 50 이평선읗 데드크로스 매도 단, 포지션이 있으면 청산후 진입 익절 40틱 손절 20 틱