답변완료
수식변환 요청
안녕하세요.
다음은 k증권사 신호검색 입니다. 예스랭귀지 종목검색식으로 각각 변환요청드립니다.
1. 신호검색
[지표변수]
shortperiod 5
midperiod 13
[수식]
Bi=sum(v*((Pow((C-L),2) - Pow((H-C),2))/(H-L)));
B1=BWI(10, 2);
B2=BWI(18,2);
BB=BBandsUp(20,2);
10=ma(c,10, 지수);
전환=(highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
기준=(highest(high,midPeriod)+lowest(low,midPeriod))/2;
Bi>=Bi(1) and (B1>B1(1) or B2>B2(1)) and c>10 and c>전환 and 전환>10 and
OBV()>Ma(OBV(), 9, 지수) and 전환>=기준 and 전환>전환(1) and
기준>기준(1) and CrossUp(c,BB)
2. 신호검색
[지표변수]
shortperiod 9
midperiod 26
[수식]
A=(highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
B=(highest(high,midPeriod)+lowest(low,midPeriod))/2;
Bii=sum(v*((pow((C-L),2) - Pow((H-C),2))/(H-L)));
crossUp(C,C(20)) and crossup(C,C(60)) and
Bii>Bii(1) and A>A(1) and
B>=B(1) and C>O and V>=V(1)*10
3. 신호검색
A=BBandsUp(17,2);
B=BBandsUp(40,2);
D=Disparity(20);
E=EnvelopeUP(20,6);
P=EnvelopeUp(50,3);
c>SAR(0.015,0.15) and DIPlus(14)>=DIMinus(14) and
(o<c and c>P(19) and D<150 and D>D(1) and ((c>ma(h,5) and Crossup(A,E))
or
(c>ma(h,5) and B>E and A(1)<B(1) and CrossUp(A,B))
or
(A>B and B>E and CrossUp(C,A))
or
(CrossUp(C,A) and CrossUp(C,E))
or
(CrossUp(C,A) and CrossUp(C,B) and
CrossUp(C,E))))
or
(o<c and c<P(19) and D>D(1) and v>ma(v,5)*2 and
((c>ma(h,5) and Crossup(A,E))
or
(c>ma(h,5) and B>E and A(1)<B(1) and CrossUp(A,B))
or
(A>B and B>E and CrossUp(C,A))
or
(CrossUp(C,A) and CrossUp(C,E))
or
(CrossUp(C,A) and CrossUp(C,B) and
CrossUp(C,E))))
2024-07-08
779
글번호 181312
종목검색
답변완료
안녕하세요 종목검색문의 부탁드립니다^^
안녕하세요~^^ 감사한답변을 아래 수식처럼 받았습니다
종목검색에서 당일 분봉에서 아래 검색을 모두 검색하는 수식을 만들고 싶은데요
전에 받은 답변에서 바로 아래의 수식이 당일 분봉에서 발생한 신호를 모두 검색하는 수식으로 알고 있는데 두가지 수식을 합치고 싶습니다 잘 부탁드리겠습니다^^
====================================
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);
2024-07-08
664
글번호 181308
종목검색
답변완료
키움신호를 종목검색식으로
선행1=(highest(high,shortPeriod)+lowest(low,shortPeriod)+highest(high,midPeriod)+lowest(low,midPeriod))/4;
전환=(highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
기준=(highest(high,midPeriod)+lowest(low,midPeriod))/2;
이평1 = ma(C, 10);
이평2 = ma(c,20);
중심 = BBandsC(20,2.0);
CrossUp(전환,선행1) && 전환 > 선행1;
&&
전환 > 중심
&&
전환 > 이평1
OR
crossUP(기준, 중심)
OR
기준 > 중심
OR
기준 > 이평2
&&
전일대비 상승률 순 500위이내
&&
시가대비 상승률 순 500위이내
&&
거래대금 많은 순 300위이내
shortPeriod 9
midPeriod 26
longPeriod 52
키움 신호수식인데 종목 검색 부탁드립니다
고맙습니다
항삼 감사드립니다
2024-07-08
739
글번호 181283
종목검색
답변완료
문의 드립니다
안녕하세요
input : p5(10);
var : T1(0);
var2 = ema(ema(ema(c,p5),p5),p5);
if var2 > var2[1] Then
T1 = 1;
if var2 < var2[1] Then
T1 = -1;
if T1 == 1 Then
plot1(var2,"이평1",RED);
Else
plot1(var2,"이평1",BLUE);
if T1 == 1 and T1[1] != 1 Then{
value3 = Var2[1];
}
if T1 == -1 and T1[1] != -1 Then{
value4 = Var2[1];
}
if T1 == 1 and value3 > 0 Then
plot2(value3,"전환점1",Red);
if T1 == -1 and value4 > 0 Then
plot2(value4,"전환점1",Blue);
위 수식에서 plot2선을 상향돌파하면 매수신호
하향돌파하면 매도신호 발생할수있게 부탁드립니다.
감사합니다
2024-07-08
1028
글번호 181282
시스템