커뮤니티
예스랭귀지 Q&A
[공지] 예스랭귀지 AI 어시스턴트, '예스나 AI' 출시 및 무료 체험 안내
안녕하세요, 예스스탁 입니다.복잡한 수식 공부 없이 여러분의 아이디어를 말하면 시스템 트레이딩 언어 예스랭귀지로 작성해주는 서비스예스나 AI(YesNa AI)가 출시되었습니다.지금 예스나 AI를 직접 경험해 보실 수 있도록 20크레딧(질문권 20회)를 무료로 증정해 드리고 있습니다.바로 여러분의 아이디어를 코드로 변환해보세요.--------------------------------------------------🚀 YesNa AI 핵심 기능- 지표식/전략식/종목검색식 생성: 자연어로 요청하면 예스랭귀지 문법에 맞는 코드를 작성합니다.- 종목검색식 변환 지원: K증권의 종목 검색식을 예스랭귀지로 변환 지원합니다.- 컴파일 검증: 작성된 코드가 실행 가능한지 컴파일러를 통해 문법 검증을 거쳐 결과물을 제공합니다.상세한 서비스 개요 및 활용 방법은 [서비스 소개 페이지]에서 확인하실 수 있습니다.▶ 서비스 소개 페이지: 바로가기서비스 사용 유의사항 및 결제 환불정책은 [이용약관]을 참고 부탁드립니다.▶ 서비스 이용약관: 바로가기💬 이용 문의사용 중 문의사항은 [프로그램 사용법 Q&A] 게시판에서 [예스나 AI] 카테고리를 설정 후 문의해 주시면 상세히 안내해 드리겠습니다.--------------------------------------------------앞으로도 AI를 활용한 다양한 트레이딩 기능들을 지속적으로 선보일 예정입니다.많은 관심과 기대 부탁드립니다.
2026-02-27
1326
글번호 230811
답변완료
문의드립니다.
안녕하세요 운영자님
문의사항과 추가요청사항이 각각 1개씩 있습니다.
1. 문의사항 : 의뢰드린 수식을 차트에 적용시켜보니 적용이 안되는 구간도 보이는 것 같은데 설명부탁드립니다. 차트에서 23:00시경부터 01:00 까지조건을 만족해 보이는데도 신호가 뜨질 않습니다.7일선과 27일선이 역배열이고 RSI가 45 이하이면 매도신호가 떠야되는게 아닌지요?
2. 추가 요청사항 : 상승추세일때 RSI선이 55기준선을 상향돌파 시 매수하고
하락추세일때 RSI선이 45기준선을 하향돌파 시 매도하도록 변경 부탁
드립니다.
input : P1(7),P2(27),Period(18);
input : 익절틱수(12),손절틱수(20);
var : m1(0),m2(0),R(0);
m1 = ma(C,P1);
m2 = ma(C,P2);
R = RSI(Period);
Condition1 = m1 > m2 and R >= 55;
Condition2 = m1 < m2 and R <= 45;
if Condition1 == true and Condition1[1] == False Then
Buy();
if Condition2 == true and Condition2[1] == False Then
Sell();
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
2025-03-29
398
글번호 189687
러블리 님에 의해서 삭제되었습니다.
2025-03-29
5
글번호 189686
onlypsn 님에 의해서 삭제되었습니다.
2025-03-29
1
글번호 189685
답변완료
종목검색 문의드립니다.
RSI(14) 를 기준 지표로 잡고선
rsi 값이 50을 골든크로스할때 가격을 var1에 저장을 하고
rsi 값이 75를 넘지 않는 상태에서 현재 가격 c 가 var1보다 작은 종목을 찾는 종목검색식
2025-03-28
413
글번호 189684
답변완료
항상 감사드립니다.
60분봉에서의 거래량가중이동평균 100일선 과
60분봉에서의 이동평균 50일,200일,400일선을
1분봉에서 띄우고 싶습니당 감사합니당!
2025-03-28
413
글번호 189683
답변완료
질문 드리겠습니다
답변 감사드립니다
지표 하나 부탁드립니다
분봉상에서
전일 분봉들의 거래대금 합산금액을 (혹은 일봉상 거래대금) 다음날 첫봉에만 표시하게 할 수 있을까요?
감사합니다
2025-03-28
396
글번호 189682
답변완료
예트로 변환 부탁합니다
트레이딩뷰 소스를 예트로 변환 부탁합니다. 제가 시도했는데 box에서 막히네요.
//@version=5
indicator("ZLMA Trend Levels [ChartPrime]", overlay = true)
//-----------------------------------}
// User Inputs
//-----------------------------------{
int length = input.int(15, title="Length") // Length for the moving average calculations
bool show_levl = input.bool(true, "Trend Levels") // Toggle to show trend levels
// Colors for the trend levels
color up = input.color(color.red, "+", group = "Colors", inline = "i")
color dn = input.color(color.lime, "-", group = "Colors", inline = "i")
var box1 = box(na) // Variable to store the box
series float atr = ta.atr(200) // Average True Range (ATR) for trend levels
//-----------------------------------}
// Indicator Calcs
//-----------------------------------{
series float emaValue = ta.ema(close, length) // EMA of the closing price
series float correction = close + (close - emaValue) // Correction factor for zero-lag calculation
series float zlma = ta.ema(correction, length) // Zero-Lag Moving Average (ZLMA)
bool signalUp = ta.crossover(zlma, emaValue) // Signal for bullish crossover
bool signalDn = ta.crossunder(zlma, emaValue) // Signal for bearish crossunder
// Determine the color of ZLMA based on its direction
color zlma_color = zlma > zlma[3] ? up : zlma < zlma[3] ? dn : na
color ema_col = emaValue < zlma ? up : dn // Determine the EMA color
//-----------------------------------}
// Visualization
//-----------------------------------{
// Plot the Zero-Lag Moving Average
p1 = plot(zlma, color = zlma_color, linewidth = 1, title = 'zlma') // Plot ZLMA
p2 = plot(emaValue, color = ema_col, linewidth = 1, title = 'emaValue') // Plot EMA
fill(p1, p2, zlma, emaValue, color.new(zlma_color, 80), color.new(ema_col, 80)) // Fill between ZLMA and EMA
// Method to draw a box on the chart
method draw_box(color col, top, bot, price)=>
box.new(
bar_index, top, bar_index, bot, col, 1,
bgcolor = color.new(col, 90),
text = str.tostring(math.round(price, 2)),
text_size = size.tiny,
text_color = chart.fg_color,
text_halign = text.align_right
)
// Logic to draw trend levels as boxes on the chart
if show_levl
bool check_signals = signalUp or signalDn // Check if there is an up or down signal
switch
// Draw a box when a bullish signal is detected
signalUp => box1 := up.draw_box(zlma, zlma - atr, close)
// Draw a box when a bearish signal is detected
signalDn => box1 := dn.draw_box(zlma + atr, zlma, close)
switch
// Extend the right side of the box if no new signal is detected
not signalUp or not signalDn => box1.set_right(bar_index + 4)
=> box1 := box(na) // Otherwise, reset the box
switch
// Add a downward label when price crosses below the bottom of the box
ta.crossunder(high, box1.get_bottom()) and not check_signals[1] and not check_signals and emaValue > zlma=>
label.new(bar_index - 1, high[1], "▼", color = color(na), textcolor = dn, style = label.style_label_down)
// Add an upward label when price crosses above the top of the box
ta.crossover(low, box1.get_top()) and not check_signals and not check_signals[1] and emaValue < zlma=>
label.new(bar_index - 1, low[1], "▲", color = color(na), textcolor = up, style = label.style_label_up)
// Plot shapes for up and down signals
plotshape(signalUp ? zlma : na, "sig up", shape.diamond, location.absolute, color = up, size = size.tiny)
plotshape(signalDn ? zlma : na, "sig dn", shape.diamond, location.absolute, color = dn, size = size.tiny)
//-----------------------------------}
2025-03-30
644
글번호 189681
답변완료
조건식으로 변형부탁드립니다
v100이 m30 을 돌파할때 종목이 검색되게 하고싶습니다 v100은 거래량가중이동평균100선이구요 m30은 이동평균30선입니다..
부가적인조건은 v100선이 우상향으로 상방으로 기울기좀 높아진것을 원합니다.우상향으로 돌파하는것을 뜻합니다. 그리고 이것을 or로 처리해서 3분봉, 15분봉, 일봉 3가지로 모두검색되게하고싶습니다
2025-03-28
490
글번호 189679
답변완료
검색식 문의 들여요~
일봉 전봉 대비 양봉으로 인것 검색식 좀 찾아주세요~
2025-03-28
369
글번호 189671