커뮤니티

매도식 문의.

프로필 이미지
ksh003
2007-02-22 14:43:16
885
글번호 11996
답변완료
안녕하세요.. 매도식 문의드립니다. 매수수식이 5개가 있을 경우에 5개 매수수식별로 매수청산식을 작성하는 방법이 있는지요?. "예" buy("H1",onclose,def,int(Account/C)) buy("H2",onclose,def,int(Account/C)) 매수식이 있을경우 각기 별도의 "H1"매수식에 대한 매수청산식 "H2"매수식에 대한 매수청산식 작성하는 방법. 감사합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2007-02-22 18:00:28

안녕하세요 예스스탁입니다. 진입명에 따라 청산을 하실 수 있습니다 buy("H1",onclose,def,int(Account/C)); buy("H2",onclose,def,int(Account/C)); buy("H3",onclose,def,int(Account/C)); buy("H4",onclose,def,int(Account/C)); buy("H5",onclose,def,int(Account/C)); if isentryname("H1") and 조건 then exitlong(); if isentryname("H2") and 조건 then exitlong(); if isentryname("H3") and 조건 then exitlong(); if isentryname("H4") and 조건 then exitlong(); if isentryname("H5") and 조건 then exitlong(); 참고하시기 바랍니다. 즐거운 하루되세요 > ksh003 님이 쓴 글입니다. > 제목 : 매도식 문의. > 안녕하세요.. 매도식 문의드립니다. 매수수식이 5개가 있을 경우에 5개 매수수식별로 매수청산식을 작성하는 방법이 있는지요?. "예" buy("H1",onclose,def,int(Account/C)) buy("H2",onclose,def,int(Account/C)) 매수식이 있을경우 각기 별도의 "H1"매수식에 대한 매수청산식 "H2"매수식에 대한 매수청산식 작성하는 방법. 감사합니다.