커뮤니티
수식문의
2013-11-19 00:51:53
178
글번호 69598
안녕하세요 대신싸이버스 수식입니다 예스트레이더 로직으로 변환부탁드립니다
if ttame < 1500 then
if ttame > 0900 then
if position = O then
call buy ( `매수`, atstop , def , opend + 0.8 )
call sell( `매도`, atstop , def , opend + 0.8 )
else
call buy ( `역매수`, atstop , def ,LLV ( 1,low , barnumsinceentry +1)+0.9
call sell( `역매도`, atstop , def ,hhv ( 1,low , barnumsinceentry +1)+0.9
end if
end if
end if
복사해서 붙여넣기가 않되는군요 컴이서툴러서 로직옮기는데 1시간도 더걸리네요 예전에는 복사 - 옮기기가 됬었는데요 왜바뀌었는지요 ...... 감사합니다 수고하세요
답변 1
예스스탁 예스스탁 답변
2013-11-19 16:37:26
안녕하세요
예스스탁입니다.
if stime < 150000 then{
if stime > 090000 then{
if MarketPosition == 0 then{
buy("매수", atstop , opend(0) + 0.8 );
sell("매도", atstop , opend(0) + 0.8 );
}
else{
buy("역매수", atstop , def ,lowest(low, BarsSinceEntry+1)+0.9);
sell("역매도", atstop , def ,highest(High , BarsSinceEntry+1)-0.9);
}
}
}
프로그램안에서 Q&A에 글을 쓰시면
증권사의 사이트를 경유하게 됩니다.
증권사의 사이트는 보안문제로 복사 붙여넣기가 되지 않습니다.
예스스탁 홈페이지에서 작성하시면 됩니다.
즐거운 하루되세요
> HI_mi***** 님이 쓴 글입니다.
> 제목 : 수식문의
>
안녕하세요 대신싸이버스 수식입니다 예스트레이더 로직으로 변환부탁드립니다
if ttame < 1500 then
if ttame > 0900 then
if position = O then
call buy ( `매수`, atstop , def , opend + 0.8 )
call sell( `매도`, atstop , def , opend + 0.8 )
else
call buy ( `역매수`, atstop , def ,LLV ( 1,low , barnumsinceentry +1)+0.9
call sell( `역매도`, atstop , def ,hhv ( 1,low , barnumsinceentry +1)+0.9
end if
end if
end if
복사해서 붙여넣기가 않되는군요 컴이서툴러서 로직옮기는데 1시간도 더걸리네요 예전에는 복사 - 옮기기가 됬었는데요 왜바뀌었는지요 ...... 감사합니다 수고하세요