커뮤니티

예스랭귀지 Q&A

글쓰기

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

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

문의드립니다.

안녕하세요. 운영자님 아래 지표는 예전에 요청드려 받은 결과인데 추가적으로 요청드릴 사항이 있어 부탁드립니다. 우선 캔들 하나하나에 대한 Cumulative Volume Delta (CVD) 을 체크하기 위해 지표를 캔들형태로 만들고 % 값을 캔들에 나타나도록 가능한지 문의드립니다. 글로는 제가 요청드릴 사항이 이해되지 않으실 수 있어서 관련 동영상 링크롤 보시면서 가능하신지 봐 주셨으면 합니다. https://www.youtube.com/watch?v=BHYta_mQFuk&t=2209s ======================================================================================= 안녕하세요 예스스탁입니다. input: cumulation_length(14); var : upper_wick(0),lower_wick(0),spread(0),body_length(0); var : percent_upper_wick(0),percent_lower_wick(0),percent_body_length(0); var : buying_volume(0),selling_volume(0); var : cumulative_buying_volume(0),cumulative_selling_volume(0); var : volume_strength_wave(0),ema_volume_strength_wave(0),cumulative_volume_delta(0); upper_wick = iff(close>open , high-close , high-open); lower_wick = iff(close>open , open-low , close-low); spread = high-low; body_length = spread - (upper_wick + lower_wick); percent_upper_wick = upper_wick/spread; percent_lower_wick = lower_wick/spread; percent_body_length = body_length/spread; buying_volume = iff(close>open , (percent_body_length + (percent_upper_wick + percent_lower_wick)/2)*volume , ((percent_upper_wick + percent_lower_wick)/2) * volume); selling_volume = iff(close<open , (percent_body_length + (percent_upper_wick + percent_lower_wick)/2)*volume , ((percent_upper_wick + percent_lower_wick)/2) * volume); cumulative_buying_volume = ema(buying_volume,cumulation_length); cumulative_selling_volume = ema(selling_volume,cumulation_length); volume_strength_wave = iff(cumulative_buying_volume > cumulative_selling_volume , cumulative_buying_volume , cumulative_selling_volume); ema_volume_strength_wave = ema(volume_strength_wave , cumulation_length); cumulative_volume_delta = cumulative_buying_volume - cumulative_selling_volume; plot1(cumulative_buying_volume,"cumulative_buying_volume",green); plot2(cumulative_selling_volume,"cumulative_selling_volume",red); plot3(ema_volume_strength_wave,"ema_volume_strength_wave",gray); plot4(cumulative_volume_delta,"cumulative_volume_delta",iff(cumulative_volume_delta>0 ,green , red)); 즐거운 하루되세요 > 고박사122 님이 쓴 글입니다. > 제목 : 문의드립니다. > 안녕하세요. 운영자님 이번에 문의드릴 사항은 Cumulative Volume Delta (CVD) 지표를 구현할 수 있는지 문의 드립니다. Cumulative Volume Delta (CVD) = 시장가 매수 - 시장가 매도 수고하세요.
프로필 이미지
고박사122
2025-08-14
493
글번호 193270
지표
답변완료

지표수식 부탁드립니다

수고 하십니다 IM증권 모바일 트레이더 챠트에는 CMF라는 지표가 있는데 예스트레이더에는 없네요 CMF지표 수식좀 올려 주시면 고맙겠습니다. 참고자료..... 이수식을 예스랭귀지로 바꿔주세요 CMF = n일간(CLV X 거래량)의 합계 ----------------------------- n일간의 거래량의 합계 CLV = (종가-저가)0(고가-종가) -------------------------- 고가-저가
프로필 이미지
635
2025-08-14
267
글번호 193269
지표
답변완료

예스랭귀지로 변환 부탁드려요

A=valuewhen(1,highest(high(1),기간)<high,high(변수-1)); Crossup(C,A) 기간 60 변수 9 변환 부탁드립니다. 즐거운 하루 보내세요~
프로필 이미지
스톰82
2025-08-14
230
글번호 193267
종목검색
답변완료

문의드립니다.

안녕하세요 항상 친절한 답변 감사드립니다. 아래의 서식에 추가 조건을 부탁드립니다. 1. 추가조건 가. MACD가 MACD signal선보다 위에 있을때(상향돌파하여 유지중) 매수만 진입 나. MACD가 MACD signal선보 아래에 있을때(하향이탈하여 유지중) 매도만 진입 MACD 값을 변경할 수 있게 INPUT으로 넣어주세요 # KOSPI 선물 10분봉 input: tt(150000),당일진입횟수(3); Input: chkP(3), reChkP(20), stopChk(25); var: HH(0), LL(0), BS(0), SS(0); var: dayChk(0); var : TotalCount(0),PreDay(0),DayEntry(0); TotalCount = TotalTrades; if Bdate != Bdate[1] Then PreDay = TotalCount[1]; DayEntry = (TotalCount-PreDay)+IFF(MarketPosition != 0,1,0); if BarIndex == 0 then ClearDebug(); if dayindex == chkP then { HH = Highest(Max(C,O), chkP+1); LL = Lowest(Min(C,O), chkP+1); #if date == 20240612 then messageLog("--HH %.2f, LL: %.2f", HH, LL); } #if High >= HH and MarketPosition == 0 and ExitDate(1) < Date and time > 93000 then messageLog("HH %.2f, High: %.2f", HH, High); if DayIndex >= chkP # and Time < 95000 and sDate == NextBarSdate and EntryDate(0) < Date and EntryDate(1) < Date and DayEntry < 당일진입횟수 Then { Buy("B1", AtStop, HH); Sell("S1", AtStop, LL); } //if dayChk == 0 and High >= HH and MarketPosition == 0 and ExitDate(1) < Date and time > 93000 then { // messageLog("HH %.2f, High: %.2f", HH, High); // dayChk = 1; //} if ExitDate(1) == Date and Time < 150000 // and LatestEntryName(1) != "B2" // and LatestEntryName(1) != "S2" // and LatestEntryName(0) != "B2" // and LatestEntryName(0) != "S2" Then { if DayIndex < reChkP Then { HH = Highest(Max(C,O), DayIndex+1); LL = Lowest(Min(C,O), DayIndex+1); } Else { HH = Highest(Max(C,O), reChkP); LL = Lowest(Min(C,O), reChkP); } if DayEntry < 당일진입횟수 Then { Buy("B2", AtStop, HH); Sell("S2", AtStop, LL); } } if (MarketPosition == 1) Then { if DayIndex < stopChk Then { BS = Lowest(Min(C,O), DayIndex+1); } Else { BS = Lowest(Min(C,O), stopChk); } ExitLong("EL", AtStop, BS); } if (MarketPosition == -1) Then { if DayIndex < stopChk Then { SS = Highest(Max(C,O), DayIndex+1); } Else { SS = Highest(Max(C,O), stopChk); } #messageLog(" SS %.2f", SS); ExitShort("ES", AtStop, SS); } var : month(0),nday(0),week(0),X(False); month = int(date/100)-int(date/10000)*100; nday = date - int(date/100)*100; Week = DayOfWeek(date); #만기일 if (month%3 == 0 and nday >= 8 and nday <= 14 and week == 4) then { X = true; SetStopEndofday(151500); } Else#만기일아닐때 { X = False; SetStopEndofday(152000); }
프로필 이미지
가자아이
2025-08-14
322
글번호 193263
지표
답변완료

종목검색 부탁드립니다.

안녕하세요? 다음의 수식을 검색식으로 부탁드립니다. 감사합니다.. aa=지수평균((highest(종가,20)+highest(종가,40))/2,40)+ if(종가<시가,1-((종가-시가)/highest((종가- 시가),40)),1)*0.5*stdev((저가+고가+종가)/3,40); Crossup(C ,aa) and V > V(1) *2 and Valuewhen(1,CrossUP(C,BbandsUP(30,1.8)),C) and bb=(H(1)+L(1)+C(1))/3+H(1)-L(1); Crossup(C ,bb*1.02) and CrossUp(Trix(6),eavg(Trix(6),9))
프로필 이미지
오말리
2025-08-14
263
글번호 193260
종목검색

와우리 님에 의해서 삭제되었습니다.

프로필 이미지
와우리
2025-08-14
1
글번호 193255
지표
답변완료

추가식

Inputs : Period(20), Sence(1.5), CC_DN(Yellow); Vars: VLineUp(0), VLineDn(0), HHighest(0), LLowest(0), JustChanged(FALSE), VLine(0), DBN(0); Array: Highs[35](0), Lows[35](0), RRange[35](0), UpWave[1](FALSE), DnWave[1](FALSE); var : t(0); If STime == 180000 Then DBN = 0; DBN = DBN + 1; Var1 = Period; Var2 = Var1 - 1; Var3 = Var1 - 2; Var5 = Sence; Var6 = H-L; JustChanged = FALSE; if CurrentBar <= Var2 then begin Highs[CurrentBar] = Close; Lows[CurrentBar] = Close; RRange[CurrentBar] = (H-L) /2; end; if CurrentBar == Var1 then begin if Highs[Var2] >= Highs[Var3] then begin UpWave[1] = TRUE; HHighest = Highs[Var2]; VLineUp = HHighest - (Var5 * MA(Var6,Var2)); #Plot1(VLineUp,"VLineUp"); end; if Highs[Var2] < Highs[Var3] then begin DnWave[1] = TRUE; LLowest = Lows[Var2]; VLineDn = LLowest + (Var5 * MA(Var6,Var2)); #Plot2(VLineDn,"VLineDn"); end; end; if CurrentBar > Var1 then begin if DnWave[1] and Close > VLineDn then begin DnWave[1] = FALSE; UpWave[1] = TRUE; JustChanged = TRUE; HHighest = Close; LLowest = 0; end; if UpWave[1] and Close < VLineUp and JustChanged == FALSE then begin UpWave[1] = FALSE; DnWave[1] = TRUE; JustChanged = TRUE; LLowest = Close; HHighest = 0; end; if JustChanged == FALSE then begin if Close > HHighest then HHighest = Close; else if Close < LLowest then LLowest = Close; end; VLineUp = HHighest - (Var5 * MA(Var6,Var2)); VLineDn = LLowest + (Var5 * MA(Var6,Var2)); if UpWave[1] then t = 1; else if DnWave[1] then t = -1; end; if t == 1 and t != t[1] and c > ma(c,170) Then Buy(); if t == -1 and t != t[1] and c < ma(c,170) Then Sell(); 안녕하세요 위식에서 참조 추가식 부탁드립니다 date 2 참조 데이텅 2 일치할때 5분봉이 양선일때 매수 5분봉이 음선일때 매도
프로필 이미지
아트정
2025-08-14
235
글번호 193253
시스템

휴식하나 님에 의해서 삭제되었습니다.

프로필 이미지
휴식하나
2025-08-14
0
글번호 193252
종목검색
답변완료

수식수정바랍니다

안녕하세요 아래수식을 중심값으로 볼린져 형태로 만들수 있나요? Avgv = (data1(c)+data2(c))/2; 수고하세요
프로필 이미지
바닥차기
2025-08-14
232
글번호 193251
지표