커뮤니티

예스랭귀지 Q&A

글쓰기
답변완료

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

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

수식변환요청

수고하십니다. 아래 수식을 예스로 변환부탁드립니다. =============================== study("[blackcat] L3 Banker Fund Flow Trend Oscillator", overlay=false) //functions xrf(values, length) => r_val = float(na) if length >= 1 for i = 0 to length by 1 if na(r_val) or not na(values[i]) r_val := values[i] r_val r_val xsa(src,len,wei) => sumf = 0.0 ma = 0.0 out = 0.0 sumf := nz(sumf[1]) - nz(src[len]) + src ma := na(src[len]) ? na : sumf/len out := na(out[1]) ? ma : (src*wei+out[1]*(len-wei))/len out //set up a simple model of banker fund flow trend fundtrend = ((3*xsa((close- lowest(low,27))/(highest(high,27)-lowest(low,27))*100,5,1)-2*xsa(xsa((close-lowest(low,27))/(highest(high,27)-lowest(low,27))*100,5,1),3,1)-50)*1.032+50) //define typical price for banker fund typ = (2*close+high+low+open)/5 //lowest low with mid term fib # 34 lol = lowest(low,34) //highest high with mid term fib # 34 hoh = highest(high,34) //define banker fund flow bull bear line bullbearline = ema((typ-lol)/(hoh-lol)*100,13) //define banker entry signal bankerentry = crossover(fundtrend,bullbearline) and bullbearline<25 //banker fund entry with yellow candle plotcandle(0,50,0,50,color=bankerentry ? color.new(color.yellow,0):na) //banker increase position with green candle plotcandle(fundtrend,bullbearline,fundtrend,bullbearline,color=fundtrend>bullbearline ? color.new(color.green,0):na) //banker decrease position with white candle plotcandle(fundtrend,bullbearline,fundtrend,bullbearline,color=fundtrend<(xrf(fundtrend*0.95,1)) ? color.new(color.white,0):na) //banker fund exit/quit with red candle plotcandle(fundtrend,bullbearline,fundtrend,bullbearline,color=fundtrend<bullbearline ? color.new(color.red,0):na) //banker fund Weak rebound with blue candle plotcandle(fundtrend,bullbearline,fundtrend,bullbearline,color=fundtrend<bullbearline and fundtrend>(xrf(fundtrend*0.95,1)) ? color.new(color.blue,0):na) //overbought and oversold threshold lines h1 = hline(80,color=color.red, linestyle=hline.style_dotted) h2 = hline(20, color=color.yellow, linestyle=hline.style_dotted) h3 = hline(10,color=color.lime, linestyle=hline.style_dotted) h4 = hline(90, color=color.fuchsia, linestyle=hline.style_dotted) fill(h2,h3,color=color.yellow,transp=70) fill(h1,h4,color=color.fuchsia,transp=70) alertcondition(bankerentry, title='Alert on Yellow Candle', message='Yellow Candle!') alertcondition(fundtrend>bullbearline, title='Alert on Green Candle', message='Green Candle!') alertcondition(fundtrend<(xrf(fundtrend*0.95,1)), title='Alert on White Candle', message='White Candle!') alertcondition(fundtrend<bullbearline, title='Alert on Red Candle', message='Red Candle!') alertcondition(fundtrend<bullbearline and fundtrend>(xrf(fundtrend*0.95,1)), title='Alert on Blue Candle', message='Blue Candle!')
프로필 이미지
부호장자
2024-09-07
749
글번호 183253
지표

2wnwn 님에 의해서 삭제되었습니다.

프로필 이미지
2wnwn
2024-09-07
38
글번호 183252
지표
답변완료

아래의 만들어주신 수식에 한가지 추가

아래의 만들어주신 수식에 한가지 추가 될 수식으로 거래대금이 일 500억이상 유입된 종목이 검색되도록 수정 부탁드림니다. 죄송합니다. 항상 노고에 감사드림니다. input : Period(20),ShortPeriod(5),LongPeriod(9),sigPeriod(9),배수(1); var : DP(0),DM(0),CC(0),MV(0),MS(0); DP = DiPlus(Period); DM = DiMinus(Period); CC = CCI(Period); MV = MACD(shortPeriod,LongPeriod); MS = ma(MV,sigPeriod); if Crossup(DP,DM) and crossup(CC,0) and Crossup(MV,MS) and v>v[1]*배수 Then Find(1);
프로필 이미지
존슨비치
2024-09-07
691
글번호 183251
종목검색
답변완료

골드크로스

부탁 좀 드립니다 5분봉에서 일목균형표에서 주가가 기준선 위에 있으면서 가격이동평균선(10)선이 TEMA(20)일선을 골드크로스 하는 좀목을 찾고 싶습니다
프로필 이미지
단주
2024-09-07
605
글번호 183250
종목검색
답변완료

검색식 부탁 드려요

1. 전환선과 기준선이 수렴될때 종목검색식 부탁드려요. 2. 후행스팬이 선행스팬1 을 돌파할때 (관통할때) 종목검색식. 3. OBV 가 시그널(9) 골든크로스 날때 종목검색식 부탁드립니다.
프로필 이미지
일지매7
2024-09-08
708
글번호 183249
종목검색
답변완료

예스종목검색 및 시스템 매매 적용입니다.

항상 고맙고 감사드립니다... 아래수식은 키움에서 작성한 신호수식입니다.. 1.예스트레이더 종목검색 2.예스트레이더 시스템 매매적용 위 2가지로 적용하고자 합니다.. 변환부탁드립니다.. A=((((highest(high,longPeriod)+lowest(low,longPeriod ))/2 +BBandsUp(Period,D1))/2 + ((highest(high,longPeriod)+lowest(low,longPeriod))/2 +BBandsDown(Period,D1))/2)/2); crossup(C,A) **지표조건 - longPeriod 52 - Period 14 - D1 5 - shortPeriod 9
프로필 이미지
서민순
2024-09-06
743
글번호 183248
검색
답변완료

문의

Data1 5분봉 Data2 30틱봉 D2가 청산식이면 D2청산식봉 완성 시간에 청산주문 나가나요? 주말 잘 보내세요.
프로필 이미지
목마와숙녀
2024-09-06
668
글번호 183247
시스템
답변완료

수고하십니다.

A=BBandsUp(20,2); A1=BBandsDown(20,2); A2=Eavg(C, 40); A3=MA(C,50); A4=Eavg(C, 15); B=((RSI(R기간)- lowest(RSI(R기간),S기간)) / (highest(RSI(R기간),S기간)-(lowest(RSI(R기간),S기간))))*100; (A2>=A3 OR A4>=A3) && (L<= A1*1.01 OR L(1)<= A1(1)*1.01) && (B<=20 OR B(1)<=20) && C>O R기간 13 S기간 10 미리 감사드립니다
프로필 이미지
나석
2024-09-06
683
글번호 183245
종목검색
답변완료

"중간고점" 수식작성법 문의합니다.

안녕하세요 항상 빠르고 성실한 답변 감사드립니다. 문의할 내용은 차트에 어떤봉의 고가("중간고가"라고 해야할지 모르겠습니다)를 나타내고 싶은데 수식작성법을 알고 싶습니다. 즉 해당봉을 기준으로 그보다 고점이 더 낮은 좌우 4개봉이상씩이 있는경우의 고점을 수식으로 표현하고 싶습니다. 관리자분의 건강을 기원합니다.
프로필 이미지
선도인
2024-09-06
669
글번호 183232
사용자 함수