커뮤니티

예스랭귀지 Q&A

글쓰기

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

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

키움신호를 종목검색식으로

A = BBandsUP(20,2); B = (highest(h, 9) + lowest(l, 9))/2; D = (highest(h, 26) + lowest(l, 26))/2; B*1.02 >= A and B*0.98 <= A and D*1.02 >= A and D*0.98 <= A 감사합니다 그리고 (선행스팬1) 20일 신고가종목 검색식도 부탁드려요
프로필 이미지
박셰프
2024-07-24
748
글번호 181823
종목검색

살빼고싶다 님에 의해서 삭제되었습니다.

프로필 이미지
살빼고싶다
2024-07-24
30
글번호 181822
검색
답변완료

문의드립니다.

안녕하세요? 종가가 주봉120 이평선과 일봉 240 이평선과의 비교로 종가>주봉120 이평선 && 종가>일봉240 어떻게 표현하는지 예스의 종목검색식 문의드립니다.
프로필 이미지
건시하
2024-07-23
553
글번호 181821
검색
답변완료

예스랭귀지로 변환부탁드립니다

아래는 전월고가돌파, 전월종가돌파, 당월시가돌파 의 키움수식입니다. 3종의 예스랭귀지로 변환 부탁드립니다. [전월고가돌파] A1 = floor(date / 100); A2 = A1 % 100; A3 = HighestSince(1,A2 !=A2(1) && A2 != 12, H); A4 = Valuewhen(1, A2 != A2(1), A3(1)) Crossup(c,A4) [전월종가돌파] A1 = floor(date / 100); A2 = A1 % 100; A3 = HighestSince(1,A2 !=A2(1) && A2 != 12, C); A4 = Valuewhen(1, A2 != A2(1), A3(1)) Crossup(c,A4) [당월시가돌파] A = floor(date / 100); A2 = A% 100; A3 = ValueWhen(1, A2!=A2(1), O) Crossup(c,A3) 또한, 수식으로 전월평균고가를 어떻게 표현하면되나요?
프로필 이미지
건시하
2024-07-23
771
글번호 181820
종목검색

관리자에 의해 예스스팟 QnA로 이동되었습니다

프로필 이미지
1000djr
2024-07-25
22
글번호 181819
시스템
답변완료

문의 드립니다.

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // &#169; FX365_Thailand //Revision history //v100.0 First release //v101.0 Added alert conditions for swing high/low creation //v107.0 Added alert conditions for liquidity raid //v110.0 20240119 // Added an option to display liquidity pools //@version=5 indicator('Liquidity Pools', shorttitle='Liquidity Pools(SABAI SABAI FX)', max_lines_count=500,overlay=true) //Users' input ------ len_l = input.int(4, 'Left bar&Right bar', minval=1,group="Swing High Low Setting") flg_shsl = input.bool(true, 'Show Swing High Swing Low') flg_lq = input.bool(true, 'Show Liquidity Pools',group="Liquidity Pools Settings") i_width = input.int(1, 'Line Width', minval=1,maxval=6) i_linestyle = input.string(defval=line.style_dotted,options=[line.style_solid,line.style_dashed,line.style_dotted],title="Line Style") i_linecolor_bs = input.color(color.new(#ff5252,65),title="Buy Side Liquidity Color") i_linecolor_ss = input.color(color.new(#0ef30e,65),title="Sell Side Liquidity Color") h = high l = low //Identify swingh high/low ----- swing_h = barstate.isconfirmed ? ta.pivothigh(h, len_l, len_l) : na swing_l = barstate.isconfirmed ? ta.pivotlow(l, len_l, len_l) : na //Value of Swing High/Swing Low LSH = ta.valuewhen(swing_h, high[len_l], 0) LSL = ta.valuewhen(swing_l, low[len_l], 0) plotshape(flg_shsl ? swing_h : na, color=color.new(color.gray, 0), style=shape.labeldown, title='Swing High', text='SH', textcolor=color.new(color.white, 0), location=location.abovebar, offset=-len_l,size=size.tiny) plotshape(flg_shsl ? swing_l : na, color=color.new(color.gray, 0), style=shape.labelup, title='Swing Low', text='SL', textcolor=color.new(color.white, 0), location=location.belowbar, offset=-len_l,size=size.tiny) //Draw liquidity pools //Variables var line lin_BSLQ_upper = na var line lin_BSLQ_lower = na var line lin_SSLQ_upper = na var line lin_SSLQ_lower = na //Threshold thresh = timeframe.isseconds ? 1.0001 : (timeframe.period == "60" and timeframe.period=="240") ? 3 : (timeframe.isminutes and timeframe.period != "60" and timeframe.period != "240") ? 1.0001 : timeframe.isdaily ? 1.005 : timeframe.isweekly ? 1.01 : timeframe.ismonthly ? 1.01 : 1.001 thresh_ = timeframe.isseconds ? 0.9999 : (timeframe.period == "60" and timeframe.period=="240") ? 3 : (timeframe.isminutes and timeframe.period != "60" and timeframe.period != "240") ? 0.9999 : timeframe.isdaily ? 0.995 : timeframe.isweekly ? 0.99 : timeframe.ismonthly ? 0.99 : 0.999 //Lines if swing_h lin_BSLQ_lower := flg_lq ? line.new(x1=bar_index-len_l,x2=bar_index, y1=LSH,y2=LSH,color=i_linecolor_bs,style= i_linestyle,width = i_width) : na if swing_h lin_BSLQ_upper := flg_lq ? line.new(x1=bar_index-len_l,x2=bar_index, y1=LSH*thresh,y2=LSH*thresh,color=i_linecolor_bs,style= i_linestyle,width = i_width) : na if swing_l lin_SSLQ_lower := flg_lq ? line.new(x1=bar_index-len_l,x2=bar_index, y1=LSL*thresh_,y2=LSL*thresh_,color=i_linecolor_ss,style=i_linestyle,width = i_width) : na if swing_l lin_SSLQ_upper := flg_lq ? line.new(x1=bar_index-len_l,x2=bar_index, y1=LSL,y2=LSL,color=i_linecolor_ss,style= i_linestyle,width = i_width) : na //Fill linefill.new(lin_BSLQ_upper,lin_BSLQ_lower,color=i_linecolor_bs) linefill.new(lin_SSLQ_upper,lin_SSLQ_lower,color=i_linecolor_ss) //Alert conditions //Swing high low creation alertcondition(swing_h,message="Swing High Created", title="Swing High") alertcondition(swing_l,message="Swing Low Created", title="Swing Low") //Reach liquidity zone alertcondition(ta.crossover(high,LSH),message="Price reached buy side liquidity", title="Buy Side Liquidity Raid") alertcondition(ta.crossunder(low,LSL),message="Price reached sell side liquidity", title="Sell Side Liquidity Raid") 트레이딩뷰 지표인데 예스로 좀 바꿔주세요.
프로필 이미지
신대륙발견
2024-07-23
1012
글번호 181818
지표
답변완료

문의드립니다.

120봉신고가를 종가를 처음으로 돌파한 120봉신고가값을 "돌파전고가"로 정하여 이후 종가가 돌파전고가에 근접했을 때 종목검색으로 찾고 싶은데 아래와 같은 식으로 작성하면 문제가 있습니다. 신고가 돌파한후 계속 상승하면 신고가가 계속 갱신되니까 돌파전고가선도 따라서 계속 상승해 버립니다. 따라서 처음으로 120봉신고가 돌파한 그 값을 돌파전고가로 고정하여 그 값에 근접했을 때 종목검색이 되게 하려면 어떻게 해야 할지 도움을 부탁드립니다. 주석도 같이 해 주시면 감사하겠습니다. if C>Highest(H,120)[1] Then { 돌파전고가 = Highest(H,120)[1]; 인덱스1 = Index; Condition1 = true; 상단선= 돌파전고가*1.50; 하단선= 돌파전고가*0.99; } Else { if (하단선> 0 and C< 하단선) OR (상단선>0 && C>상단선) Then Condition1 = False; 경과봉수=Index-인덱스1; if Condition1 == true && C<=돌파전고가*1.05 && C>=돌파전고가 Then Find(경과봉수); }
프로필 이미지
이심전심
2024-07-23
772
글번호 181817
종목검색
답변완료

문의드립니다.

늘 감사합니다. 현물 입니다. 최근 10봉이네 종가가 10% 이상인봉의 시가, 봉의 1/2 가격을 저장후 중심가(1/2가격)에 1차 매수, 시가에 2차매수
프로필 이미지
하늘북
2024-07-23
720
글번호 181816
시스템
답변완료

진입신호 수식 부탁드립니다

이격도 50을 상향돌파 할 때 매수 진입하는 수식 이격도 150을 하향붕괴 할 때 매도 진입하는 수식
프로필 이미지
부득탐승
2024-07-23
744
글번호 181815
시스템