커뮤니티

예스랭귀지 Q&A

글쓰기
답변완료

검색식 부탁드립니다

아래 조건에 대한 종목 검색식 부탁드립니다. A1 = ma(C,20); B1 = ma(C,60); 이격도 = C <= O*0.97 && C>= O*0.90; C1 = A1>B1 && A1>H && 이격도 && (O-C)>(H-O) && (O-C)>(C-L); 중심 = valuewhen(1,C1,C); C1 && 중심(1) > C
프로필 이미지
대응
2025-03-29
384
글번호 189690
종목검색
답변완료

종목검색식 부탁드려요.

1. 일목균형표에서 선행스팬1 과 선행스팬2가 초근접해서 즉 거의 붙어서(0.3%이하), 꼭,동시에 상승하는 종목검색식 부탁드립니다. (단, 근접율 수치는 변수처리) 2-1. 수식1) 의 선이, 수식2)의 선을 골든크로스할때 종목 검색식 2-2. 수식1) 의 선이, 수식2)의 선 위에 있는 종목 검색식 부탁드려요 수식1) A=(C-lowest(C,period))/C*100; max(A,0) 수식2) B=(highest(C,period)-C)/C*100; max(B,0) -지표조건 period 60
프로필 이미지
일지매7
2025-03-30
374
글번호 189689
종목검색
답변완료

문의드립니다

분봉차트에서 당일용으로 할때 아래처럼 하는데요 if Bdate != Bdate[1] Then { 미국장은 밤 10시30분 부터 다음날 5시 까지인데 미국장에서 당일용으로 지표를 만들려면 어떻게 표현해야 하나요? 우리나라시간 10시 30부터 새로운날로 인식하게 하려면? 감사합니다
프로필 이미지
러블리
2025-03-29
371
글번호 189688
지표
답변완료

문의드립니다.

안녕하세요 운영자님 문의사항과 추가요청사항이 각각 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);
프로필 이미지
고박사122
2025-03-29
361
글번호 189687
시스템

러블리 님에 의해서 삭제되었습니다.

프로필 이미지
러블리
2025-03-29
5
글번호 189686
지표

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

프로필 이미지
onlypsn
2025-03-29
1
글번호 189685
종목검색
답변완료

종목검색 문의드립니다.

RSI(14) 를 기준 지표로 잡고선 rsi 값이 50을 골든크로스할때 가격을 var1에 저장을 하고 rsi 값이 75를 넘지 않는 상태에서 현재 가격 c 가 var1보다 작은 종목을 찾는 종목검색식
프로필 이미지
한글나라
2025-03-28
380
글번호 189684
종목검색
답변완료

항상 감사드립니다.

60분봉에서의 거래량가중이동평균 100일선 과 60분봉에서의 이동평균 50일,200일,400일선을 1분봉에서 띄우고 싶습니당 감사합니당!
프로필 이미지
yaggaboy
2025-03-28
378
글번호 189683
지표
답변완료

질문 드리겠습니다

답변 감사드립니다 지표 하나 부탁드립니다 분봉상에서 전일 분봉들의 거래대금 합산금액을 (혹은 일봉상 거래대금) 다음날 첫봉에만 표시하게 할 수 있을까요? 감사합니다
프로필 이미지
yamu
2025-03-28
357
글번호 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
517
글번호 189681
지표