커뮤니티

4개중에 3개이상 만족하는 검색식 부탁드립니다.

프로필 이미지
그냥생각없슴
2024-08-15 20:53:52
781
글번호 182565
답변완료
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개이상 만족하면 검색되게 부탁드립니다. 감사합니다.
종목검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2024-08-19 13:45:26

안녕하세요 예스스탁입니다. 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); value1 = 0; if CrossUp(Var21,Var22) and Var21[1] < 0 and Var5 > 0 and var6[1]<=30 AND var6[1]<var6 Then value1 = value1+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 Value1 = Value1+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 Value1 = value1+1; INPUT : 기간(20),비율(12),Period(14); VAR : zA(0),zA1(0),zA2(0); zA=MA(c,Period)-MA(c,기간)*비율/100; //엔벨롭 하단 zA1=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 zA2=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]<=zA[1] OR L<=zA) && (zA1[1]<=30 OR zA1<=30) && (zA2[1]>30 OR zA2>30) && C>O TheN value1 = value1+1; if value1 >= 3 Then Find(1); 즐거운 하루되세요 > 그냥생각없슴 님이 쓴 글입니다. > 제목 : 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개이상 만족하면 검색되게 부탁드립니다. 감사합니다.