답변완료
문의
// =========================================================// 3. 차트 강조 출력 (중복 시 검정색 우선)// =========================================================// 두 개 이상의 조건이 동시에 만족되면 무조건 검정색으로 표시If ComboCount >= 2 Then PlotPaintBar(H, L, "중복신호", Black);// 단일 조건일 경우 기존 색상 유지Else If Cond12 Then PlotPaintBar(H, L, "vR스피12", Yellow);Else If Cond1 Then PlotPaintBar(H, L, "VR스피1", Magenta);Else If Cond2 Then PlotPaintBar(H, L, "VR스피2", RGB(255,165,0)); // 주황Else If Cnd_R12 Then PlotPaintBar(H, L, "R스피보12", Cyan);Else If Cnd_R34 Then PlotPaintBar(H, L, "R스피보34", RGB(0,255,0)); // 연두여기에서 PlotPaintBar이 이미 다른이름 "중복신호"로 선언되었다고 나오는데요 수정부탁드립니다."vR스피12 이하 같음 이유가 뭔지도 궁금합니다.
2025-12-24
534
글번호 229322
강조
답변완료
수식 부탁드립니다.
R=RSI(7);wma1 = wavg(C, len);// TEMA 계산ema1_1 = eavg(wma1, len);ema1_2 = eavg(ema1_1, len); ema1_3 = eavg(ema1_2, len);TEWMA1 = 3 * ema1_1 - 3 * ema1_2 + ema1_3;len2 = len * multi;wma2 = wavg(C, len2);ema2_1 = eavg(wma2, len2);ema2_2 = eavg(ema2_1, len2);ema2_3 = eavg(ema2_2, len2);TEWMA2 = 3 * ema2_1 - 3 * ema2_2 + ema2_3;TEWMA = (TEWMA1 + TEWMA2) / 2;최종신호=TEWMA > TEWMA(1) && IsRsiCrossUp70 = CrossUp(R, 70)&&Vcond = V > (Avg(V, 기간) * 비율);AmtCond = 거래대금 > (Avg(거래대금, 기간) * 비율)&&최종신호 && !최종신호(1)변수len 120 multi 3 기간 480 비율 6항상 감사드립니다. 2026년에도 항상 건승하십시요..
2025-12-23
177
글번호 229319
종목검색
답변완료
지표 부탁 드립니다
//@version=6indicator("Williams Fractals — Goldilocks Edition [NPR21]", shorttitle="Fractals Goldilocks [NPR21]", overlay=true, precision=0, format=format.price)// ===================== Inputs =====================n = input.int(title="Periods (n)", defval=2, minval=2)showLabels = input.bool(title="Show BUY/SELL Labels", defval=true)showShapes = input.bool(title="Show Shapes", defval=true)// Offset: 25 is the middle ground between 'too short' and 'too wide'buyOffsetTicks = input.int(title="BUY offset (ticks)", defval=25, minval=0)sellOffsetTicks = input.int(title="SELL offset (ticks)", defval=25, minval=0)// High-contrast colorsbuyLabelBgColor = input.color(title="BUY label background", defval=color.rgb(0, 50, 45)) sellLabelBgColor = input.color(title="SELL label background", defval=color.rgb(80, 0, 0)) buyTextColor = input.color(title="BUY text color", defval=color.white) sellTextColor = input.color(title="SELL text color", defval=color.yellow) labelSizeOpt = input.string(title="Label size", defval="normal", options=["tiny","small","normal","large","huge"])lblSize = labelSizeOpt == "tiny" ? size.tiny : labelSizeOpt == "small" ? size.small : labelSizeOpt == "normal" ? size.normal : labelSizeOpt == "large" ? size.large : size.huge// ===================== Fractals Logic =====================upPivot = ta.pivothigh(high, n, n)downPivot = ta.pivotlow(low, n, n)upFractal = not na(upPivot)downFractal = not na(downPivot)// ===================== Labels =====================// Removed extra character spacing for better readabilityif showLabels and downFractal label.new(bar_index - n, low[n] - buyOffsetTicks * syminfo.mintick, "BUY", xloc=xloc.bar_index, yloc=yloc.price, style=label.style_label_up, color=buyLabelBgColor, textcolor=buyTextColor, size=lblSize)if showLabels and upFractal label.new(bar_index - n, high[n] + sellOffsetTicks * syminfo.mintick, "SELL", xloc=xloc.bar_index, yloc=yloc.price, style=label.style_label_down, color=sellLabelBgColor, textcolor=sellTextColor, size=lblSize)// ===================== The "Long V" Extensions =====================plotshape(showLabels and upFractal, title="Long V Sell", style=shape.arrowdown, location=location.abovebar, offset=-n, color=sellLabelBgColor, size=size.normal)plotshape(showLabels and downFractal, title="Long V Buy", style=shape.arrowup, location=location.belowbar, offset=-n, color=buyLabelBgColor, size=size.normal)
2025-12-23
254
글번호 229318
지표
답변완료
수정문의
input : length(26), period(25);var : a(0),b(0),up(False);var : scr(0), M1(0), M2(0), base(0), diff(0);scr = (h+l)/2;M1 = Ema(C, Period);M2 = Ema(M1, Period);Base = Ema(M2, Period);diff = Base - Base(2);a = wma(2*wma(scr,length/2) - wma(scr,length), floor(sqrt(length)));b = wma(wma(close,(length/2)/3)*3 - wma(close,(length/2)/2) - wma(close,(length/2)),(length/2));up = b > a and b[1] < a[1];if UP && UP[1] == False && diff>0 && a<b && b<base && O<base Then Find(1);좀 응용해서 첨부파일 한화오션차트의 2025.7.11과 같은 것을 검색하려고((2025.5.28, 10.2같은 신호는 제외하고)위 수식을 만들어봤는데 검증에서 diff = Base - Base(2);줄에 대해 함수만이 값을 가질 수 있다고 나옵니다.수정부탁드립니다.
2025-12-23
234
글번호 229312
종목검색
답변완료
수식문의
아래 수식을 예스수식으로 만들어봐도 도저히 안되어 변환요청드립니다.a = wavg(2*wavg(scr,length/2) - wavg(scr,length), floor(sqrt(length)));b = wavg(wavg(close,(length/2)/3)*3 - wavg(close,(length/2)/2) - wavg(close,(length/2)),(length/2));up = b > a and b(1) < a(1);UP && !UP(1)length 26,scr (h+l)/2
2025-12-23
123
글번호 229308
종목검색