항생 오전10시15분 부터 11시사이에서 최고점 최저점 10시15분 시가가 나오도록 부탁드립니다
특정시간시고저종가항셍
지표
답변 1
예스스탁예스스탁 답변
2025-10-21 09:24:08
안녕하세요
예스스탁입니다.
input : StartTime(101500),EndTime(110000);
var : Tcond(False),OO(Nan),HH(Nan),LL(Nan);
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;
OO = O;
HH = H;
LL = L;
}
if Tcond == true Then
{
if H > HH Then
HH = H;
if L < LL Then
LL = L;
}
Plot1(OO);
Plot2(HH);
Plot3(LL);
즐거운 하루되세요