커뮤니티

이익실현문의

프로필 이미지
외국인
2012-04-02 09:26:38
348
글번호 49570
답변완료
안녕하세요 SetStopTrailing(0.5, 1,PointStop,1); 문의드림니다 1. A 조건의식을 SetStopTrailing(0.5, 1,PointStop,1); SetStopTrailing초기화 B 조건의식을 SetStopTrailing(0.35, 2,PointStop,1); SetStopTrailing초기화 C 조건의식을 SetStopTrailing(0.25, 3,PointStop,1); SetStopTrailing초기화 각 각의 이익실현이 다르게 표현식부탁드립니다. 2. a조건식 주문후 이익청산후 a조건을 초기화 하는방법이있나요
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2012-04-02 09:46:53

안녕하세요 예스스탁입니다. 1, 아래와 같이 진입별로 이름을 부여하고 이름을 이용해 제어해야 합니다. if A조건 Then buy("A"); if B조건 Then buy("B"); if C조건 Then buy("C"); if isentryname("A") Then SetStopTrailing(0.5, 1,PointStop,1); else if IsEntryName("b") Then SetStopTrailing(0.35, 2,PointStop,1); Else if IsEntryName("c") Then SetStopTrailing(0.25, 3,PointStop,1); Else SetStopTrailing(0,0); 2. 초기화하는 함수는 없습니다. 조건이나 초기화 용도에 따라 변수를 지정해 작성해 가야 합니다. 해당 문의는 정확한 식이 있어야만 작성해서 답변드릴 수 있습니다. 즐거운 하루되세요 > 외국인 님이 쓴 글입니다. > 제목 : 이익실현문의 > 안녕하세요 SetStopTrailing(0.5, 1,PointStop,1); 문의드림니다 1. A 조건의식을 SetStopTrailing(0.5, 1,PointStop,1); SetStopTrailing초기화 B 조건의식을 SetStopTrailing(0.35, 2,PointStop,1); SetStopTrailing초기화 C 조건의식을 SetStopTrailing(0.25, 3,PointStop,1); SetStopTrailing초기화 각 각의 이익실현이 다르게 표현식부탁드립니다. 2. a조건식 주문후 이익청산후 a조건을 초기화 하는방법이있나요