커뮤니티

예스랭귀지 Q&A

글쓰기
답변완료

검색식 부탁드립니다._(__)_

항상 도와주심에 감사드립니다._(__)_ 1. 아래의 수식을 종목검색식으로 변환 부탁드리고요 a = avg(c,20); crossup(c(2),a(2)) and o(2) < c(2) and o(1) > c(1) and (c(2)*0.95 <= c(1)) and (o(1)*0.97 <= c(1)) and o < c and highest(h,4,1) < c and highest(c,4,1) < c and v(2) > v(1) and v(1)*2 <= v and avg(v,5) >= 15000 2. 엔벨로프(20,10) 지지선과 아래의 수식의 이격이 5퍼센트이내일 때 높이 순서 상관없이 엔벨돌파종목 검색식도 부탁드립니다. var1 = macd(12,26); var2 = Sar(0.02,0.2); if var1 >= 0 and CrossUp(c,Var2) and C >= C[1]*1.03 and C > O Then value1 = (C+O)/2; if value1 > 0 and CrossUp(c,value1) Then Find(1);
프로필 이미지
한칼부르스
79
글번호 193738
종목검색
답변완료

변환 부탁드립니다

아래 수식 변환 부탁드립니다 A= C > O; B= C > C (1)*1.02; 조건 =A && Barssince(B) >= 3;
프로필 이미지
파크에버뉴
86
글번호 193737
종목검색
답변완료

변환 부탁 드립니다.

안녕 하세요. 항상 감사 드리고 있습니다. 키움의 신호 수식인데, 예스트레이더 검색식으로 변경 부탁 드립니다. ATR_BUY = ATR(c_buy); NLOSS_BUY = a_buy * ATR_BUY; TRAIL_BUY = IF(C > TRAIL_BUY(1) AND C(1) > TRAIL_BUY(1), MAX(TRAIL_BUY(1), C - NLOSS_BUY), IF(C < TRAIL_BUY(1) AND C(1) < TRAIL_BUY(1), MIN(TRAIL_BUY(1), C + NLOSS_BUY), IF(C > TRAIL_BUY(1), C - NLOSS_BUY, C + NLOSS_BUY))); ATR_SELL = ATR(c_sell); NLOSS_SELL = a_sell * ATR_SELL; TRAIL_SELL = IF(C > TRAIL_SELL(1) AND C(1) > TRAIL_SELL(1), MAX(TRAIL_SELL(1), C - NLOSS_SELL), IF(C < TRAIL_SELL(1) AND C(1) < TRAIL_SELL(1), MIN(TRAIL_SELL(1), C + NLOSS_SELL), IF(C > TRAIL_SELL(1), C - NLOSS_SELL, C + NLOSS_SELL))); LINREG_CLOSE = LinearRegressionValue(C, linreg_length, 0); SIGNAL_LINE = AVG(LINREG_CLOSE, signal_length); C > SIGNAL_LINE AND CROSSUP(EAVG(C, 1), SIGNAL_LINE) AND C>O; 지표변수 a_buy 2 c_buy 1 a_sell 2 c_sell 1 signal_length 7 linreg_length11
프로필 이미지
에다남
84
글번호 193736
종목검색
답변완료

변환 부탁드립니다.

트레이딩뷰 수식입니다. 변환 부탁 드립니다. //@version=6 strategy("Triangular Hull Moving Average [BigBeluga X PineIndicators]", "THMA [BigBeluga X PineIndicators]", overlay = true, commission_value = 0.01, slippage = 2, initial_capital = 1000, margin_long = 0, margin_short = 0, default_qty_value = 1) // INPUTS int len_ = input.int(40, "Length") float source = input.source(close, "Source") bool volat = input.bool(true, "Volatility", inline = "vola"), len_vol = input.int(15, "", inline = "vola") color_u = input.color(#16e5a0, "", inline = "colors") color_d = input.color(#741ddd, "", inline = "colors") // Neue Option: Entry Direction Auswahl entry_mode = input.string("Long & Short", "Trade Direction", options = ["Only Long", "Only Short", "Long & Short"]) // CALCULATIONS float volatility = ta.hma(high - low, len_vol) var string trend = "" vv = ta.percentile_nearest_rank(volatility, 1000, 100) vol = volatility / vv // THMA-Funktion thma(_src, _length) => ta.wma(ta.wma(_src, _length / 3) * 3 - ta.wma(_src, _length / 2) - ta.wma(_src, _length), _length) float thma = thma(source, len_) float thma1 = thma[2] bool signal_up = ta.crossover(thma, thma1) bool signal_dn = ta.crossunder(thma, thma1) switch signal_up => trend := "&#129153;" signal_dn => trend := "&#129155;" color = thma > thma1 ? color_u : color_d color1 = color atr = ta.atr(200) // PLOT plotcandle(thma, thma + volatility, thma1 - volatility, thma1, "", color.new(color1, volat ? 40 : 0), color.new(color1, volat ? 40 : 100), bordercolor = color.new(color1,0)) plotshape(signal_up ? thma1 - atr : na, "Up", shape.triangleup, location.absolute, color = color.new(color, 60), size = size.small, force_overlay = true) plotshape(signal_up ? thma1 - atr : na, "Up", shape.triangleup, location.absolute, color = color.new(color, 0), size = size.tiny, force_overlay = true) plotshape(signal_dn ? thma1 + atr : na, "Dn", shape.triangledown, location.absolute, color = color.new(color, 60), size = size.small, force_overlay = true) plotshape(signal_dn ? thma1 + atr : na, "Dn", shape.triangledown, location.absolute, color = color.new(color, 0), size = size.tiny, force_overlay = true) if barstate.islast dash = table.new(position.bottom_right, 10, 10, bgcolor = color.new(chart.fg_color, 90), border_color = chart.bg_color, border_width = 5) dash.cell(0, 0, "Trend: " + trend, text_color = trend == "&#129155;" ? color_d : color_u) dash.cell(0, 1, "Volatility: " + str.tostring(vol * 100, format.percent), text_color = chart.fg_color) // Entry- und Close-Logik bool allow_long = entry_mode == "Only Long" or entry_mode == "Long & Short" bool allow_short = entry_mode == "Only Short" or entry_mode == "Long & Short" // Long & Short-Modus: Positions er&#246;ffnen if signal_up and allow_long strategy.entry("Long", strategy.long) if signal_dn and allow_short strategy.entry("Short", strategy.short) // Spezielle Schließlogik f&#252;r "Only Long" und "Only Short" if entry_mode == "Only Long" // Bei Short-Signal bestehende Long-Position schließen if signal_dn strategy.close("Long") if entry_mode == "Only Short" // Bei Long-Signal bestehende Short-Position schließen if signal_up strategy.close("Short")
프로필 이미지
다올
108
글번호 193735
지표
답변완료

문의 드립니다

1일의 전일저가라인이 3일에도 그대로 적용되는데 3일에 2일의 저가라인 표시를 정확히 하는 법 부탁드립니다. 지표는 시고저라인 n(1)로 적용했읍니다.
프로필 이미지
lacl
80
글번호 193734
지표
답변완료

증권사 이동시 예스트레이더 이전설치문의

사용증권사 변경으로 변경전에 증권사에서 작성한 모든 프로그램을 변경후 증권사에 설치하는 방법을 알려 주세요. 1. 주요이관대상 : 예스트레이더/YesLang 폴더에 저장된 사용자가 작성한 모든 프로그램 2. 주요 질의 내용 ㅇ 이관전에 사용하던 예스트레이더 환경으로 이관된 증권사에서 그대로 사용하는 방법이 있는지요? ㅇ 이관전에 예스트레이더/YesLang에 저장된 사용자 프로그램들을 모두 복사하여 이관되는 증권사의 예스트레이더/YesLang에 모두 복사하면 되는지 여부? ㅇ 아님 프로그램 건별로 이관되는 증권사 yesLang 폴더에 복사 해야 되는지요? 항상 신속하고 정확한 답변에 감사 드려요.
프로필 이미지
장병록
84
글번호 193733
시스템
답변완료

안녕하세요. 수식 문의 드립니다.

지표에 다음과 같이 숫자를 보이게 하고 싶네요..
프로필 이미지
구름달
137
글번호 193728
지표
답변완료

지표식 부탁드립니다.

안녕하세요. 예스차트에서 차트데이터 툴팁 표시는 캔들에 마우스 커서를 두어야만 표시가능한데 캔들 클릭시 그 캔들의 시고저 가격을 차트의 좌측 상단 또는 우측 상단에 표시가능한가요?
프로필 이미지
부활
106
글번호 193727
지표
답변완료

검색식 부탁 드립니다

input : n(4); var : A(0),S(0),T(0),dd(0); A = ma(C,20); if (CrossUP(c,A) or L<=A*1.03) and (c[1]*1.02<=c and o*1.01 <= c ) Then S = o; if S > S[1] Then T = 1; if S < S[1] Then T = -1; if T == -1 and T != T[1] Then dd = Index; if T == 1 and T != T[1] Then { if dd > 0 and Index >= dd+n Then Find(1); } 1.S값이 하락만하고 상승하지 않은지 N일되 종목 검색식 부탁 드립니다 2,1일봉전 상한가 종목 검색 하지 않는다 검색식도 부탁 드립니다
프로필 이미지
님이랑
90
글번호 193726
종목검색
답변완료

지표 변환 부탁드립니다

키움 신호수식인데 예스 신호로 부탁드립니다 a=ma(c,5); a1=ref(a,1); e=(a-a1)*100/a1; f=atan(e)*180/3.141592; f>=35&&a>a(1)&&a(1)>a(2)&&a(2)>a(3)
프로필 이미지
삼손감자
102
글번호 193725
지표