커뮤니티

예스랭귀지 Q&A

글쓰기
답변완료

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

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

시스템문의

가격(종가)이 이동평균20일선 밑으로 갈때 매도 반대일경우 매수 부탁드립니다.^^
프로필 이미지
회원
2007-02-23
1045
글번호 12004
시스템
답변완료

질문입니다

수고하십니다 질문하나 드립니다 분봉에서 어제오후(어제12시이후) 의최저가와 최고가를 불러와 선차트를 그리려고 합니다 어제 오후의 최고최저가를 어떻게 불러오는 지요 부탁드립니다
프로필 이미지
dagum
2007-02-23
980
글번호 12003
지표
답변완료

질문입니다.

1.N일전 X봉에서 Y봉까지의 타종목1의 최고가와 최저가를 나타내는 사용자 합수 부탁드립니다. 2.진입일을 기준으로 진입일의 타종목1의 고가와 저가 진입일 직전일의 타종목1의 고가와 저가를 나타내는 식부탁드립니다.
프로필 이미지
회원
2007-02-23
985
글번호 12002
시스템
답변완료

수식문의드립니다.

전일 종가 기준으로 첫째 금일 시가가 전일종가 아래이면 매도, 다시 전일종가 위로 가면 청산, 매수 둘째 금일 시가가 전일종가 위이면 매수, 다시 전일종가 아래로 가면 청산, 매도 매매횟수를 2회로 제한하구요, 당일청산하는것으로 부탁드립니다. 10분봉으로요... 수고하세요
프로필 이미지
fjulia
2007-02-22
985
글번호 11997
시스템
답변완료

매도식 문의.

안녕하세요.. 매도식 문의드립니다. 매수수식이 5개가 있을 경우에 5개 매수수식별로 매수청산식을 작성하는 방법이 있는지요?. "예" buy("H1",onclose,def,int(Account/C)) buy("H2",onclose,def,int(Account/C)) 매수식이 있을경우 각기 별도의 "H1"매수식에 대한 매수청산식 "H2"매수식에 대한 매수청산식 작성하는 방법. 감사합니다.
프로필 이미지
ksh003
2007-02-22
884
글번호 11996
시스템

부루수 님에 의해서 삭제되었습니다.

프로필 이미지
부루수
2007-02-22
125
글번호 11995
검색
답변완료

트레이드 스테이션에 있는 linearRegValue함수에 해당하는 YL가 있습니까?

안녕하세요. 트레이드 스테이션에 있는 linerRegValue함수가 YL에도 있나요? 지금 변환해서 쓸려고 하는데... 어렵네요..도와주세요... value = LinearRegValue( C , a, b); 는 어떻게 변환하면 될까요??? 다음은 트레이드스테이션 도움말입니다. The LinearRegValueFC function projects, based on the current regression line, the regression values for x number of bars out into the future or x number of bars back in the past. This function uses a fast calculation method that uses more memory than the traditional method. Function LinearRegValueFC(PRICE, LEN, TARGETB) Parameters PRICE specifies which price of the asset to use LEN indicates number of bars used in the calculation TARGETB represents the number of bars into the future or back into the past Returns A numeric value containing the current value of the specified regression line at TARGETB. Usage Linear Regression is a concept also know as the "least squares method" or "best fit." Linear Regression attempts to fit a straight line between several data points in such a way that the distance between each data point and the line is minimized. The equation of any line resembles the following: y = mx + b In the equation m refers to the slope of the regression line, b refers to the constant intercept of the y axis, x is the independent variable, and y is the dependent variable. This function returns the value y. The slope coefficient is the value returned by the function LinearRegSlope. When the function is used in a study or strategy it requires three parameters from the user: PRICE, LEN and TARGETB. The PRICE parameter tells the function which data points to use. For example, if you want the slope of Linear Regression line based on the Close, replace PRICE with Close. PRICE can also be replaced with a numeric series type input. You are not required to keep the parameter value equal to a bar attribute such as Close. For example, if you wanted to calculate the linear regression of the Relative Strength Index, you can replaced the PRICE parameter with RSI(Close,14). The LEN parameter tells the function how many data points to consider in the regression. LEN can be hard coded with a number like 5 or be declared as a numeric simple input. The hard coded value or default value, if you choose to make LEN an input, can be any expression which uses simple mathematics like addition, subtraction, multiplication, or division. The value returned by the numeric simple type parameter cannot change on a bar by bar basis. TARGETB represents the number of bars into the future or back into the past. If TARGETB is replaced by a positive number, the value returned by the LinearRegValueFC function will be for a bar in the past. If TARGETB is replaced by a negative number, the value returned by the LinearRegValueFC function will be for a bar in the future. For example, if you use a TARGETB of zero(0), the regression value returned would be for the current bar. However, if you use a -6, the value returned by the function would be the projected regression value for six bars out into the future. TARGETB can also be replaced with a numeric simple input. {** ?1987, 1999 Omega Research, Inc. **}
프로필 이미지
회원
2007-02-22
2015
글번호 11994
지표
답변완료

수식 부탁드립니다~

음.. 거의 실시간 답변인 것 같네요.. ^^; 빠른 답변 감사드리구요.. 또 여쭤보고 싶은게 있어서요.. 타 종목 참조에서요.. 예를 들어 11:30 분에 타종목의 15분 봉챠트의 시가와 종가를 파악해서 양봉인지 음봉인지 확인하는 방법.. 답변 부탁드립니다~
프로필 이미지
회원
2007-02-22
1241
글번호 11991
시스템
답변완료

기준선의도를 다르게 이해하신것 같습니다.

일봉차트에 어제와 그저께의 종가평균으로 가로선을 긋고 싶다고 말씀드렸는데요.. 말씀하신 것처럼 아래와 같이 하면 기준선이 아니라 매번 바뀌게 됩니다.. var1 = (dayclose(1)+dayclose(2))/2; plot1(var1,"평균"); 매일봉마다 두 종가평균이 달라지므로 하나의 가로선으로 나오지 않습니다. 오늘이 22일이고.. 21일 종가가 1000원, 20일 종가가 1200원이라면 저는 차트상에(모든봉에 상관없이) 1100원으로 하나의 선이 그어지게 하고 싶습니다. 다른 봉들과는 상관없이 차트상에 가로직선(1100의 선) 하나로 나와야겠죠.. 아래와 같이 상수로 하면 가능한데 변수로 표현하면 안되니 부탁드렸습니다. PlotBaseLine1(1100, "평균");
프로필 이미지
Pocktan
2007-02-22
1047
글번호 11989
지표