예스스탁
예스스탁 답변
2023-12-08 11:11:00
안녕하세요
예스스탁입니다.
랭귀지에 시가총액 데이터는 제공되지 않습니다.
종목검색 설정창에서 옵션으로 제공되므로 설정창에서 지정하시면 됩니다.
var : JJ(False),AA(False),BB(False);
var : CC(False),DD(False),EE(False);
var : FF(False),GG(False),HH(False),II(False);
var : 상한가(0), UpLimit(0);
var : up1(0), up2(0), up3(0), up4(0), up5(0),up6(0),Up7(0);
if date >= 19981207 then
{
if date < 20050328 && CodeCategory() == 2 then
UpLimit = (BP[0] * 1.12);
Else if date >= 20050328 and date < 20150615 Then
UpLimit = (BP[0] * 1.15);
Else
UpLimit = (BP[0] * 1.30);
if date >= 20230125 Then
{
up1 = int(UpLimit/1000+0.00001)*1000;
up2 = int(UpLimit/500+0.00001)*500;
up3 = int(UpLimit/100+0.00001)*100;
up4 = int(UpLimit/50+0.00001)*50;
up5 = int(UpLimit/10+0.00001)*10;
up6 = int(UpLimit/5+0.00001)*5;
up7 = int(UpLimit/1+0.00001)*1;
}
Else
{
if CodeCategory() == 2 then
{
if date >= 20030721 then
{
up1 = int(UpLimit/100+0.00001)*100;
up2 = int(UpLimit/100+0.00001)*100;
up3 = int(UpLimit/100+0.00001)*100;
up4 = int(UpLimit/50+0.00001)*50;
up5 = int(UpLimit/10+0.00001)*10;
up6 = int(UpLimit/5+0.00001)*5;
up7 = int(UpLimit/1+0.00001)*1;
}
else
{
up1 = int(UpLimit/1000+0.00001)*1000;
up2 = int(UpLimit/500+0.00001)*500;
up3 = int(UpLimit/100+0.00001)*100;
up4 = int(UpLimit/50+0.00001)*50;
up5 = int(UpLimit/10+0.00001)*10;
up6 = int(UpLimit/10+0.00001)*10;
up7 = int(UpLimit/1+0.00001)*1;
}
}
Else
{
up1 = int(UpLimit/1000+0.00001)*1000;
up2 = int(UpLimit/500+0.00001)*500;
up3 = int(UpLimit/100+0.00001)*100;
up4 = int(UpLimit/50+0.00001)*50;
up5 = int(UpLimit/10+0.00001)*10;
up6 = int(UpLimit/5+0.00001)*5;
up7 = int(UpLimit/1+0.00001)*1;
}
}
if CodeCategory() == 1 || CodeCategory() == 2 then
{
if date >= 20230125 Then
{
If BP >= 500000 Then
상한가 = up1;
Else If BP >= 200000 Then
상한가 = iff(up2>=500000, up1, up2);
Else If BP >= 50000 Then
상한가 = iff(up3>=200000, up2, up3);
Else If BP >= 20000 Then
상한가 = iff(up4>=50000, up3, up4);
Else If BP >= 5000 Then
상한가 = iff(up5>=20000, up4, up5);
Else If BP >= 2000 Then
상한가 = iff(up5>=5000, up5, up6);
Else
상한가 = iff(up6>=2000, up6, up7);
}
Else
{
if sdate < 20101004 Then
{
If BP >= 500000 Then
상한가 = up1;
Else If BP >= 100000 Then
상한가 = iff(up2>=500000, up1, up2);
Else If BP >= 50000 Then
상한가 = iff(up3>=100000, up2, up3);
Else If BP >= 10000 Then
상한가 = iff(up4>=50000, up3, up4);
Else If BP >= 5000 Then
상한가 = iff(up5>=10000, up4, up5);
Else If BP >= 1000 Then
상한가 = iff(up5>=5000, up5, up6);
Else
상한가 = iff(up6>=1000, up6, up6);
}
Else
{
If BP >= 500000 Then
상한가 = up1;
Else If BP >= 100000 Then
상한가 = iff(up2>=500000, up1, up2);
Else If BP >= 50000 Then
상한가 = iff(up3>=100000, up2, up3);
Else If BP >= 10000 Then
상한가 = iff(up4>=50000, up3, up4);
Else If BP >= 5000 Then
상한가 = iff(up5>=10000, up4, up5);
Else If BP >= 1000 Then
상한가 = iff(up5>=5000, up5, up6);
Else
상한가 = iff(up6>=1000, up6, up7);
}
}
}
else if CodeCategory() == 8 || CodeCategory() == 9 then { // ETF
상한가 = up6;
}
}
JJ = H[1] > highest(H,39)[2];
BB = C[0] > highest(H,40)[1];
CC = V > highest(V,40)[1];
DD = V >= V[1]*5;
EE = countif(V >= V[1]*5,39)[1] >= 1;
FF = CountIf(H >= 상한가,39)[1] >= 1;
GG = C > O;
HH = C > ma(C,224);
II = Money >= 1000000000;
if JJ == False and BB and (CC or DD) and (EE or FF) and GG and HH and II Then
Find(1);
즐거운 하루되세요
> james79 님이 쓴 글입니다.
> 제목 : 부탁드립니다.
> 제가 자주 사용하는 K사 검색식 입니다.
예스랭귀지 검색식으로 변경 부탁드립니다.
A 시가총액:현재가기준 50십억원 이상
J 신고가:[일]1봉전 고가가 39봉중 신고가
B 신고가:[일]0봉전 종가가 40봉중 신고가
C [일]0봉전 40봉중 신고거래량
D 거래량비율(n봉):[일]1봉전 거래량 대비 0봉전 거래량 비율 500%이상
E 기간내 거래량비율:[일]1봉전 39봉이내에서 전봉거래량대비 500%이상 1회 이상
F 기간내 등락봉수:[일]1봉전 39봉이내 1봉 상한발생
G 캔들연속발생:[일]0봉전 1봉 연속 양봉발생
H 가격-이동평균 비교:[일]0봉전 (종가 224)이평 < 종가
I [일]거래대금(일:백만, 분:천) 1000이상 999999999이하
A and !J and B and (C or D) and (E or F) and G and H and I
james79
2023-12-08 16:28:58
진심으로 감사합니다.
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : 부탁드립니다.
>
안녕하세요
예스스탁입니다.
랭귀지에 시가총액 데이터는 제공되지 않습니다.
종목검색 설정창에서 옵션으로 제공되므로 설정창에서 지정하시면 됩니다.
var : JJ(False),AA(False),BB(False);
var : CC(False),DD(False),EE(False);
var : FF(False),GG(False),HH(False),II(False);
var : 상한가(0), UpLimit(0);
var : up1(0), up2(0), up3(0), up4(0), up5(0),up6(0),Up7(0);
if date >= 19981207 then
{
if date < 20050328 && CodeCategory() == 2 then
UpLimit = (BP[0] * 1.12);
Else if date >= 20050328 and date < 20150615 Then
UpLimit = (BP[0] * 1.15);
Else
UpLimit = (BP[0] * 1.30);
if date >= 20230125 Then
{
up1 = int(UpLimit/1000+0.00001)*1000;
up2 = int(UpLimit/500+0.00001)*500;
up3 = int(UpLimit/100+0.00001)*100;
up4 = int(UpLimit/50+0.00001)*50;
up5 = int(UpLimit/10+0.00001)*10;
up6 = int(UpLimit/5+0.00001)*5;
up7 = int(UpLimit/1+0.00001)*1;
}
Else
{
if CodeCategory() == 2 then
{
if date >= 20030721 then
{
up1 = int(UpLimit/100+0.00001)*100;
up2 = int(UpLimit/100+0.00001)*100;
up3 = int(UpLimit/100+0.00001)*100;
up4 = int(UpLimit/50+0.00001)*50;
up5 = int(UpLimit/10+0.00001)*10;
up6 = int(UpLimit/5+0.00001)*5;
up7 = int(UpLimit/1+0.00001)*1;
}
else
{
up1 = int(UpLimit/1000+0.00001)*1000;
up2 = int(UpLimit/500+0.00001)*500;
up3 = int(UpLimit/100+0.00001)*100;
up4 = int(UpLimit/50+0.00001)*50;
up5 = int(UpLimit/10+0.00001)*10;
up6 = int(UpLimit/10+0.00001)*10;
up7 = int(UpLimit/1+0.00001)*1;
}
}
Else
{
up1 = int(UpLimit/1000+0.00001)*1000;
up2 = int(UpLimit/500+0.00001)*500;
up3 = int(UpLimit/100+0.00001)*100;
up4 = int(UpLimit/50+0.00001)*50;
up5 = int(UpLimit/10+0.00001)*10;
up6 = int(UpLimit/5+0.00001)*5;
up7 = int(UpLimit/1+0.00001)*1;
}
}
if CodeCategory() == 1 || CodeCategory() == 2 then
{
if date >= 20230125 Then
{
If BP >= 500000 Then
상한가 = up1;
Else If BP >= 200000 Then
상한가 = iff(up2>=500000, up1, up2);
Else If BP >= 50000 Then
상한가 = iff(up3>=200000, up2, up3);
Else If BP >= 20000 Then
상한가 = iff(up4>=50000, up3, up4);
Else If BP >= 5000 Then
상한가 = iff(up5>=20000, up4, up5);
Else If BP >= 2000 Then
상한가 = iff(up5>=5000, up5, up6);
Else
상한가 = iff(up6>=2000, up6, up7);
}
Else
{
if sdate < 20101004 Then
{
If BP >= 500000 Then
상한가 = up1;
Else If BP >= 100000 Then
상한가 = iff(up2>=500000, up1, up2);
Else If BP >= 50000 Then
상한가 = iff(up3>=100000, up2, up3);
Else If BP >= 10000 Then
상한가 = iff(up4>=50000, up3, up4);
Else If BP >= 5000 Then
상한가 = iff(up5>=10000, up4, up5);
Else If BP >= 1000 Then
상한가 = iff(up5>=5000, up5, up6);
Else
상한가 = iff(up6>=1000, up6, up6);
}
Else
{
If BP >= 500000 Then
상한가 = up1;
Else If BP >= 100000 Then
상한가 = iff(up2>=500000, up1, up2);
Else If BP >= 50000 Then
상한가 = iff(up3>=100000, up2, up3);
Else If BP >= 10000 Then
상한가 = iff(up4>=50000, up3, up4);
Else If BP >= 5000 Then
상한가 = iff(up5>=10000, up4, up5);
Else If BP >= 1000 Then
상한가 = iff(up5>=5000, up5, up6);
Else
상한가 = iff(up6>=1000, up6, up7);
}
}
}
else if CodeCategory() == 8 || CodeCategory() == 9 then { // ETF
상한가 = up6;
}
}
JJ = H[1] > highest(H,39)[2];
BB = C[0] > highest(H,40)[1];
CC = V > highest(V,40)[1];
DD = V >= V[1]*5;
EE = countif(V >= V[1]*5,39)[1] >= 1;
FF = CountIf(H >= 상한가,39)[1] >= 1;
GG = C > O;
HH = C > ma(C,224);
II = Money >= 1000000000;
if JJ == False and BB and (CC or DD) and (EE or FF) and GG and HH and II Then
Find(1);
즐거운 하루되세요
> james79 님이 쓴 글입니다.
> 제목 : 부탁드립니다.
> 제가 자주 사용하는 K사 검색식 입니다.
예스랭귀지 검색식으로 변경 부탁드립니다.
A 시가총액:현재가기준 50십억원 이상
J 신고가:[일]1봉전 고가가 39봉중 신고가
B 신고가:[일]0봉전 종가가 40봉중 신고가
C [일]0봉전 40봉중 신고거래량
D 거래량비율(n봉):[일]1봉전 거래량 대비 0봉전 거래량 비율 500%이상
E 기간내 거래량비율:[일]1봉전 39봉이내에서 전봉거래량대비 500%이상 1회 이상
F 기간내 등락봉수:[일]1봉전 39봉이내 1봉 상한발생
G 캔들연속발생:[일]0봉전 1봉 연속 양봉발생
H 가격-이동평균 비교:[일]0봉전 (종가 224)이평 < 종가
I [일]거래대금(일:백만, 분:천) 1000이상 999999999이하
A and !J and B and (C or D) and (E or F) and G and H and I