커뮤니티

예스랭귀지 Q&A

글쓰기

[공지] 예스랭귀지 AI 어시스턴트, '예스나 AI' 출시 및 무료 체험 안내

안녕하세요, 예스스탁 입니다.복잡한 수식 공부 없이 여러분의 아이디어를 말하면 시스템 트레이딩 언어 예스랭귀지로 작성해주는 서비스예스나 AI(YesNa AI)가 출시되었습니다.지금 예스나 AI를 직접 경험해 보실 수 있도록 20크레딧(질문권 20회)를 무료로 증정해 드리고 있습니다.바로 여러분의 아이디어를 코드로 변환해보세요.--------------------------------------------------🚀 YesNa AI 핵심 기능- 지표식/전략식/종목검색식 생성: 자연어로 요청하면 예스랭귀지 문법에 맞는 코드를 작성합니다.- 종목검색식 변환 지원: K증권의 종목 검색식을 예스랭귀지로 변환 지원합니다.- 컴파일 검증: 작성된 코드가 실행 가능한지 컴파일러를 통해 문법 검증을 거쳐 결과물을 제공합니다.상세한 서비스 개요 및 활용 방법은 [서비스 소개 페이지]에서 확인하실 수 있습니다.▶ 서비스 소개 페이지: 바로가기서비스 사용 유의사항 및 결제 환불정책은 [이용약관]을 참고 부탁드립니다.▶ 서비스 이용약관: 바로가기💬 이용 문의사용 중 문의사항은 [프로그램 사용법 Q&A] 게시판에서 [예스나 AI] 카테고리를 설정 후 문의해 주시면 상세히 안내해 드리겠습니다.--------------------------------------------------앞으로도 AI를 활용한 다양한 트레이딩 기능들을 지속적으로 선보일 예정입니다.많은 관심과 기대 부탁드립니다.
프로필 이미지
예스스탁
2026-02-27
1267
글번호 230811
지표
답변완료

커스텀 분봉 설정

안녕하세요. 파워종목검색이나 종목검색 기능에서 검색 조건 설정시 분봉이 선택박스 안에서만 선택이 가능한데 사용자 정의 (예를들어 40분봉이나 70분봉) 설정은 불가능한건가요? 그리고 예스스팟 Q&A에도 질문 한게 올려드렸는데 함께 확인 부탁드립니다. 감사합니다.
프로필 이미지
멍거
2025-09-11
141
글번호 193935
검색
답변완료

파워종목검색과 종목검색 결과가 다릅니다.

안녕하세요. 예스랭귀지로 "종목검색" 수식 작성해서 "파워종목검색"과 "종목검색" 창에서 동일한 조건으로 검색해보니 첨부파일 처럼 다른 검색 결과가 나오네요. 원인이 무엇일까요? 그리고 검색결과에서 종목 클릭시 차트로 바로 실행되는 기능은 지원할 계획이 없나요? 감사합니다.
프로필 이미지
멍거
2025-09-11
161
글번호 193934
시스템

이승현 님에 의해서 삭제되었습니다.

프로필 이미지
이승현
2025-09-11
2
글번호 193929
종목검색
답변완료

종목 검색 부탁드립니다.

smoothADD = ma_length + if(smoothingBool, ma_lengthSmoothing, 0); MS = if(ma_type == 1, ma(C, smoothADD), if(ma_type == 2, eavg(C, smoothADD), if(ma_type == 3, ma(C, smoothADD,가중), eavg(C, smoothADD)))); tolerance_R = MS * toleranceInputR; PREV_BELOW = C(1) <= MS(1) + tolerance_R; CURR_ABOVE = C > MS + tolerance_R; PREV_BELOW AND CURR_ABOVE 지표조건 ma_length : 120 ma_lengthSmoothing : 25 smoothingBool : 0 ma_type : 2 toleranceInputR : 0.0025 위라인 돌파 종목 검색식 부탁드립니다
프로필 이미지
골든도라도
2025-09-11
152
글번호 193928
종목검색
답변완료

지표식 변환 부탁드려요 항상 감사합니다.

키움에서 사용하는 지표식 입니다. 예스로 변환 부탁드립니다. PI=3.14159; M=avg(c,period); ST=Stdev(c,period); //표준편차 시그마 e=2.718; 분모1=sqrt(2*pi*st*st); //sqrt 루트 분모2=2*st*st; 분자2=-(c-m)*(c-m); Y=1/분모1*pow(e,분자2/분모2)*100; //pow승수 S=eavg(Y,signal); valuewhen(1,S<S(1) && S(1)>S(2), C(1)) 예스로 변환시 지표가 그냥 일자로 그려지는 현상이 있을때 대응 방법도 알려주시면 감사하겠습니다.
프로필 이미지
하이모리
2025-09-11
188
글번호 193923
지표
답변완료

종목검색 부탁드립니다.

매번 담당님께 많은 도움을 받고 있습니다. 항상 감사드립니다. 첨부파일의 그림과 같이 슈퍼트랜드(10,4)매수신호 양봉(A)이 발생하고, 3~5일간 기간조정 후 양봉(A)의 종가를 돌파하는 목표양봉을 검색하고자 합니다. 번거로우시겠지만, 부탁드리겠습니다.
프로필 이미지
벤치워머
2025-09-11
160
글번호 193922
검색
답변완료

도움 부탁드립니다

안녕하세요 늘 도윰주셔서 감사합니다 부탁드릴 내용은 DEMA, TEMA 선이 상승일때 RED, 하락일때 Blue 입니다. 고맙습니다.
프로필 이미지
라몬
2025-09-11
132
글번호 193919
지표

님이랑 님에 의해서 삭제되었습니다.

프로필 이미지
님이랑
2025-09-11
10
글번호 193911
종목검색
답변완료

변환 부탁드립니다

수고하십니다. 다음 트레이딩뷰 지표를 예스트레이더 용으로 변환시켜 주시면 감사하겠습니다. plot은 현 시간대(Data1)에 대해 구현하고, 내용 중 5가지의 다른 시간대에 대한 trend 값을 이용하여 테이블을 만드는 것이 있는데, 차트에 다른 분봉, 일봉 종목을 추가로 넣어서 구현하도록 하려고 합니다. 즉, 현재는 trend 값을 구하는 것만 있는데, Data2를 이용하여 trend2 값을 구하는 방법을 알려주시면 됩니다. 나머지 분봉에 대한 부분이나 테이블로 구현하는 부분은 따로 만들겠습니다. 감사합니다. 시간대: Data1=5분봉, Data2=15분봉 (Data1과 Data2만 사용하여 trend, trend2까지만 구함) (트레이딩뷰 지표) //@version=5 indicator("Zero Lag Trend Signals (MTF) [AlgoAlpha]", shorttitle="AlgoAlpha - 0??Zero Lag Signals", overlay=true) length = input.int(70, "Length", tooltip = "The Look-Back window for the Zero-Lag EMA calculations", group = "Main Calculations") mult = input.float(1.2, "Band Multiplier", tooltip = "This value controls the thickness of the bands, a larger value makes the indicato less noisy", group = "Main Calculations") t1 = input.timeframe("5", "Time frame 1", group = "Extra Timeframes") t2 = input.timeframe("15", "Time frame 2", group = "Extra Timeframes") t3 = input.timeframe("60", "Time frame 3", group = "Extra Timeframes") t4 = input.timeframe("240", "Time frame 4", group = "Extra Timeframes") t5 = input.timeframe("1D", "Time frame 5", group = "Extra Timeframes") green = input.color(#00ffbb, "Bullish Color", group = "Appearance") red = input.color(#ff1100, "Bearish Color", group = "Appearance") src = close lag = math.floor((length - 1) / 2) zlema = ta.ema(src + (src - src[lag]), length) volatility = ta.highest(ta.atr(length), length*3) * mult var trend = 0 if ta.crossover(close, zlema+volatility) trend := 1 if ta.crossunder(close, zlema-volatility) trend := -1 zlemaColor = trend == 1 ? color.new(green, 70) : color.new(red, 70) m = plot(zlema, title="Zero Lag Basis", linewidth=2, color=zlemaColor) upper = plot(trend == -1 ? zlema+volatility : na, style = plot.style_linebr, color = color.new(red, 90), title = "Upper Deviation Band") lower = plot(trend == 1 ? zlema-volatility : na, style = plot.style_linebr, color = color.new(green, 90), title = "Lower Deviation Band") fill(m, upper, (open + close) / 2, zlema+volatility, color.new(red, 90), color.new(red, 70)) fill(m, lower, (open + close) / 2, zlema-volatility, color.new(green, 90), color.new(green, 70)) plotshape(ta.crossunder(trend, 0) ? zlema+volatility : na, "Bearish Trend", shape.labeldown, location.absolute, red, text = "▼", textcolor = chart.fg_color, size = size.small) plotshape(ta.crossover(trend, 0) ? zlema-volatility : na, "Bullish Trend", shape.labelup, location.absolute, green, text = "▲", textcolor = chart.fg_color, size = size.small) plotchar(ta.crossover(close, zlema) and trend == 1 and trend[1] == 1 ? zlema-volatility*1.5 : na, "Bullish Entry", "▲", location.absolute, green, size = size.tiny) plotchar(ta.crossunder(close, zlema) and trend == -1 and trend[1] == -1 ? zlema+volatility*1.5 : na, "Bearish Entry", "▼", location.absolute, red, size = size.tiny) s1 = request.security(syminfo.tickerid, t1, trend) s2 = request.security(syminfo.tickerid, t2, trend) s3 = request.security(syminfo.tickerid, t3, trend) s4 = request.security(syminfo.tickerid, t4, trend) s5 = request.security(syminfo.tickerid, t5, trend) s1a = s1 == 1 ? "Bullish" : "Bearish" s2a = s2 == 1 ? "Bullish" : "Bearish" s3a = s3 == 1 ? "Bullish" : "Bearish" s4a = s4 == 1 ? "Bullish" : "Bearish" s5a = s5 == 1 ? "Bullish" : "Bearish" if barstate.islast var data_table = table.new(position=position.top_right, columns=2, rows=6, bgcolor=chart.bg_color, border_width=1, border_color=chart.fg_color, frame_color=chart.fg_color, frame_width=1) table.cell(data_table, text_halign=text.align_center, column=0, row=0, text="Time Frame", text_color=chart.fg_color) table.cell(data_table, text_halign=text.align_center, column=1, row=0, text="Signal", text_color=chart.fg_color) table.cell(data_table, text_halign=text.align_center, column=0, row=1, text=t1, text_color=chart.fg_color) table.cell(data_table, text_halign=text.align_center, column=1, row=1, text=s1a, text_color=chart.fg_color, bgcolor=s1a == "Bullish" ? color.new(green, 70) : color.new(red, 70)) table.cell(data_table, text_halign=text.align_center, column=0, row=2, text=t2, text_color=chart.fg_color) table.cell(data_table, text_halign=text.align_center, column=1, row=2, text=s2a, text_color=chart.fg_color, bgcolor=s2a == "Bullish" ? color.new(green, 70) : color.new(red, 70)) table.cell(data_table, text_halign=text.align_center, column=0, row=3, text=t3, text_color=chart.fg_color) table.cell(data_table, text_halign=text.align_center, column=1, row=3, text=s3a, text_color=chart.fg_color, bgcolor=s3a == "Bullish" ? color.new(green, 70) : color.new(red, 70)) table.cell(data_table, text_halign=text.align_center, column=0, row=4, text=t4, text_color=chart.fg_color) table.cell(data_table, text_halign=text.align_center, column=1, row=4, text=s4a, text_color=chart.fg_color, bgcolor=s4a == "Bullish" ? color.new(green, 70) : color.new(red, 70)) table.cell(data_table, text_halign=text.align_center, column=0, row=5, text=t5, text_color=chart.fg_color) table.cell(data_table, text_halign=text.align_center, column=1, row=5, text=s5a, text_color=chart.fg_color, bgcolor=s5a == "Bullish" ? color.new(green, 70) : color.new(red, 70)) /////////////////////////////////////////ALERTS FOR SMALL ARROWS (ENTRY SIGNALS) alertcondition(ta.crossover(close, zlema) and trend == 1 and trend[1] == 1, "Bullish Entry Signal", message="Bullish Entry Signal detected. Consider entering a long position.") alertcondition(ta.crossunder(close, zlema) and trend == -1 and trend[1] == -1, "Bearish Entry Signal", message="Bearish Entry Signal detected. Consider entering a short position.") /////////////////////////////////////////ALERTS FOR TREND CONDITIONS alertcondition(ta.crossover(trend, 0), "Bullish Trend") alertcondition(ta.crossunder(trend, 0), "Bearish Trend") alertcondition(ta.cross(trend, 0), "(Bullish or Bearish) Trend") alertcondition(ta.crossover(s1, 0), "Bullish Trend Time Frame 1") alertcondition(ta.crossunder(s1, 0), "Bearish Trend Time Frame 1") alertcondition(ta.cross(s1, 0), "(Bullish or Bearish) Trend Time Frame 1") alertcondition(ta.crossover(s2, 0), "Bullish Trend Time Frame 2") alertcondition(ta.crossunder(s2, 0), "Bearish Trend Time Frame 2") alertcondition(ta.cross(s2, 0), "(Bullish or Bearish) Trend Time Frame 2") alertcondition(ta.crossover(s3, 0), "Bullish Trend Time Frame 3") alertcondition(ta.crossunder(s3, 0), "Bearish Trend Time Frame 3") alertcondition(ta.cross(s3, 0), "(Bullish or Bearish) Trend Time Frame 3") alertcondition(ta.crossover(s4, 0), "Bullish Trend Time Frame 4") alertcondition(ta.crossunder(s4, 0), "Bearish Trend Time Frame 4") alertcondition(ta.cross(s4, 0), "(Bullish or Bearish) Trend Time Frame 4") alertcondition(ta.crossover(s5, 0), "Bullish Trend Time Frame 5") alertcondition(ta.crossunder(s5, 0), "Bearish Trend Time Frame 5") alertcondition(ta.cross(s5, 0), "(Bullish or Bearish) Trend Time Frame 5") alertcondition(ta.crossover(close, zlema) and trend == 1 and trend[1] == 1, "Bullish Entry") alertcondition(ta.crossunder(close, zlema) and trend == -1 and trend[1] == -1, "Bearish Entry")
프로필 이미지
씸풀
2025-09-11
303
글번호 193905
지표