커뮤니티

진입수량 조절 문의

프로필 이미지
훈sys
2017-12-31 16:10:45
188
글번호 115369
답변완료
본래 진입식이 1번식이며 수량 조절을 위해서 2,3,4번 식으로 변형해본 결과 성과에서 꽤 차이가 나는 현상이 나타납니다 1번 식과 동일한 성과가 나오면서 진입수량 조절을 할 수 있는 방법이 있는지 문의드립니다 설정창 진입수량 방법 조절이 아닌 로직 내에서 조절하는 방법 문의드립니다 1번 if condition2 and Condition3 then Sell("S"); 2번 if condition2 and Condition3 then Sell("S",atmarket,def,1); 3번 if condition2 and Condition3 then Sell("S",onclose,def,1); 4번 if condition2 and Condition3 then Sell("S",atstop,def,1);
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2018-01-02 16:22:38

안녕하세요 예스스탁입니다. 진입함수의 4번째 매개변수가 수량을 지정하는 부분입니다. 외부변수로 처리하셔도 되고 수식내에서 계산식에 의해 도출된 값을 지정하셔도 됩니다. input : 진입수량(1); if condition2 and Condition3 then Sell("S",OnClose,def,진입수량); 새해 복 많이 받으세요 > 훈sys 님이 쓴 글입니다. > 제목 : 진입수량 조절 문의 > 본래 진입식이 1번식이며 수량 조절을 위해서 2,3,4번 식으로 변형해본 결과 성과에서 꽤 차이가 나는 현상이 나타납니다 1번 식과 동일한 성과가 나오면서 진입수량 조절을 할 수 있는 방법이 있는지 문의드립니다 설정창 진입수량 방법 조절이 아닌 로직 내에서 조절하는 방법 문의드립니다 1번 if condition2 and Condition3 then Sell("S"); 2번 if condition2 and Condition3 then Sell("S",atmarket,def,1); 3번 if condition2 and Condition3 then Sell("S",onclose,def,1); 4번 if condition2 and Condition3 then Sell("S",atstop,def,1);