커뮤니티
볼린저 수식 문의
2014-07-22 20:31:39
213
글번호 76993
CT에서 작성한 Bband 변형 지표인데 YT로 변형 부탁드립니다.
감사합니다.
---------------------------------------------------------------
변수 mov3은 60 입니다.
Var72= stdev(((close+high+low)/3), mov3, 1)
If close>highd(1) Or close<lowd(1) Then
If Var72>var72(1) Then
Var73=2-N1
End If
End If
If close<highd(1) And close>lowd(1) Then
If Var72<var72(1) Then
Var73=2+N1
End If
End If
Var56= mov(((close+high+low)/3), mov3, w)
Var42= mov(((close+high+low)/3), mov3, w)+var73*stdev(((close+high+low)/3), mov3, 1)
Var43= mov(((close+high+low)/3), mov3, w)-var73*stdev(((close+high+low)/3), mov3, 1)
Var70= mov(Var42, mov3, s)
Var71= mov(Var43, mov3, s)
Var94= Var70-var71
답변 1
예스스탁 예스스탁 답변
2014-07-23 09:00:35
안녕하세요
예스스탁입니다.
수식안에 N1이라는 변수가 있습니다.
어떤 값인지 알수없어 외부변수로 처리했습니다.
input : mov3(60),N1(1);
var : Price(0);
Price = (close+high+low)/3;
Var72= std(Price, mov3)[1];
If close > DayHigh[1] Or close < DayLow[1] then{
If Var72>var72[1] then{
Var73=2-N1;
}
}
If close<highd(1) And close>lowd(1) then{
If Var72<var72[1] then{
Var73=2+N1;
}
}
Var56= wma(Price, mov3);
Var42= wma(Price, mov3)+var73*std(Price, mov3)[1];
Var43= wma(Price, mov3)-var73*std(Price, mov3)[1];
Var70= ma(Var42, mov3);
Var71= ma(Var43, mov3);
Var94= Var70-var71;
즐거운 하루되세요
> HI_mi****** 님이 쓴 글입니다.
> 제목 : 볼린저 수식 문의
> CT에서 작성한 Bband 변형 지표인데 YT로 변형 부탁드립니다.
감사합니다.
---------------------------------------------------------------
변수 mov3은 60 입니다.
Var72= stdev(((close+high+low)/3), mov3, 1)
If close>highd(1) Or close<lowd(1) Then
If Var72>var72(1) Then
Var73=2-N1
End If
End If
If close<highd(1) And close>lowd(1) Then
If Var72<var72(1) Then
Var73=2+N1
End If
End If
Var56= mov(((close+high+low)/3), mov3, w)
Var42= mov(((close+high+low)/3), mov3, w)+var73*stdev(((close+high+low)/3), mov3, 1)
Var43= mov(((close+high+low)/3), mov3, w)-var73*stdev(((close+high+low)/3), mov3, 1)
Var70= mov(Var42, mov3, s)
Var71= mov(Var43, mov3, s)
Var94= Var70-var71
다음글
이전글