커뮤니티
시스탬문의
2012-03-05 16:21:21
406
글번호 48580
매수 조건
1. 매수수량이 매도 수량보다 많을경우
2.프로그램 매수시
3.외인선물수량이 개인수량을 상방 크로스시 진입
청산조건 위 3조건중 1개라도 맞지않으면 청산
매도식은 반대로
답변 1
예스스탁 예스스탁 답변
2012-03-06 11:23:12
안녕하세요
예스스탁입니다.
# data2 프로그램 순매수
# data3 외국인선물수량
# data4 개인수량
if bids > asks and
data2(c) > 0 and
crossup(data3(c),data4(c)) then
buy();
if bids < asks or
data2(c) < 0 or
data3(c) < data4(c) then
exitlong();
if bids < asks and
data2(c) < 0 and
crossdown(data3(c),data4(c)) then
sell();
if bids > asks or
data2(c) > 0 or
data3(c) > data4(c) then
exitshort();
즐거운 하루되세요
> 대두 님이 쓴 글입니다.
> 제목 : 시스탬문의
> 매수 조건
1. 매수수량이 매도 수량보다 많을경우
2.프로그램 매수시
3.외인선물수량이 개인수량을 상방 크로스시 진입
청산조건 위 3조건중 1개라도 맞지않으면 청산
매도식은 반대로