커뮤니티
해외선물수식 부탁드립니다.
2015-06-04 01:13:19
119
글번호 86770
1.시가대비 +4 (매수1진입) : 매도1진입돼 있는 것 있으면 손절(익절)과동시에 매수1진입.
시가대비 -4 (매도1진입) : 매수1진입돼 있는 것 있으면 손절(익절)과동시에 매도1진입.
2.시가대비 +24 (매수1진입) : 매도1진입돼 있는 것 있으면 손절(익절)과동시에 매수1진입.
시가대비 +16 (매도1진입) : 매수1진입돼 있는 것 있으면 손절(익절)과동시에 매도1진입.
3.시가대비 +44 (매수1진입) : 매도1진입돼 있는 것 있으면 손절(익절)과동시에 매수1진입.
시가대비 +36 (매도1진입) : 매수1진입돼 있는 것 있으면 손절(익절)과동시에 매도1진입.
4.시가대비 -24 (매도1진입) : 매수1진입돼 있는 것 있으면 손절(익절)과동시에 매수1진입.
시가대비 -16 (매수1진입) : 매도1진입돼 있는 것 있으면 손절(익절)과동시에 매도1진입.
5.시가대비 -44 (매도1진입) : 매수1진입돼 있는 것 있으면 손절(익절)과동시에 매수1진입.
시가대비 -36 (매수1진입) : 매도1진입돼 있는 것 있으면 손절(익절)과동시에 매도1진입.
1 ~ 5 번 진입신호를 하루종일 무한반복하는 수식을 만들고 싶습니다.
시가대비 지정한위치가 오면 손절이든 익절이든 처리가 되어지고 무조건 1개가 진입되게
만들고 싶습니다.
부탁드리겠습니다.
답변 1
예스스탁 예스스탁 답변
2015-06-04 11:26:04
안녕하세요
예스스탁입니다.
if MarketPosition <= 0 and H < dayopen+4 Then
buy("b+4",AtStop,dayopen+4);
if MarketPosition <= 0 and L > dayopen+4 Then
buy("b+4.",Atlimit,dayopen+4);
if MarketPosition >= 0 and L > dayopen-4 Then
sell("s-4",AtStop,dayopen-4);
if MarketPosition >= 0 and H < dayopen-4 Then
sell("s-4.",Atlimit,dayopen+4);
if MarketPosition <= 0 and H < dayopen+24 Then
buy("b+24",AtStop,dayopen+24);
if MarketPosition <= 0 and L > dayopen+24 Then
buy("b+24.",Atlimit,dayopen+24);
if MarketPosition >= 0 and L > dayopen+16 Then
sell("s+16",AtStop,dayopen+16);
if MarketPosition >= 0 and H < dayopen+16 Then
sell("s+16.",Atlimit,dayopen+16);
if MarketPosition <= 0 and H < dayopen+44 Then
buy("b+44",AtStop,dayopen+44);
if MarketPosition <= 0 and L > dayopen+44 Then
buy("b+44.",Atlimit,dayopen+44);
if MarketPosition >= 0 and L > dayopen-16 Then
sell("s-16",AtStop,dayopen-16);
if MarketPosition >= 0 and H < dayopen-16 Then
sell("s-16.",Atlimit,dayopen-16);
if MarketPosition <= 0 and H < dayopen-16 Then
buy("b-16",AtStop,dayopen-16);
if MarketPosition <= 0 and L > dayopen-16 Then
buy("b-16.",Atlimit,dayopen-16);
if MarketPosition >= 0 and L > dayopen-24 Then
sell("s-24",AtStop,dayopen-24);
if MarketPosition >= 0 and H < dayopen-24 Then
sell("s-24.",Atlimit,dayopen-24);
if MarketPosition <= 0 and H < dayopen-36 Then
buy("b-36",AtStop,dayopen-36);
if MarketPosition <= 0 and L > dayopen-36 Then
buy("b-36.",Atlimit,dayopen-36);
if MarketPosition >= 0 and L > dayopen-44 Then
sell("s-44",AtStop,dayopen-44);
if MarketPosition >= 0 and H < dayopen-44 Then
sell("s-44.",Atlimit,dayopen-44);
즐거운 하루되세요
> 신나는파파 님이 쓴 글입니다.
> 제목 : 해외선물수식 부탁드립니다.
>
1.시가대비 +4 (매수1진입) : 매도1진입돼 있는 것 있으면 손절(익절)과동시에 매수1진입.
시가대비 -4 (매도1진입) : 매수1진입돼 있는 것 있으면 손절(익절)과동시에 매도1진입.
2.시가대비 +24 (매수1진입) : 매도1진입돼 있는 것 있으면 손절(익절)과동시에 매수1진입.
시가대비 +16 (매도1진입) : 매수1진입돼 있는 것 있으면 손절(익절)과동시에 매도1진입.
3.시가대비 +44 (매수1진입) : 매도1진입돼 있는 것 있으면 손절(익절)과동시에 매수1진입.
시가대비 +36 (매도1진입) : 매수1진입돼 있는 것 있으면 손절(익절)과동시에 매도1진입.
4.시가대비 -24 (매도1진입) : 매수1진입돼 있는 것 있으면 손절(익절)과동시에 매수1진입.
시가대비 -16 (매수1진입) : 매도1진입돼 있는 것 있으면 손절(익절)과동시에 매도1진입.
5.시가대비 -44 (매도1진입) : 매수1진입돼 있는 것 있으면 손절(익절)과동시에 매수1진입.
시가대비 -36 (매수1진입) : 매도1진입돼 있는 것 있으면 손절(익절)과동시에 매도1진입.
1 ~ 5 번 진입신호를 하루종일 무한반복하는 수식을 만들고 싶습니다.
시가대비 지정한위치가 오면 손절이든 익절이든 처리가 되어지고 무조건 1개가 진입되게
만들고 싶습니다.
부탁드리겠습니다.
이전글