커뮤니티
수식 문의
2017-08-28 14:49:55
146
글번호 112290
안녕하세요?
3분봉 차트에서 하루의 첫번째(2번째, 3번째, ...n 번째) 봉이 양봉이고,
Data2와 Data3 에서 하루의 첫번째(2번째, 3번째, ...n 번째) 봉이 양봉이다.
란 말을 어떻게 표현하나요?
감사합니다.
javascript:OnWrite();
답변 1
예스스탁 예스스탁 답변
2017-08-29 14:49:52
안녕하세요
예스스탁입니다.
input : N(1);
var : idx1(0,data1),idx2(0,data2),idx3(0,data3);
var : cond1(true,data1),cond2(true,data2),cond3(true,data3);
if data1(Bdate != Bdate[1]) Then{
idx1 = 0;
cond1 = true;
}
idx1 = idx1+1;
if data1(idx1 == N and C > O) Then
cond1 = true;
if data2(Bdate != Bdate[1]) Then{
idx2 = 0;
cond2 = true;
}
idx2 = idx2+1;
if data2(idx2 == N and C > O) Then
cond2 = true;
if data3(Bdate != Bdate[1]) Then{
idx3 = 0;
cond3 = true;
}
idx3 = idx3+1;
if data3(idx3 == N and C > O) Then
cond3 = true;
if cond1 == true and cond2 == true and cond3 == true then
즐거운 하루되세요
> 에구머니 님이 쓴 글입니다.
> 제목 : 수식 문의
> 안녕하세요?
3분봉 차트에서 하루의 첫번째(2번째, 3번째, ...n 번째) 봉이 양봉이고,
Data2와 Data3 에서 하루의 첫번째(2번째, 3번째, ...n 번째) 봉이 양봉이다.
란 말을 어떻게 표현하나요?
감사합니다.
javascript:OnWrite();