커뮤니티
안녕하세요
2015-01-10 19:14:48
135
글번호 82130
수고많으세요
1. 5분봉 차트에서,
60분봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot,
240분봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot
2. 15분봉 차트에서,
240분봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot
일봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot
3. 60분봉 차트에서
일봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot.
주봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot
각각 부탁드립니다.
답변 1
예스스탁 예스스탁 답변
2015-01-12 13:24:20
안녕하세요
예스스탁입니다.
1.
var : TF1(0),TF2(0);
TF1 = TimeToMinutes(stime)%60;
TF2 = TimeToMinutes(stime)%240;
if dayindex == 0 or (TF1 < TF1[1] and stime > stime[1]) Then
var1 = O;
if dayindex == 0 or (TF2 < TF2[1] and stime > stime[1]) Then
var2 = O;
if C > var1 Then
plot1(100);
Else
plot1(0);
if C > var2 Then
plot2(100);
Else
plot2(0);
2.
var : TF1(0);
TF1 = TimeToMinutes(stime)%240;
if dayindex == 0 or (TF1 < TF1[1] and stime > stime[1]) Then
var1 = O;
if C > var1 Then
plot1(100);
Else
plot1(0);
if C > dayopen Then
plot2(100);
Else
plot2(0);
3.
if DayOfWeek(sdate) < DayOfWeek(sdate[1]) Then
var1 = O;
if C > var1 Then
plot1(100);
Else
plot1(0);
if C > dayopen Then
plot2(100);
Else
plot2(0);
즐거운 하루되세요
> 뉴스타트 님이 쓴 글입니다.
> 제목 : 안녕하세요
> 수고많으세요
1. 5분봉 차트에서,
60분봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot,
240분봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot
2. 15분봉 차트에서,
240분봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot
일봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot
3. 60분봉 차트에서
일봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot.
주봉이 양봉이면 지표값은 100,
" 음봉이면 " 0 을 plot
각각 부탁드립니다.
다음글
이전글