예스스탁
예스스탁 답변
2024-07-09 09:31:10
안녕하세요
예스스탁입니다.
input : Period(20),D1(2),Period2(10),Period3(60);
var : Bup(0),Bdn(0);
var : mav(0),x(0),y(0),q(0),w(0),z(False),i(0);
Bup = BollBandUp(Period,D1);
Bdn = BollBandDown(Period,D1);
mav = ma(c,Period2);
x = highest(mav,Period3);
y = lowest(mav,Period3);
q = (x+y)/2;
w = mav - q;
z = crossdown(c,Bup);
if z == true Then
i = o;
if sDate != sDate[1] Then
Condition1 = False;
if w >= 0 and
c >= x and
Bup >= x and
crossup(c,i) Then
Condition1 = true;
if Condition1 == true Then
Find(1);
즐거운 하루되세요
> 고래상어의꿈 님이 쓴 글입니다.
> 제목 : 안녕하세요 종목검색문의 부탁드립니다^^
> 안녕하세요~^^ 감사한답변을 아래 수식처럼 받았습니다
종목검색에서 당일 분봉에서 아래 검색을 모두 검색하는 수식을 만들고 싶은데요
전에 받은 답변에서 바로 아래의 수식이 당일 분봉에서 발생한 신호를 모두 검색하는 수식으로 알고 있는데 두가지 수식을 합치고 싶습니다 잘 부탁드리겠습니다^^
====================================
if sDate != sDate[1] Then
Condition1 = False;
if CrossUp(mav,z) Then
Condition1 = true;
if Condition1 == true Then
find(1);
=====================================
input : Period(20),D1(2),Period2(10),Period3(60);
var : Bup(0),Bdn(0);
var : mav(0),x(0),y(0),q(0),w(0),z(False),i(0);
Bup = BollBandUp(Period,D1);
Bdn = BollBandDown(Period,D1);
mav = ma(c,Period2);
x = highest(mav,Period3);
y = lowest(mav,Period3);
q = (x+y)/2;
w = mav - q;
z = crossdown(c,Bup);
if z == true Then
i = o;
if w >= 0 and
c >= x and
Bup >= x and
crossup(c,i) Then
Find(1);