커뮤니티

문의드립니다

프로필 이미지
리나이
2018-12-27 17:36:29
185
글번호 124814
답변완료

첨부 이미지

시스템문의드립니다. 사진으로 첨부하였습니다. 감사합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2018-12-28 13:18:57

안녕하세요 예스스탁입니다. 1 시스템은 MIT와 같은 특수 주문은 지원 되지 않습니다. 차트의 데이타를 이용해 조건판단해 신호가 발생하면 시스템 트레이딩 설정창의 매매탭에서 지정한 매매가격으로 주문이 집행됩니다. 모두 지정가 형태나 시장가등만 제공됩니다 또한 취소주문도 제공되지 않습니다. 2 input : P(20),vol(2),tick(20); input : starttime(150000),endtime(030000),손절틱수(30),익절틱수(30); input : 스위칭(1);#0이면 스위칭불가 var : T(0); var : Tcond(false); if (sdate != sdate[1] and stime >= starttime) or (sdate == sdate[1] and stime >= starttime and stime[1] < starttime) then { Tcond = true; } if (sdate != sdate[1] and stime >= endtime) or (sdate == sdate[1] and stime >= endtime and stime[1] < endtime) then { Tcond = false; if MarketPosition == 1 Then ExitLong("bx"); if MarketPosition == -1 Then ExitShort("sx"); } var1 = ma(C,20); if crossup(c,var1) Then { T = 1; Condition1 = false; Condition11 = false; value1 = var1; } if CrossDown(c,var1) Then { T = -1; Condition2 = false; Condition22 = false; value1 = var1; } if T == 1 Then { if var1 >= value1+PriceScale*tick Then { Condition1 = true; } if Condition2 == true and Condition11 == false and C > O and Tcond == true Then { Condition11 = True; if MarketPosition == 0 or (MarketPosition == -1 and 스위칭 == 1) then Buy("b",AtMarket,def,vol); } } if T == -1 Then { if var1 <= value1-PriceScale*tick Then { Condition2 = true; } if Condition1 == true and Condition22 == false and C < O and Tcond == true Then { Condition22 = true; if MarketPosition == 0 or (MarketPosition == 1 and 스위칭 == 1) then sell("s",AtMarket,def,vol); } } SetStopLoss(PriceScale*손절틱수,PointStop); SetStopProfittarget(PriceScale*익절틱수,PointStop); 즐거운 하루되세요 > 리나이 님이 쓴 글입니다. > 제목 : 문의드립니다 > 시스템문의드립니다. 사진으로 첨부하였습니다. 감사합니다.