커뮤니티

예스랭귀지 Q&A

글쓰기
답변완료

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

(1)포지션이 진입 후 부터 계산해서 개인 옵션전체금액 data7(c)에 존재하는데 진입후 10억 빠지면 즉시청산 그리고 진입 후 부터 게산해서 10억 증가면 즉시청산 - 당일 8시45분부터 추적하는것입니다. (2)그리고 옵션전체금액을 3분 5분 이평해서 진입후 이평이 상방돌파 하방돌파에 청산하고 싶네요
프로필 이미지
구름달
2025-08-06
120
글번호 192984
시스템
답변완료

수식 부탁드립니다.

질문1. 1. 3분봉에서 봉당 거래금액이 10억원 이상 3개봉 연속 2. 1번조건을 충족하면서 money flow index가 3개봉이 80이상 이면서 당일 최근1시간 이내 mfi 최저점이 50이하로 한번도 내려가지 않아야 함 3. 당일 고점과 저점의 변동폭이 3%이상인 종목 find(1); 질문2. 5분동안 변동폭이 높은 종목 top10 ex) 09:00~09:05 -> 결과값 09:05~09:10 -> 결과값 09:10~09:15 -> 결과값 이런식으로 지정분 단위로 볼수 있는 방법 없을까요? 이게 안된다면 find(1); 종목검색형식으로 가능할런지요? 부탁드립니다
프로필 이미지
허밍스타
2025-08-05
165
글번호 192976
종목검색
답변완료

부탁드립니다

A=ma(C,5); B=ma(C,20); 조건=CrosUp(A,B); 10일 이내에는 조건이 한번도 발생한 적이 없다가 오늘 발생한 종목을 찾는 검색식 부탁드립니다.
프로필 이미지
삼손감자
2025-08-05
144
글번호 192975
종목검색
답변완료

부탁드립니다

Input : Period(14) ; var : DMIv(0),DP(0),DM(0),cnt(-1); DMIv = DMI(Period); DP = DIPlus(Period); DM = DIMinus(Period); if CrossUp(dp,dm) && v[1]*1.2 <v Then var1 = c ; if CrossUp(c,var1) Then Var2 = c; if crossup(c,var2) Then find( c> 1000 && v > 100000) ; var1=c 라인을 돌파(var2=c) 이 라인을 다시돌파한 자리 검색. var2부터 작동불능. 검토부탁 드립니다.
프로필 이미지
nams60
2025-08-05
171
글번호 192970
종목검색
답변완료

수식 문의 드립니다.

안녕하세요. 수식 문의 드립니다. 1. 신고가 A = Valuewhen(1, Highest(H, 기간)==H, H); 2. 신저가 B = Valuewhen(1, Lowest(L, 기간)==L, L); 3. 신고가, 신저가(기간= 10) 23.6%, 38.2%, 50%, 61.8%, 78.6% 4. 5, 20일선 5. 5, 20일선 G/C 선 ------------------------------------------- 부탁드립니다. 감사 합니다
프로필 이미지
s1017051
2025-08-05
156
글번호 192969
지표
답변완료

수식 완성부탁드립니다.

input : Period(20),Period1(5),Period2(20),A(0); var1 = ma(C,Period); Var2 = ma(C,Period2); Var3 = (ma(c,Period1)-Var2)/C*100; if Crossup(C,Var1) and Var2 > Var2[1] and Var2[1] < Var2[2] and CrossUp(Var3,A) Then Find(1); 고생이 많으십니다. 위 수식을 지표식과 검색식으로 각각 변환 부탁드립니다. 감사합니다.
프로필 이미지
행복사랑채
2025-08-04
156
글번호 192968
지표
답변완료

질문 부탁드립니다

수고가 많으십니다 h>l*1.10 이라는 조건이 1.분봉상에서 조건만족이 당일 처음일때만 나오게 하기 (당일 첫봉이 아닌, 당일 처음으로 발생했을때) 2. 당일 3번째까지 나오게 하기 3. 만약 당일 조건만족이 없을경우 이후에 조건만족이 발생할때, 전후의 거래일 차이를 저장한뒤 그 거래일 이상의 간격으로 만족하는 경우를 찾게 하려고 합니다 예시) 조건만족 발생 - 다음거래일 조건만족 없음 (A 시점) - A 시점 기준 3거래일 후에 만족 발생 한다면 앞으로는 전후가 3거래일 이상 차이가 나는 (3일 후, 4일 후..등 3거래일 이상) 경우에만 만족봉의 고가값을 찾음. 작성을 부탁드립니다 감사합니다
프로필 이미지
yamu
2025-08-05
138
글번호 192967
지표
답변완료

틱봉에서 ADX, DM DP계산하기

더운데 수고 많으시죠! 아래 3개의 지표를 각각 틱 차트에서 DATA2를 사용하지 않고, 5분BOX를 기준으로 계산해서 사용해보고자 합니다. var1 = ADX(11); var2 = DiPlus(11); var3 = DiMinus(11); 감사합니다!
프로필 이미지
짱짱해야지
2025-08-04
144
글번호 192966
지표
답변완료

변환 부탁드립니다.

트레이딩 뷰 지표입니다. 변환 부탁 드립니다. //@version=6 indicator("Zone Shift [ChartPrime]", max_lines_count = 500, overlay = true, max_labels_count = 500) // --------------------------------------------------------------------------------------------------------------------} // ?? ???????? ???????????? // --------------------------------------------------------------------------------------------------------------------{ int length = input.int(100, "Length 60-200", minval = 60, maxval = 200) color upColor = input.color(color.lime, "", inline = "colors") color dnColor = input.color(color.blue, "", inline = "colors") // --------------------------------------------------------------------------------------------------------------------} // ?? ?????????????????? ???????????????????????? // --------------------------------------------------------------------------------------------------------------------{ var trend = false var trendStart = float(na) var lastRetest = bar_index float ema = ta.ema(close, length) float hma = ta.hma(close, length-40) float dist = ta.sma(high-low, 200) float mid = math.avg(ema, hma) float top = mid + dist float bot = mid - dist if barstate.isconfirmed if low > top and low[1] < top[1] and not trend trend := true trendStart := low if high < bot and high[1] > bot[1] and trend trend := false trendStart := high trend_col = trend ? upColor : dnColor // Retest TrendStart Level if barstate.isconfirmed if (close > trendStart and close[1] < trendStart[1] or low > trendStart and low[1] < trendStart[1] ) and trend and bar_index - lastRetest > 5 lastRetest := bar_index label.new(bar_index, low, "?", color = color.new(color.black, 100), style = label.style_label_up, textcolor = trend_col) if (close[1] > trendStart and close < trendStart[1] or high[1] > trendStart and high < trendStart[1]) and not trend and bar_index - lastRetest > 5 lastRetest := bar_index label.new(bar_index, high, "?", color = color.new(color.black, 100), style = label.style_label_down, textcolor = trend_col) // --------------------------------------------------------------------------------------------------------------------} // ?? ?????????????????????????? // --------------------------------------------------------------------------------------------------------------------{ plot(mid, "Middle", color = bar_index % 2 == 0 ? chart.fg_color : na) plot(top, "Top", color = chart.fg_color ) plot(bot, "Bottom", color = chart.fg_color ) barcolor(trend_col) plotcandle(open, high, low, close, title='CandleColor', color = trend_col, wickcolor=trend_col, bordercolor = trend_col, force_overlay = true) plot(trendStart != trendStart[1] ? na : trendStart, "Trend Initiation Level", style = plot.style_linebr, color = bar_index % 2 == 0 ? chart.fg_color : na) // --------------------------------------------------------------------------------------------------------------------}
프로필 이미지
다올
2025-08-04
178
글번호 192965
지표
답변완료

화살표 표시가 되지 않습니다.

안녕하세요 Q&A 92545 글의 답글을 보고 아래와 같이 코드를 작성하였습니다. input : short(10),long(100); var : macdv(0),tx(0); macdv = macd(short,long); Plot1(macdv); PlotBaseLine1(0); if CrossUp(macdv,0) Then { tx = Text_New(sDate,sTime,macdv,"▲"); Text_SetColor(tx,Red); Text_SetSize(tx,20); } 새로운 지표로 만들어서 지표 적용하기를 하면 첨부의 그림과 같이 신호선은 생성이 됩니다만 신호 발생지점에서 ▲ 는 생성되지 않고 있습니다. 왜 그런지 이유를 알 수 있을까요? 답변에 미리 감사드립니다.
프로필 이미지
심플리3
2025-08-04
147
글번호 192964
지표