1>
중심라인도 가능할까요^^
input : ntime(60);
var : S1(0),D1(0),TM(0),TF(0),hh(0),ll(0);
if Bdate != Bdate[1] Then
{
S1 = TimeToMinutes(stime);
D1 = sdate;
}
if D1 > 0 then
{
if sdate == D1 Then
TM = TimeToMinutes(stime)-S1;
Else
TM = TimeToMinutes(stime)+1440-S1;
TF = TM%ntime;
if Bdate != Bdate[1] or
(Bdate == Bdate[1] and ntime > 1 and TF < TF[1]) or
(Bdate == Bdate[1] and ntime > 1 and TM >= TM[1]+ntime) or
(Bdate == Bdate[1] and ntime == 1 and TM > TM[1]) Then
{
HH = H;
LL = L;
}
if H > HH Then
HH = H;
if L < LL Then
LL = L;
plot1(HH);
plot2(LL);
}
답변 1
예스스탁
예스스탁 답변
2020-06-02 14:31:06
안녕하세요
예스스탁입니다.
input : ntime(60);
var : S1(0),D1(0),TM(0),TF(0),hh(0),ll(0);
if Bdate != Bdate[1] Then
{
S1 = TimeToMinutes(stime);
D1 = sdate;
}
if D1 > 0 then
{
if sdate == D1 Then
TM = TimeToMinutes(stime)-S1;
Else
TM = TimeToMinutes(stime)+1440-S1;
TF = TM%ntime;
if Bdate != Bdate[1] or
(Bdate == Bdate[1] and ntime > 1 and TF < TF[1]) or
(Bdate == Bdate[1] and ntime > 1 and TM >= TM[1]+ntime) or
(Bdate == Bdate[1] and ntime == 1 and TM > TM[1]) Then
{
HH = H;
LL = L;
}
if H > HH Then
HH = H;
if L < LL Then
LL = L;
plot1(HH);
plot2(LL);
plot3((HH+LL)/2);
}
즐거운 하루되세요
> 에리카 님이 쓴 글입니다.
> 제목 : 지표첨삭
> 1>
중심라인도 가능할까요^^
input : ntime(60);
var : S1(0),D1(0),TM(0),TF(0),hh(0),ll(0);
if Bdate != Bdate[1] Then
{
S1 = TimeToMinutes(stime);
D1 = sdate;
}
if D1 > 0 then
{
if sdate == D1 Then
TM = TimeToMinutes(stime)-S1;
Else
TM = TimeToMinutes(stime)+1440-S1;
TF = TM%ntime;
if Bdate != Bdate[1] or
(Bdate == Bdate[1] and ntime > 1 and TF < TF[1]) or
(Bdate == Bdate[1] and ntime > 1 and TM >= TM[1]+ntime) or
(Bdate == Bdate[1] and ntime == 1 and TM > TM[1]) Then
{
HH = H;
LL = L;
}
if H > HH Then
HH = H;
if L < LL Then
LL = L;
plot1(HH);
plot2(LL);
}