예스스탁
예스스탁 답변
2020-07-09 16:05:26
안녕하세요
예스스탁입니다.
1
input : S1(90000),E1(100000);
input : S2(110000),E2(120000);
var : T1(false),H1(0),L1(0);
var : T2(false),H2(0),L2(0);
if (sdate != sdate[1] and stime >= S1) or
(sdate == sdate[1] and stime >= S1 and stime[1] < S1) Then
{
T1 = true;
H1 = H;
L1 = L;
}
if (sdate != sdate[1] and stime >= E1) or
(sdate == sdate[1] and stime >= E1 and stime[1] < E1) Then
T1 = False;
if T1 == true then
{
if H > H1 Then
H1 = H;
if L < L1 Then
L1 = L;
}
if H1 > 0 and L1 > 0 Then
{
plot1(H1);
plot2(L1);
plot3((H1+L1)/2);
}
if (sdate != sdate[1] and stime >= S2) or
(sdate == sdate[1] and stime >= S2 and stime[1] < S2) Then
{
T2 = true;
H2 = H;
L2 = L;
}
if (sdate != sdate[1] and stime >= E2) or
(sdate == sdate[1] and stime >= E2 and stime[1] < E2) Then
T2 = False;
if T2 == true then
{
if H > H2 Then
H2 = H;
if L < L2 Then
L2 = L;
}
if H2 > 0 and L2 > 0 Then
{
plot4(H2);
plot5(L2);
plot6((H2+L2)/2);
}
2
input : S1(90000),E1(910000);
input : S2(93000),E2(94000);
input : S3(101000),E3(102000);
input : S4(110000),E4(111000);
input : S5(122000),E5(123000);
input : S6(151000),E6(153000);
var : T1(false),H1(0),L1(0);
var : T2(false),H2(0),L2(0);
var : T3(false),H3(0),L3(0);
var : T4(false),H4(0),L4(0);
var : T5(false),H5(0),L5(0);
var : T6(false),H6(0),L6(0);
if (sdate != sdate[1] and stime >= S1) or
(sdate == sdate[1] and stime >= S1 and stime[1] < S1) Then
{
T1 = true;
H1 = H;
L1 = L;
}
if (sdate != sdate[1] and stime >= E1) or
(sdate == sdate[1] and stime >= E1 and stime[1] < E1) Then
T1 = False;
if T1 == true then
{
if H > H1 Then
H1 = H;
if L < L1 Then
L1 = L;
}
if H1 > 0 and L1 > 0 Then
{
plot1(H1);
plot2(L1);
plot3((H1+L1)/2);
}
if (sdate != sdate[1] and stime >= S2) or
(sdate == sdate[1] and stime >= S2 and stime[1] < S2) Then
{
T2 = true;
H2 = H;
L2 = L;
}
if (sdate != sdate[1] and stime >= E2) or
(sdate == sdate[1] and stime >= E2 and stime[1] < E2) Then
T2 = False;
if T2 == true then
{
if H > H2 Then
H2 = H;
if L < L2 Then
L2 = L;
}
if H2 > 0 and L2 > 0 Then
{
plot4(H2);
plot5(L2);
plot6((H2+L2)/2);
}
if (sdate != sdate[1] and stime >= S3) or
(sdate == sdate[1] and stime >= S3 and stime[1] < S3) Then
{
T3 = true;
H3 = H;
L3 = L;
}
if (sdate != sdate[1] and stime >= E3) or
(sdate == sdate[1] and stime >= E3 and stime[1] < E3) Then
T3 = False;
if T3 == true then
{
if H > H3 Then
H3 = H;
if L < L3 Then
L3 = L;
}
if H3 > 0 and L3 > 0 Then
{
plot7(H3);
plot8(L3);
plot9((H3+L3)/2);
}
if (sdate != sdate[1] and stime >= S4) or
(sdate == sdate[1] and stime >= S4 and stime[1] < S4) Then
{
T4 = true;
H4 = H;
L4 = L;
}
if (sdate != sdate[1] and stime >= E4) or
(sdate == sdate[1] and stime >= E4 and stime[1] < E4) Then
T4 = False;
if T4 == true then
{
if H > H4 Then
H4 = H;
if L < L4 Then
L4 = L;
}
if H4 > 0 and L4 > 0 Then
{
plot10(H4);
plot11(L4);
plot12((H4+L4)/2);
}
if (sdate != sdate[1] and stime >= S5) or
(sdate == sdate[1] and stime >= S5 and stime[1] < S5) Then
{
T5 = true;
H5 = H;
L5 = L;
}
if (sdate != sdate[1] and stime >= E5) or
(sdate == sdate[1] and stime >= E5 and stime[1] < E5) Then
T5 = False;
if T5 == true then
{
if H > H5 Then
H5 = H;
if L < L5 Then
L5 = L;
}
if H5 > 0 and L5 > 0 Then
{
plot13(H5);
plot14(L5);
plot15((H5+L5)/2);
}
if (sdate != sdate[1] and stime >= S6) or
(sdate == sdate[1] and stime >= S6 and stime[1] < S6) Then
{
T6 = true;
H6 = H;
L6 = L;
}
if (sdate != sdate[1] and stime >= E6) or
(sdate == sdate[1] and stime >= E6 and stime[1] < E6) Then
T6 = False;
if T6 == true then
{
if H > H6 Then
H6 = H;
if L < L6 Then
L6 = L;
}
if H6 > 0 and L6 > 0 Then
{
plot16(H6);
plot17(L6);
plot18((H6+L6)/2);
}
즐거운 하루되세요
> 에리카 님이 쓴 글입니다.
> 제목 : 지표
> 항상 감사합니다^^
지표
20일 동안표시
60분)
9~10시 시작봉의 고저중가격표시
11~12시 고저중 가격표시
10분)
9시~9시10분
9시30~9시40분
10시10~10시20분
11시~11시10분
12시20~12시30분
15시10~15시30분
고저중가격표시
부탁드립니다.