커뮤니티

예스랭귀지 Q&A

글쓰기
답변완료

부탁드립니다.

당일 첫봉을 dayindex로 나타내듯이 특정시간(예:10시20분)부터 첫봉을 나타내는 수식을 부탁드립니다
프로필 이미지
예시
2025-05-31
219
글번호 191310
지표
답변완료

문의

예스트레이더에서 왼쪽에 만들어논 지표들 중에서 특정 지표를 검색하려고 하는데 방법이 없나요?? 일일이 수동으로 보고 찾아야 하는지 궁금합니다..
프로필 이미지
gunman
2025-05-31
204
글번호 191309
지표
답변완료

특정값

매수진입 If emaV > emaV[1] and Lmacd > Lmacd[1] then { if emaV > emaV[1] and macd > Macd[1] Then buy("ㅇㅇ"); } 위 수식에서 if emaV > emaV[1] and macd > Macd[1] Then 일때 매수 하게 되어 있는데.. 이 매수값을 추출해서 얻을수 있게 부탁드립니다. 매수값을 추출해서 얻을수 있다면 ---------------------------------------------- If emaV > emaV[1] and Lmacd > Lmacd[1] then { if emaV > emaV[1] and macd > Macd[1] Then buy("ㅇㅇ"); } ================================================ 그 매수값에 10을 더해서 매수하게 해주시고 매도 sell은 매도값에 10을 빼서 매도 하게 해주시고 10은 변수로 해주세요
프로필 이미지
바다사당
2025-05-31
180
글번호 191308
시스템

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

프로필 이미지
러블리
2025-05-31
6
글번호 191307
지표
답변완료

미결제약정

안녕하세요 아래 두 수식 차이가 무엇인지 설명부탁드립니다 (1) Plot1(DayOi-DayOi(1)); Plot2(data2(DayOi)-data2(DayOi(1))); (2) var1 = accumn((oi-oi[1]),dayindex()+1); var2 = accumn((data2(oi)-data2(oi[1])),dayindex()+1); plot1(var1); plot1(var2); 감사합니다
프로필 이미지
taegy88
2025-05-31
172
글번호 191306
지표
답변완료

질문 부탁드립니다

수고하십니다 수식이 맞는지 한번 검토 부탁드립니다 맨 아래 첨부된 수식처럼 for문을 작성한다면, h[1] 부터 h[id[0]-id[1]] 까지 를 aa[0] 과 비교, aa[1] 과 비교, ...aa[5]과 비교 한뒤 1 to (id[0]-id[2]) 범위에서 고가를 aa[0]~aa[5] 까지 비교, 1 to (id[0]-id[3]) 일때 비교. 하는 작업을 해서 aa[] 보다 큰 고가 갯수가 가장 많을때의 id[] , aa[], h[] 값을 저장하는 식이 맞나요? 순서가 위처럼 진행되는게 맞는건지 궁금합니다 그리고 만약 For y =0 to 5 { For x = 1 to 3 { For z = 1 to (id[0]-id[x]) 이렇게 순서가 바뀐다면 1 to (id[0]-id[1]) 범위에서의 h 를 aa[0] 과 비교 1 to (id[0]-id[2]) 에서의 h 를 aa[0] " 1 to (id[0]-id[3]) 에서의 h 를 aa[0] " 1 to (id[0]-id[1]) 범위에서의 h 를 aa[1] 과 비교 1 to (id[0]-id[2]) 에서의 h 를 aa[1] " 1 to (id[0]-id[3]) 에서의 h 를 aa[1] " ... 이런 구조로 aa[5] 까지 비교하게되는데 연산 순서만 바뀌는거고 같은 결과가 나오게 되나요?? 아니면 작성 구조에 따라서 차이점이 있나요? 감사합니다 아래는 수식입니다 Value2 = 0; Value3 = 0; Value4 = 0; value5=0; value6=0; For x = 1 to 3 { For y = 0 to 5 { For z = 1 to (id[0]-id[x]) { if h[z]>aa[y] then value2 = value2+1; } if Value3 == 0 or (Value3 > 0 and Value2 > Value3) Then { Value3 = Value2; Value4 = aa[y]; value5= id[x]; value6= h[z]; } } }
프로필 이미지
yamu
2025-06-02
217
글번호 191305
지표
답변완료

지표식 부탁 드립니다.

안녕하세요. 지표 VWAP 식을 볼밴중심선처럼 기준으로 저항선과 지지선을 각각 3개씩(1차~3차) 표현할수 있도록 부탁 드립니다.감사합니다.
프로필 이미지
사냥꾼
2025-05-31
267
글번호 191304
지표
답변완료

예스트레이더 강조로 요청합니다^^*

아래 신호수식은 키움에서 작성한 수식입니다.. *분봉기준입니다.. 이것을 예스트레이더 강조로 요청합니다.. HV=Highestsince(1,date(1)!=date,v); A=Valuewhen(1,HV==V && C>O,H); B=Valuewhen(1,HV==V && C>O,L); AA=(A-B)*3/4+B; a1=eavg(c,20); b1=eavg(c,60); x=(a1-b1); 조건=a1>b1 && x>x(1) && AA>=L && H(1)>H && L(1)<L; 조건 && !조건(1)
프로필 이미지
서민순
2025-05-30
219
글번호 191303
강조
답변완료

지표로 변환 부탁드려요

선은 필요없구요 매수 매도 삼각형 표시 부탁드려요 건강하세요 // This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International // https://creativecommons.org/licenses/by-nc-sa/4.0/ // &#169; BigBeluga //@version=6 indicator("TrendWave Bands [BigBeluga]", overlay = true) // INPUTS ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――{ int length = input(33) float factor = input.float(1.0, "Factor", step = 0.1) // Color color col_up = input(color.lime, "", inline = "col") color col_dn = input(color.rgb(221, 26, 26), "", inline = "col") color col_ul = input(color.aqua, "", inline = "col") // } // CALCULATIONS――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――{ trend(length)=> var direction = 0 var count_up = 0. var count_dn = 0. float volatility = ta.sma(high-low, 70) * factor float upper = ta.highest(ta.sma(close, 25) + volatility, int(length/2)) float lower = ta.lowest(ta.sma(close, length) - volatility, int(length/2)) bool sig_up = ta.crossover(hlc3, upper) and barstate.isconfirmed bool sig_dn = ta.crossunder(hlc3, lower) and barstate.isconfirmed switch sig_up => direction := 1 sig_dn => direction := -1 upper := direction == 1 ? float(na) : upper lower := direction == -1 ? float(na) : lower // Trends Duration if direction == 1 count_up += 0.5 count_dn := 0 if direction == -1 count_dn += 0.5 count_up := 0 count_up := count_up > 70 ? 70 : count_up count_dn := count_dn > 70 ? 70 : count_dn [upper, lower, direction, count_up, count_dn] [upper, lower, direction, count_up, count_dn] = trend(length) float upper_band = lower + ta.atr(100)*5 float lower_band = upper - ta.atr(100)*5 color upper_col = color.new(col_dn, int(count_dn)) color lower_col = color.new(col_up, int(count_up)) color upper_band_col = color.new(col_ul, 70 - int(count_up)) color lower_band_col = color.new(col_ul, 70 - int(count_dn)) // } // PLOT ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――{ plot(upper_band, "Upper Wave", style = plot.style_linebr, color = bar_index % 2 == 0 ? na : upper_band_col, linewidth = 1) plot(lower_band, "Lower Wave", style = plot.style_linebr, color = bar_index % 2 == 0 ? na : lower_band_col, linewidth = 1) plot(upper, "Upper Band", style = plot.style_linebr, color = upper_col, linewidth = 2) plot(lower, "Lower Band", style = plot.style_linebr, color = lower_col, linewidth = 2) plot(upper, "Upper Band Shadow", style = plot.style_linebr, color = color.new(col_dn, int(count_dn*2)), linewidth = 6) plot(lower, "Lower Band Shadow", style = plot.style_linebr, color = color.new(col_up, int(count_up*2)), linewidth = 6) plotshape(direction != direction[1] and direction == 1 ? lower : na, "Trend Up", shape.circle, location.absolute, size = size.tiny, color = col_up) plotshape(direction != direction[1] and direction == 1 ? lower : na, "Trend Up", shape.circle, location.absolute, size = size.small, color = color.new(col_up, 70)) plotshape(direction != direction[1] and direction == -1 ? upper : na, "Trend Down", shape.circle, location.absolute, size = size.tiny, color = col_dn) plotshape(direction != direction[1] and direction == -1 ? upper : na, "Trend Down", shape.circle, location.absolute, size = size.small, color = color.new(col_dn, 70)) // Trend Duration (70 max) // if barstate.islast // if direction == 1 // label.delete(label.new(bar_index, lower, str.tostring(count_up), color = color(na), style = label.style_label_left, textcolor = chart.fg_color)[1]) // if direction == -1 // label.delete(label.new(bar_index, upper, str.tostring(count_dn), color = color(na), style = label.style_label_left, textcolor = chart.fg_color)[1]) // } 바쁘시더라도 꼭 살펴주시길 기원함미다 매수 매도 삼각형 표시 부탁드려요 선 필요없어요
프로필 이미지
뽀스뽀스
2025-06-02
263
글번호 191302
지표
답변완료

키움종목검색식변환이요...

지표 내용 A [일]거래량:100000이상 999999999이하 B 검색시간: 09:02 ~ 09:06 C 주가범위:0일전 시가가 5000 이상 20000 이하 O [당일] 전고점 <= 1분 0 봉전 종가 D 주가이평돌파:[1분]0봉전 (종가 1)이평 (종가 3)이평 골든크로스 E 주가이평돌파:[1분]1봉전 (종가 1)이평 (종가 3)이평 골든크로스 F 주가이평돌파:[1분]2봉전 (종가 1)이평 (종가 3)이평 골든크로스 G 주가등락률:[일]1봉전(중) 종가대비 0봉전 시가등락률 1%이상 10%이하 J 기간내 등락률:[1분]0봉전 3봉이내에서 시가대비종가 -0.1% 이하 K 최근 2분간 평균 체결건수 100건 이상 L 기간내 등락률:[1분]0봉전 7봉이내에서 시가대비종가 10% 이상 M 기간내 등락봉수:[1분]0봉전 3봉이내 1봉 포프라이스 도지발생 N 상한가에 5%이내 근접 P 기간내 등락률:[1분]0봉전 7봉이내에서 시가대비종가 -1% 이하 A and B and C and O and (D or E or F) and G and !J and K and !L and !M and !N and !P ---------------------------------------------------- 키움검색식을 변환부탁드립니다... 미리 감사합니다... 수고하세요...ㅎ
프로필 이미지
시온사랑
2025-05-30
290
글번호 191301
종목검색