커뮤니티
예스랭귀지 Q&A
[공지] 예스랭귀지 AI 어시스턴트, '예스나 AI' 출시 및 무료 체험 안내
안녕하세요, 예스스탁 입니다.복잡한 수식 공부 없이 여러분의 아이디어를 말하면 시스템 트레이딩 언어 예스랭귀지로 작성해주는 서비스예스나 AI(YesNa AI)가 출시되었습니다.지금 예스나 AI를 직접 경험해 보실 수 있도록 20크레딧(질문권 20회)를 무료로 증정해 드리고 있습니다.바로 여러분의 아이디어를 코드로 변환해보세요.--------------------------------------------------🚀 YesNa AI 핵심 기능- 지표식/전략식/종목검색식 생성: 자연어로 요청하면 예스랭귀지 문법에 맞는 코드를 작성합니다.- 종목검색식 변환 지원: K증권의 종목 검색식을 예스랭귀지로 변환 지원합니다.- 컴파일 검증: 작성된 코드가 실행 가능한지 컴파일러를 통해 문법 검증을 거쳐 결과물을 제공합니다.상세한 서비스 개요 및 활용 방법은 [서비스 소개 페이지]에서 확인하실 수 있습니다.▶ 서비스 소개 페이지: 바로가기서비스 사용 유의사항 및 결제 환불정책은 [이용약관]을 참고 부탁드립니다.▶ 서비스 이용약관: 바로가기💬 이용 문의사용 중 문의사항은 [프로그램 사용법 Q&A] 게시판에서 [예스나 AI] 카테고리를 설정 후 문의해 주시면 상세히 안내해 드리겠습니다.--------------------------------------------------앞으로도 AI를 활용한 다양한 트레이딩 기능들을 지속적으로 선보일 예정입니다.많은 관심과 기대 부탁드립니다.
2026-02-27
1349
글번호 230811
답변완료
부탁드립니다^^
아래 수식은 전일 중심선으로 사용하고 있는데 차트에 표시하면 선이
연결되어 차트가 어지럽게 보입니다. 당일에만 가로선으로 표시되게
수정 부탁드립니다. 여기에 당일시가, 당일고가, 당일저가도 함께 수식작성
부탁드립니다. 색상지정도 가능하게 부탁드립니다^^
var1 = (DayOpen(1)+DayClose(1))/2;
Plot1(var1,"전일몸통중심");
2024-12-19
559
글번호 186412
답변완료
수고하십니다.
SX1=(highest(high,9)+lowest(low,9)+highest(high,26)+lowest(low,26))/4;
SX2=(highest(high,52)+lowest(low,52))/2;
SX3=(SX1+SX2)/2;
SS1=shift((highest(high,9)+lowest(low,9)+highest(high,26)+lowest(low,26))/4,25);
SS2=shift((highest(high,52)+lowest(low,52))/2,25);
SS3=(SS1+SS2)/2;
AA=MAX(SX3,SS3);
AA1=ADX(11);
A=(O+H+L+C)/4;
미리감사드립니다
2024-12-19
563
글번호 186411
답변완료
문의드립니다.
아래의 내용을 토대로 시스템트레이딩 수식을 만들 수 있을까요?
검색시간 : 9시 ~ 9시 30분
거래량 상위 200종목 중
매수포인트
- 오늘의 시가가 일봉상 TEMA5 or TEMA10 아래에서 시작
- 현재가가 일봉상 TEMA5 or TEMA10 상향돌파할 때 매수
매도포인트
손절
- 현재가가 일봉상 TEMA5 or TEMA10보다 5% 이하로 떨어질 때 반매도
- 현재가가 일봉상 TEMA5 or TEMA10보다 10% 이하로 떨어질 때 나머지 전체 매도
익절
- 현재가가 일봉상 TEMA5 or TEMA10 상향돌파 후 1% 이상 상승하면 반매도
- 현재가가 일봉상 TEMA5 or TEMA10 상향돌파 후 2% 이상 상승하면 나머지의 반매도
- 나머지는 오늘의 종가에 전체 매도
*키움의 TEMA식 이용
2024-12-19
523
글번호 186405
살빼고싶다 님에 의해서 삭제되었습니다.
2024-12-19
26
글번호 186404
답변완료
종목 검색 부탁드립니다.
문의드립니다.
1) 일목균형표의 기준선이 단순이평 10일선을 골든크로스 할때 종목검색식.
2) 일목균형표의 기준선이 단순이평 10일선을 닿고 다시 올라갈때 종목검색식.
(데드크로스 가 아님. 근접수치 0.5 ~ 0 )
3) 일목균형표의 기준선이 지수이평 120선을 골든크로스 할때 종목검색식 부탁드려요.
4) 일목균형표의 기준선이 지수이평 120선을 닿고 다시 올라갈때 종목검색식.
(데드크로스 가 아님. 근접수치 1 ~ 0)
2024-12-19
548
글번호 186402
일지매7 님에 의해서 삭제되었습니다.
2024-12-19
0
글번호 186400
답변완료
수고하십니다
항상 노고에 감사드리며
변환 부탁드립니다
indicator(title="Range Filter Buy and Sell 5min", shorttitle="Range Filter", overlay=true)
// Color variables
upColor = color.white
midColor = #90bff9
downColor = color.blue
// Source
src = input(defval=close, title="Source")
// Sampling Period
// Settings for 5min chart, BTCUSDC. For Other coin, change the paremeters
per = input.int(defval=100, minval=1, title="Sampling Period")
// Range Multiplier
mult = input.float(defval=3.0, minval=0.1, title="Range Multiplier")
// Smooth Average Range
smoothrng(x, t, m) =>
wper = t * 2 - 1
avrng = ta.ema(math.abs(x - x[1]), t)
smoothrng = ta.ema(avrng, wper) * m
smoothrng
smrng = smoothrng(src, per, mult)
// Range Filter
rngfilt(x, r) =>
rngfilt = x
rngfilt := x > nz(rngfilt[1]) ? x - r < nz(rngfilt[1]) ? nz(rngfilt[1]) : x - r :
x + r > nz(rngfilt[1]) ? nz(rngfilt[1]) : x + r
rngfilt
filt = rngfilt(src, smrng)
// Filter Direction
upward = 0.0
upward := filt > filt[1] ? nz(upward[1]) + 1 : filt < filt[1] ? 0 : nz(upward[1])
downward = 0.0
downward := filt < filt[1] ? nz(downward[1]) + 1 : filt > filt[1] ? 0 : nz(downward[1])
// Target Bands
hband = filt + smrng
lband = filt - smrng
// Colors
filtcolor = upward > 0 ? upColor : downward > 0 ? downColor : midColor
barcolor = src > filt and src > src[1] and upward > 0 ? upColor :
src > filt and src < src[1] and upward > 0 ? upColor :
src < filt and src < src[1] and downward > 0 ? downColor :
src < filt and src > src[1] and downward > 0 ? downColor : midColor
filtplot = plot(filt, color=filtcolor, linewidth=2, title="Range Filter")
// Target
hbandplot = plot(hband, color=color.new(upColor, 70), title="High Target")
lbandplot = plot(lband, color=color.new(downColor, 70), title="Low Target")
// Fills
fill(hbandplot, filtplot, color=color.new(upColor, 90), title="High Target Range")
fill(lbandplot, filtplot, color=color.new(downColor, 90), title="Low Target Range")
// Bar Color
barcolor(barcolor)
// Break Outs
longCond = bool(na)
shortCond = bool(na)
longCond := src > filt and src > src[1] and upward > 0 or
src > filt and src < src[1] and upward > 0
shortCond := src < filt and src < src[1] and downward > 0 or
src < filt and src > src[1] and downward > 0
CondIni = 0
CondIni := longCond ? 1 : shortCond ? -1 : CondIni[1]
longCondition = longCond and CondIni[1] == -1
shortCondition = shortCond and CondIni[1] == 1
//Alerts
plotshape(longCondition, title="Buy Signal", text="Buy", textcolor=color.white, style=shape.labelup, size=size.small, location=location.belowbar, color=color.new(#aaaaaa, 20))
plotshape(shortCondition, title="Sell Signal", text="Sell", textcolor=color.white, style=shape.labeldown, size=size.small, location=location.abovebar, color=color.new(downColor, 20))
alertcondition(longCondition, title="Buy alert on Range Filter", message="Buy alert on Range Filter")
alertcondition(shortCondition, title="Sell alert on Range Filter", message="Sell alert on Range Filter")
alertcondition(longCondition or shortCondition, title="Buy and Sell alert on Range Filter", message="Buy and Sell alert on Range Filter")
2024-12-19
615
글번호 186399
꼬드롱 님에 의해서 삭제되었습니다.
2024-12-19
16
글번호 186398
sfa9 님에 의해서 삭제되었습니다.
2024-12-18
43
글번호 186397