커뮤니티
문의드립니다.
2014-01-18 12:32:42
128
글번호 71563
Input: period(20);
Var: fomular0(0),fomular1(0);
fomular0 = max(c - lowest(c,period),0);
Plot1( fomular0, "GB");
fomular1 = max(highest(c,period) - c,0);
Plot2( fomular1, "GS");
PlotBaseLine1(1,"기준선");
위의 보조지표를,,,
1. 주봉을 분봉에서 볼 수 있게끔
2. 일봉을 분봉에서 볼 수 있게끔
3. 시봉을 분봉에서 볼 수 있게끔 해주시면 감사하겠습니다.
늘 감사드리며,,,
답변 1
예스스탁 예스스탁 답변
2014-01-20 12:44:12
안녕하세요
예스스탁입니다.
1. 주
input : Period(20);
var : LL(0),HH(0),cnt(0);
Var: fomular0(0),fomular1(0);
Array : CC[100](0);
if DayOfWeek(sdate) < DayOfWeek(sdate[1]) Then{
for cnt = 1 to 99{
CC[cnt] = CC[cnt-1][1];
}
}
CC[0] = C;
if CC[Period-1] > 0 Then{
LL = CC[0];
HH = CC[0];
for cnt = 0 to Period-1{
if CC[cnt] > HH Then
HH = CC[cnt];
if CC[cnt] < LL Then
LL = CC[cnt];
}
fomular0 = max(CC[0]-LL,0);
fomular1 = max(HH-CC[0],0);
Plot1( fomular0, "GB");
Plot2( fomular1, "GS");
PlotBaseLine1(1,"기준선");
}
2, 일
input : Period(20);
var : LL(0),HH(0),cnt(0);
Var: fomular0(0),fomular1(0);
Array : CC[100](0);
if date != date[1] Then{
for cnt = 1 to 99{
CC[cnt] = CC[cnt-1][1];
}
}
CC[0] = C;
if CC[Period-1] > 0 Then{
LL = CC[0];
HH = CC[0];
for cnt = 0 to Period-1{
if CC[cnt] > HH Then
HH = CC[cnt];
if CC[cnt] < LL Then
LL = CC[cnt];
}
fomular0 = max(CC[0]-LL,0);
fomular1 = max(HH-CC[0],0);
Plot1( fomular0, "GB");
Plot2( fomular1, "GS");
PlotBaseLine1(1,"기준선");
}
3, 시
input : Ntime(60),Period(20);
var : LL(0),HH(0),cnt(0),TM(0),TF(0);
Var: fomular0(0),fomular1(0);
Array : CC[100](0);
if date != date[1] Then
TM = TimeToMinutes(stime);
TF = (TimeToMinutes(stime)-TM)%Ntime;
if dayindex == 0 or (TF < TF[1] and stime > stime[1]) then{
for cnt = 1 to 99{
CC[cnt] = CC[cnt-1][1];
}
}
CC[0] = C;
if CC[Period-1] > 0 Then{
LL = CC[0];
HH = CC[0];
for cnt = 0 to Period-1{
if CC[cnt] > HH Then
HH = CC[cnt];
if CC[cnt] < LL Then
LL = CC[cnt];
}
fomular0 = max(CC[0]-LL,0);
fomular1 = max(HH-CC[0],0);
Plot1( fomular0, "GB");
Plot2( fomular1, "GS");
PlotBaseLine1(1,"기준선");
}
즐거운 하루되세요
> 예스매니아 님이 쓴 글입니다.
> 제목 : 문의드립니다.
> Input: period(20);
Var: fomular0(0),fomular1(0);
fomular0 = max(c - lowest(c,period),0);
Plot1( fomular0, "GB");
fomular1 = max(highest(c,period) - c,0);
Plot2( fomular1, "GS");
PlotBaseLine1(1,"기준선");
위의 보조지표를,,,
1. 주봉을 분봉에서 볼 수 있게끔
2. 일봉을 분봉에서 볼 수 있게끔
3. 시봉을 분봉에서 볼 수 있게끔 해주시면 감사하겠습니다.
늘 감사드리며,,,
이전글