ex>해외선물 오후11시이후에서만 매수매도신호따르고 장마감 일괄청산이 가능할까요 ?
답변 1
예스스탁
예스스탁 답변
2020-01-30 09:05:00
안녕하세요
예스스탁입니다.
input : starttime(100000),endtime(060000);
var : Tcond(false);
if sdate != sdate[1] Then
SetStopEndofday(endtime);
if bdate != bdate[1] Then
SetStopEndofday(0);
if (sdate != sdate[1] and stime >= endtime) or
(sdate == sdate[1] and stime >= endtime and stime[1] < endtime) then
{
Tcond = false;
}
if (sdate != sdate[1] and stime >= starttime) or
(sdate == sdate[1] and stime >= starttime and stime[1] < starttime) then
{
Tcond = true;
}
if Tcond == true then
{
진입수식
}
즐거운 하루되세요
> 슼티프 님이 쓴 글입니다.
> 제목 : 해외선물 특정시간대에서만 매수매도신호가 나오게하고싶어요
> ex>해외선물 오후11시이후에서만 매수매도신호따르고 장마감 일괄청산이 가능할까요 ?