예스스탁
예스스탁 답변
2022-06-20 17:17:59
안녕하세요
예스스탁입니다.
기간내 평균 거래량비율:[일]0봉전 5봉이내에서 1평균거래량대비(기준봉포함) 50%이상 1회 이상
if CountIf(V >= ma(v,1)*1.5,5) >= 1 Then
분봉 금일 첫봉대비 거래량비율:[5분]주기 금일 첫봉 거래량대비 0봉전 거래량비율 200%이상
if sDate != sDate[1] Then
var1 = v;
if v >= var1*3 Then
거래량비율:[일]5봉 평균(0봉전)거래량대비 동일주기 0봉전 100%이상
if ma(v,5) >= ma(v,5)[1]*2 Then
[일]0봉전 이평(단순 50) 5봉이내 박스에서 고가 1회 상한선 상향 돌파
정확한 내용파악이 되지 않습니다.
주가등락률:[1분]65봉전(중) 고가대비 0봉전 종가등락률 -3%이하
if C <= highest(H,65)*0.97 Then
기간내 등락률:[일]1봉전 5봉이내에서 전일종가대비종가 10% 이상
if countif(C>C[1]*1.10,5)[1] >= 1 Then
신고가:[일]1봉전 고가가 33봉이내에서 신고가
if H > highest(H,33)[1] Then
최저종가:[일]1봉전 종가가 60이내 최저종가
if C[1] == lowest(c,60) Then
주가이평추세:[주]0봉전 (종가 10)이평 상승추세유지 2회 이상
var1 = ma(C,10);
if CountIf(var1 >var1[1],2) == 2 Then
상세이평비교:[일]0봉전 단순 (종가 1 )이평이 단순(종가 20)이평을 5봉이내 80이상 95이하 1회 이상
var1 = ma(C,1)/ma(C,20)*100;
if CountIf(var1>=80 and var1 <= 95,5) >= 1 Then
주가이평등락률:[일]1봉전(중)종가20이평대비 0봉전종가1이평 등락률 1%이상 30%이하
var1 = ma(C,1)/ma(C,20)*100;
if CountIf(var1>=80 and var1 <= 95,5) >= 1 Then
주가이평돌파:[일]0봉전기준 20봉이내에서 0봉전 (종가 1)이평 (종가 20)이평 데드크로스
var1 = ma(C,1);
Var2 = ma(C,20)
if CountIf(CrossDown(var1,var2),20) >= 1 Then
주가비교:[월]1봉전 시가 < 1봉전 종가
if O < C Then
연속상승하락:[일]1봉전 3봉 연속상승발생
if CountIf(C<C[1],3)[1] == 3 Then
이평이격도[일]0봉전(종가 10, 종가 40) : 98%이상 105%이하 1회이상
var1 = ma(C,10)/ma(C,40)*100;
if var1>=98 and var1 <= 10 Then
일봉기준 10일이내에서 1일중 첫하한가 발생
var : 하한가(0), DnLimit(0);
var : dn1(0), dn2(0), dn3(0), dn4(0), dn5(0),dn6(0),dn7(0);
if date >= 19981207 then {
if date < 20050328 && CodeCategory() == 2 then
DnLimit = (BP * 0.12);
Else if date >= 20050328 and date < 20150615 Then
DnLimit = (BP * 0.15);
Else
DnLimit = (BP * 0.30);
if CodeCategory() == 2 then {
if date >= 20030721 then {
dn1 = int(DnLimit/100)*100;
dn2 = int(DnLimit/100)*100;
dn3 = int(DnLimit/100)*100;
dn4 = int(DnLimit/50)*50;
dn5 = int(DnLimit/10)*10;
dn6 = int(DnLimit/5)*5;
dn7 = int(DnLimit/1)*1;
}
else {
dn1 = int(DnLimit/1000)*1000;
dn2 = int(DnLimit/500)*500;
dn3 = int(DnLimit/100)*100;
dn4 = int(DnLimit/50)*50;
dn5 = int(DnLimit/10)*10;
dn6 = int(DnLimit/10)*10;
dn7 = int(DnLimit/1)*1;
}
}
Else {
dn1 = int(DnLimit/1000)*1000;
dn2 = int(DnLimit/500)*500;
dn3 = int(DnLimit/100)*100;
dn4 = int(DnLimit/50)*50;
dn5 = int(DnLimit/10)*10;
dn6 = int(DnLimit/5)*5;
dn7 = int(DnLimit/1)*1;
}
if CodeCategory() == 1 or CodeCategory() == 2 then {
if sdate < 20101004 Then{
If BP >= 500000 Then
하한가 = BP-dn1;
Else If BP >= 100000 Then
하한가 = BP-dn2;
Else If BP >= 50000 Then
하한가 = BP-dn3;
Else If BP >= 10000 Then
하한가 = BP-dn4;
Else If BP >= 5000 Then
하한가 = BP-dn5;
Else If BP >= 1000 Then
하한가 = BP-dn6;
Else
하한가 = BP-dn6;
}
else{
If BP >= 500000 Then
하한가 = BP-dn1;
Else If BP >= 100000 Then
하한가 = BP-dn2;
Else If BP >= 50000 Then
하한가 = BP-dn3;
Else If BP >= 10000 Then
하한가 = BP-dn4;
Else If BP >= 5000 Then
하한가 = BP-dn5;
Else If BP >= 1000 Then
하한가 = BP-dn6;
Else
하한가 = BP-dn7;
}
}
else if CodeCategory() == 8 or CodeCategory() == 9 then {
하한가 = BP-dn6;
}
}
if L == 하한가 and CountIf(L==하한가,10) == 1 Then
일봉기준 10일이내에서 1일간 연속상한가 발생
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 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 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;
}
}
if H == 상한가 and CountIf(H==상한가,1) == 1 Then
52주 최고가대비 -20%이상 0%이하
if C >= highest(H,52)*0.80
즐거운 하루되세요
> 심홍 님이 쓴 글입니다.
> 제목 : 수식변환의뢰
> 수식변환의뢰
각 항목별 수식변환 부탁드립니다.
[예] [일]1봉전 2봉중 신저거래량 ==> V(1) < lowest(V(2), 2)
기간내 평균 거래량비율:[일]0봉전 5봉이내에서 1평균거래량대비(기준봉포함) 50%이상 1회 이상
분봉 금일 첫봉대비 거래량비율:[5분]주기 금일 첫봉 거래량대비 0봉전 거래량비율 200%이상
거래량비율:[일]5봉 평균(0봉전)거래량대비 동일주기 0봉전 100%이상
[일]0봉전 이평(단순 50) 5봉이내 박스에서 고가 1회 상한선 상향 돌파
주가등락률:[1분]65봉전(중) 고가대비 0봉전 종가등락률 -3%이하
기간내 등락률:[일]1봉전 5봉이내에서 전일종가대비종가 10% 이상
신고가:[일]1봉전 고가가 33봉이내에서 신고가
최저종가:[일]1봉전 종가가 60이내 최저종가
주가이평추세:[주]0봉전 (종가 10)이평 상승추세유지 2회 이상
상세이평비교:[일]0봉전 단순 (종가 1 )이평이 단순(종가 20)이평을 5봉이내 80이상 95이하 1회 이상
주가이평등락률:[일]1봉전(중)종가20이평대비 0봉전종가1이평 등락률 1%이상 30%이하
주가이평돌파:[일]0봉전기준 20봉이내에서 0봉전 (종가 1)이평 (종가 20)이평 데드크로스
주가비교:[월]1봉전 시가 < 1봉전 종가
연속상승하락:[일]1봉전 3봉 연속상승발생
이평이격도[일]0봉전(종가 10, 종가 40) : 98%이상 105%이하 1회이상
일봉기준 10일이내에서 1일중 첫하한가 발생
일봉기준 10일이내에서 1일간 연속상한가 발생
52주 최고가대비 -20%이상 0%이하