커뮤니티

시스템 식 부탁 드립니다.

프로필 이미지
회원
2014-08-12 13:24:05
129
글번호 77623
답변완료
매수: 20이평이 60이평상향시 매수 매도: stochastic (12,5,5) 의 signal 선이 50% 상향시 매수 총수의 50% 매도, stochastic(12,5,5,)의 signal선이 80% 상향시 aotnchdtndml 30%매도 stochastic(12,5,5,)의 signal선이 80% 하향시 aotnchdtndml 20%매도
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2014-08-12 14:34:59

안녕하세요 예스스탁입니다. var : vol1(0),vol2(0),vol3(0); var1 = ma(c,20); var2 = ma(c,60); var3 = StochasticsD(12,5,5); if crossup(var1,var2) Then buy(); if MarketPosition == 1 Then{ if CodeCategoryEx == 11 and BasePrice < 50000 Then{ vol1 = int(int(MaxContracts*0.5)/10)*10; vol2 = int(int(MaxContracts*0.3)/10)*10; vol3 = MaxContracts-vol1-vol2; } Else{ vol1 = int(MaxContracts*0.5); vol2 = int(MaxContracts*0.5); vol3 = MaxContracts-vol1-vol2; } if crossup(var3,50) Then ExitLong("bx1",OnClose,def,"",vol1,1); if crossup(var3,80) Then ExitLong("bx2",OnClose,def,"",vol2,1); if CrossDown(var3,80) Then ExitLong("bx3",OnClose,def,"",vol3,1); } 즐거운 하루되세요 > 기관장 님이 쓴 글입니다. > 제목 : 시스템 식 부탁 드립니다. > 매수: 20이평이 60이평상향시 매수 매도: stochastic (12,5,5) 의 signal 선이 50% 상향시 매수 총수의 50% 매도, stochastic(12,5,5,)의 signal선이 80% 상향시 aotnchdtndml 30%매도 stochastic(12,5,5,)의 signal선이 80% 하향시 aotnchdtndml 20%매도