안녕하세요
예스스탁입니다.
1 주
input : 고점(7800),저점(7700);
input : Per1(23.6),Per2(38.2),Per3(50.0),Per4(61.8),Per5(76.4),Per6(-23.6),Per7(123.6),Per8(138.2),Per9(150),Per10(-38.2),Per11(-50);
var : cnt(0),HH(0),LL(0),RR(0);
var : wh(0),wl(0);
if DayOfWeek(Bdate) < DayOfWeek(Bdate[1]) Then
{
wh = h;
wl = l;
}
Else
{
if h > wh Then
wh = h;
if l < wl Then
wl = l;
}
if 고점 > 0 Then
HH = 고점;
Else
HH = wh;
if 저점 > 0 Then
LL = 저점;
Else
LL = wl;
RR = HH-LL;
plot1(HH,"고점");
plot2(LL+RR*(Per9/100),"150%");
plot3(LL+RR*(Per8/100),"138.2%");
plot4(LL+RR*(Per7/100),"123.6%");
plot5(LL+RR*(Per1/100),"23.6%");
plot6(LL+RR*(Per2/100),"38.2%");
plot7(LL+RR*(Per3/100),"50.0%");
plot8(LL+RR*(Per4/100),"61.8%");
plot9(LL+RR*(Per5/100),"76.4%");
plot10(LL+RR*(Per7/100),"-23.6%");
plot11(LL+RR*(Per8/100),"-38.2%");
plot12(LL+RR*(Per9/100),"-50%");
plot13(LL,"저점");
2 월
input : 고점(7800),저점(7700);
input : Per1(23.6),Per2(38.2),Per3(50.0),Per4(61.8),Per5(76.4),Per6(-23.6),Per7(123.6),Per8(138.2),Per9(150),Per10(-38.2),Per11(-50);
var : cnt(0),HH(0),LL(0),RR(0);
var : mh(0),ml(0);
if Bdate > Bdate[1]+30 Then
{
mh = h;
ml = l;
}
Else
{
if h > mh Then
mh = h;
if l < ml Then
ml = l;
}
if 고점 > 0 Then
HH = 고점;
Else
HH = mh;
if 저점 > 0 Then
LL = 저점;
Else
LL = ml;
RR = HH-LL;
plot1(HH,"고점");
plot2(LL+RR*(Per9/100),"150%");
plot3(LL+RR*(Per8/100),"138.2%");
plot4(LL+RR*(Per7/100),"123.6%");
plot5(LL+RR*(Per1/100),"23.6%");
plot6(LL+RR*(Per2/100),"38.2%");
plot7(LL+RR*(Per3/100),"50.0%");
plot8(LL+RR*(Per4/100),"61.8%");
plot9(LL+RR*(Per5/100),"76.4%");
plot10(LL+RR*(Per7/100),"-23.6%");
plot11(LL+RR*(Per8/100),"-38.2%");
plot12(LL+RR*(Per9/100),"-50%");
plot13(LL,"저점");
3 년
input : 고점(7800),저점(7700);
input : Per1(23.6),Per2(38.2),Per3(50.0),Per4(61.8),Per5(76.4),Per6(-23.6),Per7(123.6),Per8(138.2),Per9(150),Per10(-38.2),Per11(-50);
var : cnt(0),HH(0),LL(0),RR(0);
var : yh(0),yl(0);
if Bdate > Bdate[1]+1000 Then
{
yh = h;
yl = l;
}
Else
{
if h > yh Then
yh = h;
if l < yl Then
yl = l;
}
if 고점 > 0 Then
HH = 고점;
Else
HH = yh;
if 저점 > 0 Then
LL = 저점;
Else
LL = yl;
RR = HH-LL;
plot1(HH,"고점");
plot2(LL+RR*(Per9/100),"150%");
plot3(LL+RR*(Per8/100),"138.2%");
plot4(LL+RR*(Per7/100),"123.6%");
plot5(LL+RR*(Per1/100),"23.6%");
plot6(LL+RR*(Per2/100),"38.2%");
plot7(LL+RR*(Per3/100),"50.0%");
plot8(LL+RR*(Per4/100),"61.8%");
plot9(LL+RR*(Per5/100),"76.4%");
plot10(LL+RR*(Per7/100),"-23.6%");
plot11(LL+RR*(Per8/100),"-38.2%");
plot12(LL+RR*(Per9/100),"-50%");
plot13(LL,"저점");
즐거운 하루되세요