커뮤니티

추가질문?

프로필 이미지
회원
2010-07-16 08:55:19
664
글번호 30965
답변완료
input : 진입수량(10),청산수량1(5); if dayindex > 0 and crossup(c,dayopen) Then buy("b",OnClose,def,진입수량); if MarketPosition == 1 and MaxContracts == CurrentContracts Then exitlong("bx",AtStop,EntryPrice*0.7,"",청산수량1,1); 수식에서도 수량설정이 가능합니다. 진입수량과 청산수량을 외부변수로 처리해 드렸습니다. ------------------------------------------------------- 진입,청산수량을 내부변수로 한번 더 부탁드립니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2010-07-16 09:37:29

안녕하세요 예스스탁입니다. var : 진입수량(10),청산수량1(5); if dayindex > 0 and crossup(c,dayopen) Then buy("b",OnClose,def,진입수량); if MarketPosition == 1 and MaxContracts == CurrentContracts Then exitlong("bx",AtStop,EntryPrice*0.7,"",청산수량1,1); 즐거운 하루되세요 > 파생맨 님이 쓴 글입니다. > 제목 : 추가질문? > input : 진입수량(10),청산수량1(5); if dayindex > 0 and crossup(c,dayopen) Then buy("b",OnClose,def,진입수량); if MarketPosition == 1 and MaxContracts == CurrentContracts Then exitlong("bx",AtStop,EntryPrice*0.7,"",청산수량1,1); 수식에서도 수량설정이 가능합니다. 진입수량과 청산수량을 외부변수로 처리해 드렸습니다. ------------------------------------------------------- 진입,청산수량을 내부변수로 한번 더 부탁드립니다.