커뮤니티

재문의드립니다

프로필 이미지
곽민수
2016-05-24 15:24:51
120
글번호 98425
답변완료
input : P(10); var : MM(0),T(0); MM = (highest(H,P)+lowest(L,P))/2; if T == 0 and C > MM Then T = 1; if T == 0 and C < MM Then T = -1; if T == 1 and CrossDown(C,lowest(L,P)[1]) Then T = 0; if T == -1 and CrossUp(C,highest(H,P)[1]) Then T = 0; if dayindex == 0 and T == 1 then buy(); if dayindex == 0 and T == -1 then sell(); if dayindex > 0 then{ if T == 1 and T[1] != 1 Then buy(); if T == 0 and T[1] == 1 Then sell(); } if T == -1 and T[1] != -1 Then sell(); if T == 0 and T[1] == -1 Then buy(); SetStopEndofday(150000) 이부분에서 아침9시 부터 매수.매도 합쳐서 4번 만 신호가뜨게 수식 추가부탁드립니다!
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2016-05-24 17:48:26

안녕하세요 예스스탁입니다. input : P(10); var : MM(0),T(0),TT(0),T1(0),entry(0); TT = TotalTrades; if bdate != bdate[1] Then T1 = TT; if MarketPosition == 0 Then entry = TT-T1; Else entry = TT-T1+1; MM = (highest(H,P)+lowest(L,P))/2; if T == 0 and C > MM Then T = 1; if T == 0 and C < MM Then T = -1; if T == 1 and CrossDown(C,lowest(L,P)[1]) Then T = 0; if T == -1 and CrossUp(C,highest(H,P)[1]) Then T = 0; if dayindex == 0 and T == 1 and entry < 4 then buy(); if dayindex == 0 and T == -1 and entry < 4 then sell(); if dayindex > 0 and entry < 4 then{ if T == 1 and T[1] != 1 Then buy(); if T == 0 and T[1] == 1 Then sell(); } if T == -1 and T[1] != -1 Then sell(); if T == 0 and T[1] == -1 Then buy(); SetStopEndofday(150000); 즐거운 하루되세요 > 곽민수 님이 쓴 글입니다. > 제목 : 재문의드립니다 > input : P(10); var : MM(0),T(0); MM = (highest(H,P)+lowest(L,P))/2; if T == 0 and C > MM Then T = 1; if T == 0 and C < MM Then T = -1; if T == 1 and CrossDown(C,lowest(L,P)[1]) Then T = 0; if T == -1 and CrossUp(C,highest(H,P)[1]) Then T = 0; if dayindex == 0 and T == 1 then buy(); if dayindex == 0 and T == -1 then sell(); if dayindex > 0 then{ if T == 1 and T[1] != 1 Then buy(); if T == 0 and T[1] == 1 Then sell(); } if T == -1 and T[1] != -1 Then sell(); if T == 0 and T[1] == -1 Then buy(); SetStopEndofday(150000) 이부분에서 아침9시 부터 매수.매도 합쳐서 4번 만 신호가뜨게 수식 추가부탁드립니다!