답변완료
수정요청
30분봉에서
아래 수식의 신호발생을 두 경우에만 나올 수 있도록 수정하고 싶습니다.
1.지수이평이 120>240>480이고 1봉전대비 0봉가격이 1%이상 상승하고 종가는 지수120선 위.
or
2.지수이평이 120<240<480이고 1봉전대비 0봉가격이 5%이상 상승.
(다른 경우의 지수이평배열 시에는 신호발생 X)
3.공통: 일봉 0봉종가>240지수이평
================================================================================
Input : shortPeriod(5), longPeriod(20),기간1(50);
var : M1(0),M2(0),a(0),a1(0),eq(0),ZL(0),B(0),B1(0),B2(0),PB(0);
M1 = ma(C, shortPeriod);
M2 = ma(C, longPeriod);
A = LRL(C,기간1);
A1 = LRL(A,기간1);
eq= A-A1;
ZL =A+eq;
PB=SAR(0.02,0.2);
if C>=O && C>=M1 && M1>M1[1] && M1[1]<=M1[2] && C>=M2 && M2>M2[1] && M2[1]<=M2[2] && C>=ZL && ZL>ZL[1] && ZL[1]<=ZL[2] && PB<=C Then
Find(1);
2024-01-18
860
글번호 175849
종목검색
답변완료
부탁드립니다
키움식인데 예스로 전환 할려고 하니, valuewhen 2번째, barsince, highestsince 가 어려워서 염치 불구하고 부탁 드리려고 합니다
aa=stochasticsslow(12,5);
조건=aa(2)>=aa(1)&&aa(1)<aa;
bb=valuewhen(1,조건 && aa(1)<20,aa(1));
cc=valuewhen(2,조건 && aa(1)<20,aa(1));
dd=bb(1)<bb && bb>cc;
ee=barssince(조건 && aa<20)+1;
kk=dd && ee(1)<=15;
ff=valuewhen(1,조건 && aa(1)<20,c(1));
gg=valuewhen(2,조건 && aa(1)<20,c(1));
hh=ff<gg && kk==1;
ii=highestsince(1,조건 && aa(1)<20,aa);
jj=kk && hh && ii(1)>20;
jj(1)==1
2024-01-17
938
글번호 175847
종목검색
답변완료
문의드립니다
1.
Input : Period(14),sig(9);
var : Relative(0),signal(0);
Relative = RSI(Period);
signal = ma(Relative,sig);
if crossup(Relative,signal) Then
buy();
if CrossDown(Relative,signal) Then
sell();
상기식을 데이타2용으로 수정해주셨으면합니다
....................................................................
2.
Input : Period(14),sig(9);
var : Relative(0),signal(0);
Relative = RSI(Period);
signal = ma(Relative,sig);
if crossup(Relative,signal) Then
plot1(H,"검색",RED);
if CrossDown(Relative,signal) Then
plot1(L,"검색",blue);
상기식을 데이타2용으로 수정해 주세요
............................................................................
3.
input : P1(7),P2(14),P3(21);
var : R1(0),R2(0),R3(0),TX(0);
R1 = RSI(P1);
R2 = RSI(P2);
R3 = RSI(P3);
Condition1 = R1 > R2 and R2 > R3;
Condition2 = R1 < R2 and R2 < R3;
if Condition1 == true and Condition1 != Condition1[1] Then
{
Buy();
}
if Condition2 == true and Condition2 != Condition2[1] Then
{
Sell();
}
상기식을 데이타2용으로 수정해 주세요
.......................................................................
4. 종가저가인 음봉 캔들에는 파란색 엑스자를, 종가고가인 양봉 캔들에는 빨간색 엑스자를 검색식으로 표기 부탁드립니다.
엑스자 표기가 힘들다면 그냥 검색식으로 부탁 드립니다
...........................................................................
매번 감사드립니다
2024-01-18
667
글번호 175845
시스템
답변완료
부탁합니다
미리 감사드립니다.
a1= crossup(h,bbandsup(40,2));
a2= crossup(macd(short,long),0);
a3= crossup(macd(short,long),
eavg(macd(short,long),sig));
a4= crossup(stochasticsslow(period1,
period2),
eavg(stochasticsslow(period1,period2),
period3));
a5= crossup(macd(shortperiod,sig),
eavg(macd(shortperiod,sig),short));
a6= Crossup(CCI(20),0);
(a1+a2+a3>=2) and (a4+a5+a6>=2
변수
short 9
long 52
sig 26
period1 20
period2 12
period3 12
shortperiod 12
2024-01-17
824
글번호 175840
종목검색