커뮤니티
조건검색문의드립니다
첨부파일 수식오류 정정 요청드립니다
input: BBperiod(20), dv(2), Period(120), RSIPeriod(14);
var: BBdn(0), t(0), R(0), var1(0), MinVolLine(0), Signal(0), LowestVol(0);
BBdn := BollingerBandDown(BBPeriod, dv);
R := RSI(RSIPeriod);
MinVolLine := Lowest(V, Period);
if CurrentBar > 1 then
LowestVol := Lowest(V, Period)[1]
else
LowestVol := V;
if V < LowestVol then
begin
var1 := C;
if t < 1 then
t := 1;
end;
if (t = 1) and (C < var1) and (C[1] >= var1[1]) then
t := 2;
if (t = 2) and (L < BBdn) and (L[1] >= BBdn[1]) then
t := 3;
if (t = 3) and (C > O) and (C >= var1) and (R >= 40) then
t := 4;
Signal := 0;
if (t = 4) then
begin
if (C <= MinVolLine) or
((L <= MinVolLine) and (C >= MinVolLine)) or
((H >= MinVolLine) and (L <= MinVolLine)) then
Signal := 1;
end;
Signal = 1;
- 1. 정정요청.png (0.01 MB)
답변 1
예스스탁 예스스탁 답변
2025-11-17 16:15:48