예스스탁
예스스탁 답변
2024-07-01 14:10:11
안녕하세요
예스스탁입니다.
1
var : oo(0),hh(0),ll(0),cc(0);
var : o1(0),h1(0),l1(0),c1(0);
if Bdate > Bdate[1]+1000 Then
{
oo = O;
hh = h;
ll = l;
o1 = oo[1];
h1 = hh[1];
l1 = ll[1];
cc = cc[1];
}
cc = c;
if hh > 0 and h > hh Then
hh = h;
if ll > 0 and l < ll Then
ll = l;
if o1 > 0 Then
{
Plot1(o1);
Plot2(h1);
Plot3(l1);
Plot4(c1);
Plot5((h1+l1)/2);
}
if oo > 0 Then
{
Plot6(oo);
Plot7(hh);
Plot8(ll);
Plot9((hh+ll)/2);
}
2
var : oo(0),hh(0),ll(0),cc(0);
var : o1(0),h1(0),l1(0),c1(0);
if Bdate > Bdate[1]+30 Then
{
oo = O;
hh = h;
ll = l;
o1 = oo[1];
h1 = hh[1];
l1 = ll[1];
cc = cc[1];
}
cc = c;
if hh > 0 and h > hh Then
hh = h;
if ll > 0 and l < ll Then
ll = l;
if o1 > 0 Then
{
Plot1(o1);
Plot2(h1);
Plot3(l1);
Plot4(c1);
Plot5((h1+l1)/2);
}
if oo > 0 Then
{
Plot6(oo);
Plot7(hh);
Plot8(ll);
Plot9((hh+ll)/2);
}
3
if c > DayOpen Then
PlotPaintBar(h,l,"강조",Red);
Else
PlotPaintBar(h,l,"강조",Blue);
4
if c > DayOpen and C > DayClose(1) Then
PlotPaintBar(h,l,"강조",Red);
if c < DayOpen and C < DayClose(1) Then
PlotPaintBar(h,l,"강조",Blue);
5
if (sDate != sDate[1] and sTime >= 223000) or
(sDate == sDate[1] and sTime >= 223000 and sTime[1] < 223000) Then
var1 = O;
if var1 > 0 Then
{
if C > var1 Then
PlotPaintBar(h,l,"강조",Red);
Else
PlotPaintBar(h,l,"강조",Blue);
}
즐거운 하루되세요
> 서태공 님이 쓴 글입니다.
> 제목 : 부탁드립니다.
> 1. 차트상 전년도 최고가, 최저가, 시가, 종가, 중간값 및 금년도 시가, 최고가, 최저가, 중간값을 수평선 지표로 구현해 주세요
2. 차트상 전월 최고가, 최저가, 시가, 종가, 중간값 및 당월 최고가, 최저가, 시가, 중간값을 수평선 지표로 구현해 주세요
3. 당일 시가를 기준으로 위로는 빨강색, 아래로는 파란색 강조형을 구현해 주세요
4. 당일 시가 및 전일 종가를 기준으로 위로는 빨강색으로, 아래로는 파란색 강조형을 구현해 주세요
5. 미국 장 시작을 기준으로 시가 위로는 빨강색, 아래로는 파란색 강조형을 구현해 주세요
감사합니다.