커뮤니티

수정부탁드립니다^^

프로필 이미지
곽민수
2016-05-31 21:36:07
120
글번호 98666
답변완료
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시부터 맞는 색깔에 신호가뜨는데 수정할 부분은 아침 10시 30분 부터 강조식에 색깔이 맞는 표시에 신호가 나왔으면좋겠습니다 10시 30분에 빨강색이면 매수 파랑색이면 매도 잘부탁드립니다 항상 감사합니다^^
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2016-06-01 16:20:33

안녕하세요 예스스탁입니다. input : P(10); var : MM(0),T(0),idx(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 date != date[1] Then idx = 0; if stime >= 103000 then{ idx = idx+1; if (idx == 0 and T == 1) or (idx > 0 and T == 1 and T[1] != 1) then buy(); if (idx == 0 and T == -1) or (idx > 0 and T == -1 and T[1] != -1) then sell(); } 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시부터 맞는 색깔에 신호가뜨는데 수정할 부분은 아침 10시 30분 부터 강조식에 색깔이 맞는 표시에 신호가 나왔으면좋겠습니다 10시 30분에 빨강색이면 매수 파랑색이면 매도 잘부탁드립니다 항상 감사합니다^^