커뮤니티

예스랭귀지 Q&A

글쓰기
답변완료

안녕하세요 작성해주신 수식 오류가 떠서요

검토 부탁드려용...
프로필 이미지
SaS하이에나
2024-05-20
957
글번호 179747
시스템

돈을잃자 님에 의해서 삭제되었습니다.

프로필 이미지
돈을잃자
2024-05-20
10
글번호 179722
지표
답변완료

검색식 부탁 드립니다

감사 합니다 분봉에서 사용 가능하게 수식 수정이 가능한가요 분봉에서 사용 할수 있도록 수정해 주세요 무리한 부탁 드려서 죄송 합니다 input : L기간(15),R기간(12); var : 조건(False); 조건=Lowest(L,L기간+R기간+1)==L[R기간]; if 조건 == true Then var1 = L[R기간]; if var1 > 0 and CrossUp(c,var1) Then Find(1);
프로필 이미지
구경꾼그림자
2024-05-20
565
글번호 179718
종목검색
답변완료

예스트레이딩 수식으로 부탁드립니다.

키움 조건검색식을 예스트레이딩 종목검색식으로 변환 부탁드립니다. A) 주가이평배열(4):[일]0봉전 종가 200이평 < 150이평 < 50이평 < 1이평 B) 신고가:[일]0봉전 고가가 52봉중 신고가에 -25%이내 근접 C) 52주 최저가대비 25%이상 D) 주가이평추세:[일]0봉전 (종가 40)이평 상승추세유지 4회 이상 E) [일]0봉전 MACD(12,26) 0선 이상 A and B and C and D and E 감사합니다.
프로필 이미지
비밀통로
2024-05-20
800
글번호 179705
종목검색

비밀통로 님에 의해서 삭제되었습니다.

프로필 이미지
비밀통로
2024-05-20
5
글번호 179701
종목검색

고성 님에 의해서 삭제되었습니다.

프로필 이미지
고성
2024-05-20
20
글번호 179698
지표
답변완료

Hybrid EMA 지표 변환 문의(트레이딩뷰 자료)

아래와 같이 트레이딩뷰의 Hybrid EMA지표에 대한 소스를 복사를 했습니다. 변환하려고 해 봤는데 이해가 잘 되지 않아 변환 무의 드립니다. // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // &#169; Uldisbebris //@version=5 indicator("Hybrid EMA AlgoLearner", shorttitle="Hybrid EMA AlgoLearner", overlay=false) // Parameters for EMAs shortTermPeriod = 50 longTermPeriod = 200 // k-NN parameter k = input.int(5, 'K - Number of neighbors') // Calculate EMAs shortTermEma = ta.ema(close, shortTermPeriod) longTermEma = ta.ema(close, longTermPeriod) // Custom k-NN Algorithm for weighted EMA var float[] distances = array.new_float(0) array.clear(distances) for i = 1 to 100 by 1 // Loop through past 100 data points distance = math.abs(shortTermEma - longTermEma[i]) array.push(distances, distance) array.sort(distances) k_distances = array.new_float(0) for i = 0 to k - 1 by 1 array.push(k_distances, array.get(distances, i)) // Calculate weighted EMA based on closest k distances weightShortTermEma = 0.0 totalWeight = 0.0 for i = 0 to k - 1 by 1 weight = array.get(k_distances, i) weightShortTermEma += shortTermEma[i] * weight totalWeight += weight weightShortTermEma /= totalWeight // Scale weightShortTermEma between 0 - 100 var float minEma = na var float maxEma = na // Instead of all the history, only look at the last N bars. lookbackPeriod = input.int(400, 'lookbackPeriod') minEma := ta.lowest(weightShortTermEma, lookbackPeriod) maxEma := ta.highest(weightShortTermEma, lookbackPeriod) scaledWeightShortTermEma = (weightShortTermEma - minEma) / (maxEma - minEma) * 100 //== plot emaplot = plot(scaledWeightShortTermEma, title='Scaled Weighted Short-Term EMA', color = color.new(#a6a8a3, 0), linewidth = 1) midLinePlot = plot(50, color = na, editable = false, display = display.none) // Fill between plots and add horizontal lines fill(emaplot, midLinePlot, 105, 85, top_color = color.new(#057ec4, 0), bottom_color = color.new(#6ca800, 100), title = "Overbought Gradient Fill") fill(emaplot, midLinePlot, 15, -5, top_color = color.new(#a83c91, 100), bottom_color = color.new(#fcf801, 0), title = "Oversold Gradient Fill") hline(15, color = color.new(#8b3131, 50)) hline(50, color = color.new(color.gray, 49)) hline(85, color = color.new(#2c5c2e, 50))
프로필 이미지
최원엽
2024-05-20
967
글번호 179697
지표
답변완료

종목검색식부탁드림니다.

crossup(C,C(5)) and crossup(C,C(20)) and O<C and V(1)*5<=V
프로필 이미지
존슨비치
2024-05-20
824
글번호 179695
종목검색
답변완료

후행스팬 검색식 문의

일목 후행 스팬이 볼린저 밴드 상단 위에 위치한 종목 검색식 부탁드립니다
프로필 이미지
최고대박
2024-05-20
747
글번호 179694
검색
답변완료

수식질문 드려요.

안녕하세요. 키움에서 사용하는 수식이데.. 예스랭귀지로 어떻게 표현할지 몰라서 질문 드립니다. ((eavg(C, 5, 1) )*2 +H) 늘 감사합니다.
프로필 이미지
이루나라
2024-05-20
657
글번호 179693
사용자 함수