예스스탁
예스스탁 답변
2025-08-21 09:26:02
안녕하세요
예스스탁입니다.
Inputs: ConsecutiveOBV(3), Length(15), Pval(0.05);
Inputs: RSILength(10), OverSold(30), OverBought(70);
Variables: OBVcalc(0,Data2),cond1(False,Data2),cond2(False,Data2);
var : T(0,Data1), R(0,data1);
OBVcalc = data2(OBV() * 0.0001);
cond1 = data2(CountIF(OBVcalc > Highest(OBVcalc, Length)[1], ConsecutiveOBV) == ConsecutiveOBV);
cond2 = data2(CountIF(OBVcalc < Lowest(OBVcalc, Length)[1], ConsecutiveOBV) == ConsecutiveOBV);
R = Data1(RSI(RSILength));
If cond1[1] == true and Data2(H >= C+Pval) Then
T = 1;
if T == 1 and Crossup(R, OverSold) Then
{
T = 2;
Buy ("B");
}
If cond2[1] == true and Data2(L <= C-Pval) Then
T = -1;
if T == -1 and CrossDown(R, OverBought) Then
{
T = -2;
Sell ("S");
}
즐거운 하루되세요
> 2685up 님이 쓴 글입니다.
> 제목 : 문의드립니다,
> Inputs: ConsecutiveOBV(3), Length(15), Pval(0.05);
Variables: OBVcalc(0,Data2),cond1(False,Data2),cond2(False,Data2);
OBVcalc = data2(OBV() * 0.0001);
cond1 = data2(CountIF(OBVcalc > Highest(OBVcalc, Length)[1], ConsecutiveOBV) == ConsecutiveOBV);
cond2 = data2(CountIF(OBVcalc < Lowest(OBVcalc, Length)[1], ConsecutiveOBV) == ConsecutiveOBV);
If cond1[1] == true and Data2(H >= C+Pval) Then
Buy ("OBV_LE");
If cond2[1] == true and Data2(L <= C-Pval) Then
Sell ("OBV_SE");
위 수식에서 추가할수식부탁드립니다.
data2 obv매수신호이후에 data1 rsibull oscillator매수시 data1매수
data1 rsibull oscillator 매도시 data1매도 or data2 obv매도시 data1매도식
감사합니다