커뮤니티
예스랭귀지 Q&A
답변완료
[공지] 예스랭귀지 AI 어시스턴트, '예스나 AI' 출시 및 무료 체험 안내
안녕하세요, 예스스탁 입니다.복잡한 수식 공부 없이 여러분의 아이디어를 말하면 시스템 트레이딩 언어 예스랭귀지로 작성해주는 서비스예스나 AI(YesNa AI)가 출시되었습니다.지금 예스나 AI를 직접 경험해 보실 수 있도록 20크레딧(질문권 20회)를 무료로 증정해 드리고 있습니다.바로 여러분의 아이디어를 코드로 변환해보세요.--------------------------------------------------🚀 YesNa AI 핵심 기능- 지표식/전략식/종목검색식 생성: 자연어로 요청하면 예스랭귀지 문법에 맞는 코드를 작성합니다.- 종목검색식 변환 지원: K증권의 종목 검색식을 예스랭귀지로 변환 지원합니다.- 컴파일 검증: 작성된 코드가 실행 가능한지 컴파일러를 통해 문법 검증을 거쳐 결과물을 제공합니다.상세한 서비스 개요 및 활용 방법은 [서비스 소개 페이지]에서 확인하실 수 있습니다.▶ 서비스 소개 페이지: 바로가기서비스 사용 유의사항 및 결제 환불정책은 [이용약관]을 참고 부탁드립니다.▶ 서비스 이용약관: 바로가기💬 이용 문의사용 중 문의사항은 [프로그램 사용법 Q&A] 게시판에서 [예스나 AI] 카테고리를 설정 후 문의해 주시면 상세히 안내해 드리겠습니다.--------------------------------------------------앞으로도 AI를 활용한 다양한 트레이딩 기능들을 지속적으로 선보일 예정입니다.많은 관심과 기대 부탁드립니다.
2026-02-27
4336
글번호 230811
pmcj 님에 의해서 삭제되었습니다.
2025-10-17
61
글번호 226973
답변완료
종목검색식
1) 최근 10일 이내에 '전일 종가 대비 N(%) 이상 상승' AND '거래량이 전일 대비 VolumeMultiple(배) 이상 증가'를 같은 날 동시에 만족한 날이 1회 이상 존재하고,2) 거래량이 3일 이상 연속 감소하여 '어제'가 최소 거래량 (V[3] > V[2] > V[1]),3) 오늘은 양봉(C > O) 이면서,4) 오늘 거래량이 어제 거래량을 돌파(V > V[1])이면 종목을 찾음.
2025-10-17
244
글번호 226972
답변완료
문의드립니다
Inputs: Period(240), Smooth(5), Thr(0.95), UseAutoScale(true), ScaleFix(10000);Vars: U(0), D(0), SU(0), SD(0), FlowRaw(0), Flow(0), Slope(0), Col(magenta), Scale(0);If C > C[1] Then begin U = V; D = 0;endElse If C < C[1] Then begin U = 0; D = V;endElse begin U = V * 0.95; D = V * 0.95;end;SU = SummationRec(U, Period);SD = SummationRec(D, Period);If (SU + SD) <> 0 Then FlowRaw = (SU - SD) / (SU + SD);Else FlowRaw = 0;Flow = TXAverage(Upvol/DownVol,5,20,60); Slope = Flow - Flow[1];If Slope > 0 Then Col = Magenta;buy();Else If Slope < 0 Then Col = Cyan;sell();조건이 갖춰졌을때 처음에만 신호가나올수있게 해주세요
2025-10-17
234
글번호 226971
답변완료
문의 드립니다.
//@version=6// Copyright (c) 2019-present, Alex Orekhov (everget)// Chandelier Exit script may be freely distributed under the terms of the GPL-3.0 license.indicator('Chandelier Exit', shorttitle = 'CE', overlay = true)const string calcGroup = 'Calculation'length = input.int(22, title = 'ATR Period', group = calcGroup)mult = input.float(3.0, step = 0.1, title = 'ATR Multiplier', group = calcGroup)useClose = input.bool(true, title = 'Use Close Price for Extremums', group = calcGroup)const string visualGroup = 'Visuals'showLabels = input.bool(true, title = 'Show Buy/Sell Labels', group = visualGroup)highlightState = input.bool(true, title = 'Highlight State', group = visualGroup)const string alertGroup = 'Alerts'awaitBarConfirmation = input.bool(true, title = 'Await Bar Confirmation', group = alertGroup)//---atr = mult * ta.atr(length)longStop = (useClose ? ta.highest(close, length) : ta.highest(length)) - atrlongStopPrev = nz(longStop[1], longStop)longStop := close[1] > longStopPrev ? math.max(longStop, longStopPrev) : longStopshortStop = (useClose ? ta.lowest(close, length) : ta.lowest(length)) + atrshortStopPrev = nz(shortStop[1], shortStop)shortStop := close[1] < shortStopPrev ? math.min(shortStop, shortStopPrev) : shortStopvar int dir = 1dir := close > shortStopPrev ? 1 : close < longStopPrev ? -1 : dirconst color textColor = color.whiteconst color longColor = color.greenconst color shortColor = color.redconst color longFillColor = color.new(color.green, 85)const color shortFillColor = color.new(color.red, 85)buySignal = dir == 1 and dir[1] == -1longStopPlot = plot(dir == 1 ? longStop : na, title = 'Long Stop', style = plot.style_linebr, linewidth = 2, color = longColor)plotshape(buySignal ? longStop : na, title = 'Long Stop Start', location = location.absolute, style = shape.circle, size = size.tiny, color = longColor)plotshape(buySignal and showLabels ? longStop : na, title = 'Buy Label', text = 'Buy', location = location.absolute, style = shape.labelup, size = size.tiny, color = longColor, textcolor = textColor)sellSignal = dir == -1 and dir[1] == 1shortStopPlot = plot(dir == 1 ? na : shortStop, title = 'Short Stop', style = plot.style_linebr, linewidth = 2, color = shortColor)plotshape(sellSignal ? shortStop : na, title = 'Short Stop Start', location = location.absolute, style = shape.circle, size = size.tiny, color = shortColor)plotshape(sellSignal and showLabels ? shortStop : na, title = 'Sell Label', text = 'Sell', location = location.absolute, style = shape.labeldown, size = size.tiny, color = shortColor, textcolor = textColor)midPricePlot = plot(ohlc4, title = '', display = display.none, editable = false)fill(midPricePlot, longStopPlot, title = 'Long State Filling', color = (highlightState and dir == 1 ? longFillColor : na))fill(midPricePlot, shortStopPlot, title = 'Short State Filling', color = (highlightState and dir == -1 ? shortFillColor : na))await = awaitBarConfirmation ? barstate.isconfirmed : truealertcondition(dir != dir[1] and await, title = 'CE Direction Change', message = 'Chandelier Exit has changed direction, {{exchange}}:{{ticker}}')alertcondition(buySignal and await, title = 'CE Buy', message = 'Chandelier Exit Buy, {{exchange}}:{{ticker}}')alertcondition(sellSignal and await, title = 'CE Sell', message = 'Chandelier Exit Sell, {{exchange}}:{{ticker}}')트레이딩뷰 수식인데 예스트레이더 매수/매도 시스템신호로 만들어주세요.
2025-10-17
622
글번호 226969
답변완료
종목검색식 부탁드립니다
1. 일목균형표 에서, 캔들의 종가가 구름을 돌파할때 종목검색식 부탁드립니다.2. 일목균형표 에서, 캔들의 종가가 구름을 돌파할때 0봉전~10봉전까지의 모든종목 검색식 부탁드려요.
2025-10-17
226
글번호 226968
답변완료
수식 부탁드립니다
부탁드립니다.if CrossUp(source, upper_band) Then Buy("Buy");if CrossDown(source, lower_band) Then Sell("Sell");Buy 진입 후 진입봉 제외 2연속 음봉이면 청산, 2연속 양봉이면 재진입.Sell 진입 후 진입봉 제외 2연속 양봉이면 청산 , 2연속 음봉이면 재진입.
2025-10-17
229
글번호 226967
답변완료
수식 부탁 드림니다
안녕하십니까?수식 부탁 드립니다1.변동폭라인-(상단선)종가고점=최고값(종가, 기간); 시가고점=최고값(시가, 기간);상단선=최대값(종가고점, 시가고점)---------------------------------------2.변동폭라인-(하단선)종가저점=최저값(종가, 기간);시가저점=최저값(시가, 기간);하단선=최소값(종가저점, 시가저점)---------------------------------------3.price_상단highest(H, period, R); --------------------------------------4.price하단lowest(L, period, R);----------------------------------------기간 = 5period = 5R = 1항상 감사 합니다
2025-10-17
217
글번호 226966
답변완료
setstoploss 관련 질문 드립니다.
항상 많은 도움 감사드립니다.setstoploss 설정에 대해서 궁금한 점이 있어서 문의 드립니다.한 시스템 안에buy "A";buy "B";buy "C":라는 세가지 진입 수식이 있고 이에 따라서exitlong "A";exitlong "B";exitlong "C"; 세가지 청산식 있는 경우에 "A" 청산식에setstoploss(10,pointStop);exitlong "A";exitlong "B";exitlong "C"; 이런식으로 하나의 청산식에 setstoploss 설정을 하면 "B","C" 청산식까지 10포인트 손실이 나면 stoploss로 청산이 됩니다."A","B","C"청산에서 setstoploss값을 따로 설정하거나 "A"만 stoploss를 적용하고 "B","C"는 설정하지 않는 방법이 없을까요?조건 만족시 바로 청산 되는게 setstoploss밖에 없어서 빠른 손절을 위해 setstoploss를 사용할 수 밖에 없는데 setstoploss 값을 "A" =10,"B"=20,"C"=15 이런식으로 작성할 수는 없는지 아니면 다른 명령어를 쓰면 같은 효과를 낼 수 있는 방법이 있는지 문의드립니다.
2025-10-17
228
글번호 226965
답변완료
검색식 부탁드립니다
var: m40 (0) ,m20(0), m5(0),a(0),b(0),cnt(-1);m40 = WMa(c,40);m20 = wma(c,20);m5 = wma(c,5);if (((min(o[1],c[1]) < m5[1]) && (max(o,c) > m20) && m5<m20) or (o<m5 && c>m20) &&c[1] < c) && ((m5[1]<m20[1]) or (m20>o && m5<c && m20<m5)) && o<c Thena=h;//------------------------------------------------------------------------------------------- 1if CrossUp(c,a) && (m20[1] < m20 && m40[1] <m40) Then //-------------------------- 2 Find(c>1000 && v>100000 ); 1번 이후에 첫번째와 두번째 2번 검색식 부탁드립니다.항상 감사합니다.
2025-10-16
195
글번호 226964