답변완료
4개중에 3개이상 만족하는 검색식 부탁드립니다.
input : sonarP(20),sonarsig(9),voscP1(5),voscP2(20),rsiP(14);
Var21 = SONAR(sonarP);
Var22 = ema(Var21,sonarsig);
Var5 = OSCV(voscP1,voscP2);
var6 = RSI(rsiP);
if CrossUp(Var21,Var22) and Var21[1] < 0 and
Var5 > 0 and var6[1]<=30 AND var6[1]<var6 Then
Find(1);
========================================================
input : Period1(13),Period2(26),기간1(10),기간2(21);
var : ap(0),esa(0),d(0),ci(0),wt1(0),wt2(0),A(0),A1(0);
ap = (HIGH+LOW+CLOSE)/3;
esa = Ema(ap, 기간1);
d = Ema(abs(ap - esa), 기간1);
ci = (ap - esa) / (0.015 * d);
wt1 = Ema(ci,기간2);
wt2 = MA(wt1,4);
A=RCI(13);
A1=RCI(26);
if A[1]<=-80 and A1[1]<=-80 and wt1[1]<=-50 and wt2[1]<=-50 and (CrossUp(WT1,WT2) or CrossUp(A,A1)) Then
Find(1);
==================================
input : rsiLenghth(14);
input : rsiOverBought(70);
input : rsiOverSold(30);
var : bullishCandle(False),bearishCandle(False);
var : rsiValue(0),isRSIOB(False),isRSIOS(False),tradeSignal(False);
var : tx1(0),tx2(0),조건(False);
bullishCandle=close >= open[1] and close[1] < open[1];
//close[1] < open[1] && close[1] >= open && close >= open[1];
//high >= high[1] and low <= low[1]
rsiValue=rsi(rsiLenghth);
isRSIOB=rsiValue >= rsiOverBought and rsiValue;
isRSIOS=rsiValue <= rsiOverSold and rsiValue;
tradeSignal=((isRSIOS or isRSIOS[1] or isRSIOS[2]) and bullishCandle);
if tradeSignal && bullishCandle && C>O Then
Find(1);
==============================
INPUT : 기간(20),비율(12),Period(14);
VAR : A(0),A1(0),A2(0);
A=MA(c,Period)-MA(c,기간)*비율/100; //엔벨롭 하단
A1=AccumN(ifF(C-C[1]>0,C-C[1],0),Period)/AccumN(ifF(C-C[1]>0,C-C[1],C[1]-C),Period)*100; //RSI
A2=eMA(ifF(L[1]-L>0 && H-H[1]<L[1]-L,L[1]-L,0),Period)/eMA(max(max(H-L,abs(C[1]-H)),abs(C[1]-L)),Period)*100; //DI-
IF (L[1]<=A[1] OR L<=A) && (A1[1]<=30 OR A1<=30) && (A2[1]>30 OR A2>30) && C>O TheN
Find(1);
=========================================================================
수고 많으십니다. 위 종목 검색식중 4개중에 3개이상 만족하면 검색되게 부탁드립니다. 감사합니다.
2024-08-15
797
글번호 182565
종목검색
답변완료
월봉
월봉 조건검색식이 있다고 하면 오늘 장중에 그 조건식을 만족한 종목만 나오게 할수 있나요
월봉 조건검색식이 월초부터 오늘이 14일이면 1일부터 오늘 14일까지 만족하는 종목이
다 나오잖아요
오늘이 14일 이라고 치면 오늘 장중에 그 조건에 이번달 첫 만족하는 월봉 종목검색식
수식이 있는지요
제 수식에 추가할 수식이 필요해요 수고하세요
input : length(21),hh(8),mult(2),k(2);
var : src(0),n(0),tx(0),sume(0),i(0),j(0),y2(0),sum(0),sumw(0),w(0),mae(0),A(0),A1(0),A2(0),A3(0);
src = Close;
n = barindex;
sume = 0;
for i = 0 to length-1
{
sum = 0;
sumw = 0;
for j = 0 to length-1
{
w = exp(-(pow(i-j,2)/(hh*hh*2)));
sum = sum+src[j]*w;
sumw = sumw+w;
}
y2 = sum/sumw;
sume = sume+abs(src[i] - y2);
}
mae = sume/length*mult;
A=y2;
A1=y2+mae;
A2=y2-mae;
input : keyvalue(1),atrperiod(10);
var : xATR(0),nLoss(0),xATRTrailingStop(0),pos(0),xcolor(0);
src = close ;
xATR = atr(atrperiod);
nLoss = keyvalue * xATR;
xATRTrailingStop = iff(src > xATRTrailingStop[1] and src[1] > xATRTrailingStop[1], max(xATRTrailingStop[1], src - nLoss),
iff(src < xATRTrailingStop[1] and src[1] < xATRTrailingStop[1], min(xATRTrailingStop[1], src + nLoss),
iff(src > xATRTrailingStop[1], src - nLoss, src + nLoss)));
pos = iff(src[1] < xATRTrailingStop[1] and src > xATRTrailingStop[1], 1,
iff(src[1] > xATRTrailingStop[1] and src < xATRTrailingStop[1], -1,pos[1]));
input : 기간(5);
var : Tema1(0),Tema2(0),Tema3(0),TemaM(0);
Tema1= EmA(close, 기간);
Tema2= EmA(Tema1, 기간);
Tema3= EmA(Tema2, 기간);
TemaM= 3 * Tema1 -3 * Tema2 + Tema3;
input : N배(1.75);
var : buyVolume(0),sellVolume(0);
buyVolume = iff( (high==low), 0, volume*(close-low)/(high-low));
sellVolume = iff( (high==low), 0, volume*(high-close)/(high-low));
INPUT:TT(3);
var : BB(0),X1(0),X2(0),X3(0);
BB=C*V;
X1=accumn(BB,TT);
X2=accumn(V,TT);
X3=X1/X2;
INPUT:N일(3);
var : QQ(0),DD(0),EE(0),FF(0),GG(0);
QQ=(H+L+C)/3;
DD=QQ*V;
EE=accumn(DD,N일);
FF=accumn(V,N일);
GG=EE/FF;
IF CROSSUP(C,X3) && CROSSUP(C,GG) && TemaM>TemaM[1] && pos==1 && C>O && X3>O && V>V[1] && buyVolume>sellVolume*N배 TheN
Find(1);
2024-08-14
687
글번호 182557
검색