수고에 감사드립니다
아래 두 시스템식이 같은 내용의 전략인가요?
아님 차이가 있는건지 질문드립니다
1) if stime == 100000 then
{ if C > O then buy();
if C < O then sell(); }
if stime == 125000 then
{ if Marketposition == 1
then Exitlong() ;
if Marketposition == -1
then Exitshort() ;}
2) Input: starttime(101500)
endtime(125500)
if endtime > starttime then
setstopendofday(endtime);
else
if sDate != sDate[1] then
setstopendofday(endtime);
if bDate != bDate[1] then
{if endtime < starttime then
setstopendofday(0);
if C > O then buy("b", atmarket);
if C < O then sell("s", atmarket);
감사합니다
답변 1
예스스탁
예스스탁 답변
2022-10-17 14:05:08
안녕하세요
예스스탁입니다.
다른식입니다.
2번식은 단지 양봉매수,음봉매도이고
당일청산만 12시55분에 하는 식입니다.
즐거운 하루되세요
> 네클헌 님이 쓴 글입니다.
> 제목 : 문의드립니다
> 수고에 감사드립니다
아래 두 시스템식이 같은 내용의 전략인가요?
아님 차이가 있는건지 질문드립니다
1) if stime == 100000 then
{ if C > O then buy();
if C < O then sell(); }
if stime == 125000 then
{ if Marketposition == 1
then Exitlong() ;
if Marketposition == -1
then Exitshort() ;}
2) Input: starttime(101500)
endtime(125500)
if endtime > starttime then
setstopendofday(endtime);
else
if sDate != sDate[1] then
setstopendofday(endtime);
if bDate != bDate[1] then
{if endtime < starttime then
setstopendofday(0);
if C > O then buy("b", atmarket);
if C < O then sell("s", atmarket);
감사합니다