커뮤니티

47882 번 재문의

프로필 이미지
곽민수
2016-05-24 14:25:54
120
글번호 98418
답변완료
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 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(); 어디에다가 적용하면될지... 잘몰라서 문의드립니다... 전날 3시에 강제청산 다음날 아침9시에 시작가격에 맞는 색깔에 종가에 신호발생 다시 한번부탁드립니다
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2016-05-24 14:34:05

안녕하세요 예스스탁입니다. 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); 즐거운 하루되세요 > 곽민수 님이 쓴 글입니다. > 제목 : 47882 번 재문의 > 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 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(); 어디에다가 적용하면될지... 잘몰라서 문의드립니다... 전날 3시에 강제청산 다음날 아침9시에 시작가격에 맞는 색깔에 종가에 신호발생 다시 한번부탁드립니다