예스스탁
예스스탁 답변
2025-03-24 13:26:37
안녕하세요
예스스탁입니다.
var : s(0),mc(0),ms(0),sto(0),p1(0),p2(0),p3(0),p4(0),sn(0),snp(0);
s= Accum(1);
mc= macd(12,26);
ms= Ema(mc,9);
sto= StochasticsK(12,5);
if CrossUp(mc,0) Then
{
p3 = s;
p1 = p3[1];
snp = sn[1];
}
if CrossDown(mc,ms) Then
p2 = s;
if CrossUp(sto,20) Then
p4 = s;
if CrossUp(mc,0) Then
sn = 0;
if CrossUp(sto,20) Then
sn = sn +1;
if p1<p2 && p2<p3 && p1<p4 && p3>p4 && snp==1 && crossup(ms,0) Then
Find(1);
즐거운 하루되세요
> 질러봐 님이 쓴 글입니다.
> 제목 : 종목검색수식으로 부탁드립니다
> s= sum(1);
m= macd(12,26);
ms= eavg(m,9);
sto= stochasticsslow(12,5);
p1= valuewhen(2,crossup(m,0),s);
p2=valuewhen(1,crossdown(m,ms),s);
p3= valuewhen(1,crossup(m,0),s);
p4= valuewhen(1,crossup(sto,20),s);
sn= countsince(crossup(m,0),crossup(sto,20));
snp= valuewhen(1,crossup(m,0),sn(1));
p1<p2 && p2<p3 && p1<p4 && p3>p4 &&
snp==1 &&
crossup(ms,0)