커뮤니티
예스랭귀지 Q&A
답변완료
[공지] 예스랭귀지 AI 어시스턴트, '예스나 AI' 출시 및 무료 체험 안내
안녕하세요, 예스스탁 입니다.복잡한 수식 공부 없이 여러분의 아이디어를 말하면 시스템 트레이딩 언어 예스랭귀지로 작성해주는 서비스예스나 AI(YesNa AI)가 출시되었습니다.지금 예스나 AI를 직접 경험해 보실 수 있도록 20크레딧(질문권 20회)를 무료로 증정해 드리고 있습니다.바로 여러분의 아이디어를 코드로 변환해보세요.--------------------------------------------------🚀 YesNa AI 핵심 기능- 지표식/전략식/종목검색식 생성: 자연어로 요청하면 예스랭귀지 문법에 맞는 코드를 작성합니다.- 종목검색식 변환 지원: K증권의 종목 검색식을 예스랭귀지로 변환 지원합니다.- 컴파일 검증: 작성된 코드가 실행 가능한지 컴파일러를 통해 문법 검증을 거쳐 결과물을 제공합니다.상세한 서비스 개요 및 활용 방법은 [서비스 소개 페이지]에서 확인하실 수 있습니다.▶ 서비스 소개 페이지: 바로가기서비스 사용 유의사항 및 결제 환불정책은 [이용약관]을 참고 부탁드립니다.▶ 서비스 이용약관: 바로가기💬 이용 문의사용 중 문의사항은 [프로그램 사용법 Q&A] 게시판에서 [예스나 AI] 카테고리를 설정 후 문의해 주시면 상세히 안내해 드리겠습니다.--------------------------------------------------앞으로도 AI를 활용한 다양한 트레이딩 기능들을 지속적으로 선보일 예정입니다.많은 관심과 기대 부탁드립니다.
2026-02-27
5404
글번호 230811
답변완료
문의드립니다
n일 동안의 평균 하루동안 생기는 봉갯수를 알고싶습니다
3일전에 봉갯수는 8개
2일전에 봉갯수는 11개
1일전 봉갯수는 12개
당일 봉갯수는 9개 라면...
6개월 또는 1년 평균으로하면 하루 봉갯수가 몇개일까요?
감사합니다
2024-09-01
840
글번호 183039
답변완료
tsi선이 signal선을 골든크로스하는 종목검색
반갑습니다.
예스트레이더에서 아래에 있는 키움수식으로 종목검색을 하고싶습니다.
Mtm1=C(1)-C;
Mtm2=abs(Mtm1);
rPeriod;
sPeriod;
Period;
tsi=MA(MA(Mtm1, rPeriod,지수),sPeriod,지수)/
MA(MA(Mtm2,rPeriod,지수),sPeriod,지수)*-100;
signal=eavg(tsi,Period);
crossup(tsi,signal)
지표변수
rPeriod 12, sPeriod 26 , Period 9
이상입니다.
상기 tsi선이 signsl선을 골든크로스 하는 종목을 찾도록 부탁드립니다.
감사합니다.
2024-09-01
971
글번호 183038
답변완료
PDI 가 MDI를 크로스업.....
1. PDI 가 MDI를 크로스업할 때는 바로 그 봉 아래에, 크로스다운할 때는
그 봉 위에 두께 3정도의
빨간 점, 파란 점 1개 씩만 표시하는 수식 부탁드립니다.
아래와 같은 수식을 쓰면 계속적으로 점이 표시되는 데, 교차하는 그 지점만 표시할수
있게 수정해주시기 바랍니다.
if CrossUp(PDI,MDI) Then Plot1(L-PriceScale*1,"검색",Magenta);
if CrossUp(MDI,PDI) Then Plot1(L-PriceScale*1,"검색",Blue);
2. 그리고 ADX선이 기준선25 아래에 있을때 그 두가지 선들의 사이를 노란색으로
채워서 나타내는 식을 부탁드립니다. 미리 감사드립니다.
2024-09-01
846
글번호 183037
다올 님에 의해서 삭제되었습니다.
2024-09-01
9
글번호 183036
답변완료
적용가능하도록 부탁드립니다.
**트레이팅뷰의 지표입니다. 적용가능하도록 부탁 드립니다.
indicator("Triple Confirmation Kernel Regression Oscillator Overlay [QuantraAI]", "KRO Overlay [QuantraAI]", true, format.price, timeframe = "", timeframe_gaps = false)
import QuantraAI/QuantraMAs/2 as DynamicMA
import QuantraSystems/DynamicFunctions/1 as DynamicFunc
var string KRS = "??? ??????? - Settings", var string KRU = "??? ??????? - UI"
source = input.source(close, "Source", group = KRS)
bandwidth = input.int (45, "Bandwidth", 1, group = KRS, tooltip = "Length of the Kernel Regression calculation")
width = input.float (2, "Width", step = 0.2, group = KRS, tooltip = "Smoothes the Signal")
sdLook = input.int (150, "Standard Deviation Lookback", group = KRS, tooltip = "Length of the SD bands lookback period")
sdMult = input.float (3, "Standard Deviation Extreme for OB/OS Border", step = 0.5, group = KRS, tooltip = "Defines the outer border of the SD bands. ₩nThe inner border begins at 50% of the SD Multiplier")
ColMode = input.string("Modern", "Color Palette Choice", inline = "QQ1", group = KRU, options = ["Classic", "Modern", "Robust", "Accented", "Monochrome"])
man = input.bool (false, "Custom Palette", inline = "QQ1", group = KRU)
manUpC = input.color (#00ff00, "Custom Up", inline = "man", group = KRU)
manDnC = input.color (#ff0000, "Custom Down", inline = "man", group = KRU)
sig = input.bool (false, "Show Trend Signals", group = KRU)
BCol = input.bool (true, "Enable Bar Coloring", group = KRU)
devS = input.bool (true, "Enable Deviation Band Shading", group = KRU)
OBOS = input.bool (true, "Enable Overbought/Oversold Shading", group = KRU)
TR = input.int (85, "Shading Transparency", 0, 100, group = KRU)
// Color assignment based on the
[UpC, DnC] = switch ColMode
"Classic" => [#00E676, #880E4F]
"Modern" => [#5ffae0, #c22ed0]
"Robust" => [#ffbb00, #770737]
"Accented" => [#9618f7, #ff0078]
"Monochrome" => [#dee2e6, #495057]
// Override with custom colors if manual
[UpCol, DnCol] = switch man
false => [UpC, DnC ]
true => [manUpC, manDnC]
// Achieves a non-deciaml tick size
rescale(src) => src * (1 / syminfo.mintick)
descale(src) => src / (1 / syminfo.mintick)
// Rescale the Input Source
source := rescale(source)
Wave = descale(DynamicFunc.waveCalculation (source, bandwidth, width ))
// Triple Confirmations
Ep = descale(DynamicFunc.kernelRegression(source, bandwidth, 'Epanechnikov' ))
Lo = descale(DynamicFunc.kernelRegression(source, bandwidth, 'Logistic' ))
Wa = descale(DynamicFunc.kernelRegression(source, bandwidth, 'Wave' ))
// Average
AV = math.avg(Ep, Lo, Wa) + close
Mid = DynamicMA.SMA(AV, sdLook)
arrUp = Wave > Wave[1] and not (Wave[1] > Wave[2])
arrDn = Wave < Wave[1] and not (Wave[1] < Wave[2])
// Standard Deviation Bands
[_, u1, l1] = DynamicFunc.stdv_bands(AV, sdLook, sdMult/2)
[_, u2, l2] = DynamicFunc.stdv_bands(AV, sdLook, sdMult)
// Define shared display settings
var all = sig ? display.all : display.none
// Main Plots
pu1 = plot (u1, "1.???? +", color.new(DnCol, 70) )
pl1 = plot (l1, "1.???? -", color.new(UpCol, 70) )
pu2 = plot (u2, "2.???? +", color.new(DnCol, 70) )
pl2 = plot (l2, "2.???? -", color.new(UpCol, 70) )
mid = plot (Mid, "Mid", color.gray, 2 )
HL2 = plot (hl2, "", color (na) )
wave = plot (Wave, "???????????? ????????", BCol ? color (na) : Wave > Wave[1] ? UpCol : DnCol, 3 ),
fill (pu1, pu2, u2, u1, devS ? color.new(DnCol, 60) : na, color.new(chart.bg_color, 55) ),
fill (pl1, pl2, l2, l1, devS ? color.new(UpCol, 60) : na, color.new(chart.bg_color, 55) ),
fill (wave, HL2, Wave, hl2, BCol ? color.new(Wave > Wave[1] ? UpCol : DnCol, 50) : na, color.new(chart.bg_color, 75) ),
plotshape(arrUp, "Trend", shape.arrowup, location.belowbar, UpCol, 0, "Up", UpCol, size = size.auto, display = all ),
plotshape(arrDn, "Trend", shape.arrowdown, location.abovebar, DnCol, 0, "Down", DnCol, size = size.auto, display = all ),
bgcolor (OBOS ? (AV > u2 ? color.new(DnCol, TR) : AV < l2 ? color.new(UpCol, TR) : na) : na),
barcolor (BCol ? Wave > Wave[1]? UpCol : DnCol: na)
2024-09-01
1469
글번호 183035
겐지 님에 의해서 삭제되었습니다.
2024-09-01
53
글번호 183034
답변완료
키움 종목검색
후팬반=(shift(close,-13+1));
후팬정=(shift(close,-26+1));
CrossUP(후팬정, 후팬반)&&
CrossUP(5,40)
2024-09-01
696
글번호 183033
박셰프 님에 의해서 삭제되었습니다.
2024-09-01
78
글번호 183032
답변완료
문의드립니다.
88832번을 적용시켜보면 작동이 안되는 거 같습니다.
한번 확인 부탁드려도 될까요?
노고에 늘 감사드립니다~
2024-09-01
838
글번호 183031