예스스탁
예스스탁 답변
2024-04-18 15:39:00
안녕하세요
예스스탁입니다.
1
input : short(5),mid(20),long(60),Period(20),Percent(5),d1(2);
var : bu(0),m1(0),m2(0),m3(0),mx(0),mn(0);
bu = BollBandUp(Period,d1);
m1 = ma(C,short);
m2 = ma(C,mid);
m3 = ma(C,long);
mx = max(m1,m2,m3);
mn = min(m1,m2,m3);
if crossup(h,bu)
and mx < mn *(1+percent/100)&&
c>highest(h,5)[1]&& c[1]<=highest(h,5)[2] Then
Find(1);
2
var : bu(0),bm(0),bd(0);
bu = BollBandUp(20,2);
bm = ma(C,20);
bd = BollBandDown(20,2);
if (max(bu)<min(bd)*1.01 or max(bu)<min(bd)*1.02)
&& c>bm
&& crossup(c,bu)
&& v>v[1]*2
&& c>dayclose(1)
&& dayopen()<c
&& C*1.04 >= dayhigh()
&& h[1]<bu
and stime >= 090300 and stime <= 152000 Then
Find(1);
즐거운 하루되세요
> 나석 님이 쓴 글입니다.
> 제목 : 수고하십니다.
> crossup(h,bbandsup(period,d1))
and
max(avg(c,short),avg(c,mid),avg(c,long)) <
min(avg(c,short),avg(c,mid),avg(c,long)) *(1+percent/100)&&
c>highest(h(1),5)&& c(1)<=highest(h(2),5)
변수
short 5
mid 20
long 60
period 20
percent 5
d1 2
하나 더 부탁합니다.
max(BBandsUp(20,2))<min(BBandsdown(20,2))*1.01
or
max(BBandsUp(20,2))<min(BBandsdown(20,2))*1.02
&& c>BBandsc(20,2)
&& crossup(c,BBandsup(20,2))
&& v>v(1)*2
&& c>predayclose()
&& dayopen()<c
&& C*1.04 >= dayhigh()
&& h(1)<BBandsup(20,2)
and time >= 090300 and time <= 152000
미리 감사드립니다~~