커뮤니티

예스랭귀지 Q&A

글쓰기
답변완료

수식요청

안녕하세요 늘 도움 감사합니다 현재 진행 캔들의 시간을 표시 할 수 있으면 부탁드립니다. 캔들이 3분 차트이면 현재 진행 봉의 표시...그림처럼
프로필 이미지
알리섬
2024-12-27
557
글번호 186671
지표
답변완료

문의드립니다

10틱차트에서 최근 5분간 누적 봉갯수 10틱차트에서 최근 5분간 누적 거래대금 두 지표 문의드립니다
프로필 이미지
파인애플
2024-12-27
589
글번호 186670
지표
답변완료

수식 부탁드립니다

수고하십니다 아래수식은 30분봉기준으로 5분봉에서 30분봉시스템 신호가 나올수 있도록 수식부탁 드립니다. input : 익절(300),손절(36),k(100),k1(100),s(20),s1(20); Buy("b",AtStop,h[s]+PriceScale*k); Sell("s",AtStop,l[s1]-PriceScale*k1); SetStopProfittarget(익절,PointStop); SetStopLoss(손절,PointStop); 감사합니다
프로필 이미지
네온0609
2024-12-27
575
글번호 186669
시스템
답변완료

수고하십니다

올해도 수고 많으셨습니다 새해에복많이 받으시고 행복한 한해 되세요 변환 부탁드려요 길면 채널만이라도 부탁드립니다 indicator("Future Trend Channel [ChartPrime]", overlay = true, max_lines_count = 500) // --------------------------------------------------------------------------------------------------------------------} // &#120400;&#120398;&#120384;&#120397; &#120388;&#120393;&#120395;&#120400;&#120399;&#120398; // --------------------------------------------------------------------------------------------------------------------{ int length = input.int(100, "Trend Length") float multi = input.float(3, "Channel Width", step = 0.1) int extend = input.int(50, "Index of future price") color color_up = input.color(#16d897, "Up", inline = "Colors") color color_dn = input.color(#da853f, "Dn", inline = "Colors") float atr = ta.highest(ta.atr(200), 100) // UDT ------------------------------>> type channel line line_mid1 = na line line_mid2 = na line line_top1 = na line line_top2 = na line line_low1 = na line line_low2 = na var c = channel.new(line(na), line(na), line(na), line(na), line(na), line(na)) // --------------------------------------------------------------------------------------------------------------------} // &#120388;&#120393;&#120383;&#120388;&#120382;&#120380;&#120399;&#120394;&#120397; &#120382;&#120380;&#120391;&#120382;&#120400;&#120391;&#120380;&#120399;&#120388;&#120394;&#120393;&#120398; // --------------------------------------------------------------------------------------------------------------------{ future_price(x1,x2,y1,y2,index)=> float slope = (y2-y1)/(x2-x1) float future_price = y1 + slope * (index - x1) style = switch y1 > y2 =>label.style_label_lower_left =>label.style_label_upper_left label.new(index, future_price, text = str.tostring(future_price, "Future Price: ₩n #.#"), color = color.new(chart.fg_color, 80), textcolor = chart.fg_color, style = style) trend(length)=> var trend = bool(na) float sma = ta.sma(close, length) float upper = sma + atr float lower = sma - atr bool signal_up = ta.crossover(close, upper) bool signal_dn = ta.crossunder(close, lower) if signal_up trend := true if signal_dn trend := false trend bool trend = trend(length) remove_lines(trend)=> if trend and not trend[1] c.line_mid2 := line(na) c.line_top2 := line(na) c.line_low2 := line(na) if not trend and trend[1] c.line_mid1 := line(na) c.line_top1 := line(na) c.line_low1 := line(na) color_lines(line_m, line_t, line_l, color, label)=> var color_lines = color if color == color_up ? line_m.get_y1() <= line_m.get_y2() : line_m.get_y1() >= line_m.get_y2() color_lines := color line_m.set_color(color_lines) line_l.set_color(color_lines) line_t.set_color(color_lines) line_m.set_style(line.style_solid) line_t.set_style(line.style_solid) line_l.set_style(line.style_solid) label.set_color(label, color_lines) if color == color_up ? line_m.get_y1() >= line_m.get_y2() : line_m.get_y1() <= line_m.get_y2() color_lines := chart.fg_color line_m.set_color(color_lines) line_t.set_color(color_lines) line_l.set_color(color_lines) line_m.set_style(line.style_dashed) line_t.set_style(line.style_dashed) line_l.set_style(line.style_dashed) label.set_color(label, color.new(color_lines, 100)) label.set_size(label, size.tiny) linefill.new(line_l, line_t, color.new(color_lines, 90)) draw_channel(trend)=> var label_up = label(na) var label_dn = label(na) var label_m = label(na) series float src = hl2 series float low_src = src - atr * multi series float high_src = src + atr * multi // -> New Lines if trend and not trend[1] label_up := label.new(bar_index, low_src, style = label.style_diamond) c.line_mid1 := line.new(bar_index, src, bar_index, src) c.line_top1 := line.new(bar_index, high_src, bar_index, high_src) c.line_low1 := line.new(bar_index, low_src, bar_index, low_src) c.line_mid2.set_xy2(bar_index, src) c.line_top2.set_xy2(bar_index, high_src) c.line_low2.set_xy2(bar_index, low_src) if not trend and trend[1] label_dn := label.new(bar_index, high_src, style = label.style_diamond) c.line_mid2 := line.new(bar_index, src, bar_index+2, src) c.line_top2 := line.new(bar_index, high_src, bar_index, high_src) c.line_low2 := line.new(bar_index, low_src, bar_index, low_src) c.line_mid1.set_xy2(bar_index, src) c.line_top1.set_xy2(bar_index, high_src) c.line_low1.set_xy2(bar_index, low_src) // Extend if trend label.delete(label_m) c.line_mid2.set_extend(extend.none) c.line_top2.set_extend(extend.none) c.line_low2.set_extend(extend.none) c.line_mid1.set_extend(extend.right) c.line_top1.set_extend(extend.right) c.line_low1.set_extend(extend.right) c.line_mid1.set_xy2(bar_index, ta.sma(src, 20)) c.line_top1.set_xy2(bar_index, ta.sma(high_src, 20)) c.line_low1.set_xy2(bar_index, ta.sma(low_src, 20)) label_m := future_price(c.line_mid1.get_x1(), c.line_mid1.get_x2(), c.line_mid1.get_y1(), c.line_mid1.get_y2(), bar_index+extend) if not trend label.delete(label_m) c.line_mid1.set_extend(extend.none) c.line_top1.set_extend(extend.none) c.line_low1.set_extend(extend.none) c.line_mid2.set_extend(extend.right) c.line_top2.set_extend(extend.right) c.line_low2.set_extend(extend.right) c.line_mid2.set_xy2(bar_index, ta.sma(src, 20)) c.line_top2.set_xy2(bar_index, ta.sma(high_src, 20)) c.line_low2.set_xy2(bar_index, ta.sma(low_src, 20)) label_m := future_price(c.line_mid2.get_x1(), c.line_mid2.get_x2(), c.line_mid2.get_y1(), c.line_mid2.get_y2(), bar_index+extend) color_lines(c.line_mid1, c.line_top1, c.line_low1, color_up, label_up) color_lines(c.line_mid2, c.line_top2, c.line_low2, color_dn, label_dn) remove_lines(trend) // --------------------------------------------------------------------------------------------------------------------} // &#120401;&#120388;&#120398;&#120400;&#120380;&#120391;&#120388;&#120405;&#120380;&#120399;&#120388;&#120394;&#120393; // --------------------------------------------------------------------------------------------------------------------{ draw_channel(trend) // --------------------------------------------------------------------------------------------------------------------}
프로필 이미지
비듬싸순
2024-12-27
664
글번호 186664
지표
답변완료

수식 부탁드립니다

날이추운데 감기조심하십시요. 종목검색식 부탁드리겠습니다. 선생님 S1 = eavg((C-C(Period))/C(Period)*100, maPeriod); R=RSI(9); CrossUP(S1, 0) && R>30 Period 60 maPeriod 120 항상 감사드립니다.
프로필 이미지
잔차
2024-12-27
654
글번호 186663
종목검색

살빼고싶다 님에 의해서 삭제되었습니다.

프로필 이미지
살빼고싶다
2024-12-27
65
글번호 186662
검색
답변완료

문의드립니다.

안녕하세요. 선물 1분봉 차트에서 위 그림의 조건 만족하면 1. 반등고점 빨강선을 100봉 동안 출력 2. 조정저점 파랑선을 100봉 동안 출력 수고하세요.
프로필 이미지
land22
2024-12-27
521
글번호 186661
지표
답변완료

종목 검색 부탁드립니다.

지수 5 이평이 Envelope(20,6) Period(20),Percent(6) 상한선를 돌파 종목 검색식 부탁 드립니다
프로필 이미지
골든도라도
2024-12-26
620
글번호 186660
종목검색
답변완료

종목검색식 부탁드림니다.

항상 노고에 감사드림니다. 아래의 수식을 종목검색식으로 부탁드림니다. 1)번 종목수식 음 = C<O; 음_S = sum(음, 5)==5; 기준선 = Valuewhen(1, 음_S, O(4)); bs = BarsSince(음_S); Crossup(C, 기준선) && C>C(1)*1.1 && bs<제한봉수 지표변수 제한봉수 15 2)번 종목수식 Vs1 = Sum(V-Lowest(V,기간1), sig)/ Sum((Highest(V,기간1)- Lowest(V,기간1)),sig) * 100; Vs2 = Sum(V-Lowest(V,기간2), sig)/ Sum((Highest(V,기간2)- Lowest(V,기간3)),sig) * 100; Vs3 = Sum(V-Lowest(V,기간3), sig)/ Sum((Highest(V,기간3)- Lowest(V,기간3)),sig) * 100; M20 = ma(C, 20); 조건 = Vs1>20 && Vs2>20 && Vs3>20; 조건 && !조건(1) && M20>M20(1) 지표변수 기간1 20 기간2 60 기간3 120 sig 5
프로필 이미지
존슨비치
2024-12-27
652
글번호 186659
종목검색
답변완료

검색식 부탁 드려요

** 아래는 키움수식입니다. "전일보다 상승한 종목"(일봉기준) 검색식 부탁드립니다. (전일보다 상승한 종목--> 단, 0봉전 ~ 10봉전 까지의 모든 종목을 한번에 검색 ) --수식-- sum(v* ((Pow((C-L),2) - Pow((H-C),2)) / (H - L)) )
프로필 이미지
일지매7
2024-12-27
628
글번호 186658
종목검색