답변완료
종목검색 잘부탁드립니다
#####, 신호발생후 3봉까지 검색 되게 해주세요###### 신호발생후 3봉까지 변수 부탁드려요###### 시장구분없이 검색 되도록 부탁드립니다input : uselow_bull(true); input : usehigh_bear(true); input : line_forward(8); input : line_back(-200); input : label_offset(8); input : 시장구분(1);#1:KP, 2:KQ var : use_low_bull(0),use_high_bear(0); var : bull_dir(False),bear_dir(False),red_bar(false),green_bar(False); var : strong_bull_dir(False),strong_bear_dir(False),nuetral_bar(False); var : line_price(naN),label_price(NaN); var : is_bar_index(0),a(0),b(0),price(0); var : bull_break(False),bear_break(False); var : confirmed_bull_(False),bull_value(0); var : confirmed_bear_(False),bear_value(0); use_low_bull = IFf(uselow_bull,low,close); use_high_bear = IFF(usehigh_bear,high,close); bull_dir = close >= open[1]; bear_dir = close <= open[1]; red_bar = open < close; green_bar = open > close; strong_bull_dir = bull_dir and red_bar; strong_bear_dir = bear_dir and red_bar; nuetral_bar = strong_bear_dir == False and strong_bull_dir == False; is_bar_index = index; if is_bar_index>0 Then { a = close; b = is_bar_index; } price = close; bull_break = price > high[1] and price > high[2] and price > high[3] and price > high[4] and price > high[5] and price > high[6] and price > high[7] and price > high[8] and price > high[9] and price > high[10] and price > high[11] and price > high[12] and price > high[13] and price > high[14]; // confirmed_bull_ = bull_break[1] and bull_break == False; if confirmed_bull_ == true Then bull_value = high; bear_break = price < low[1] and price < low[2] and price < low[3] and price < low[4] and price < low[5] and price < low[6] and price < low[7] and price < low[8] and price < low[9] and price < low[10] and price < low[11] and price < low[11] and price < low[12] and price < low[13] and price < low[14]; // confirmed_bear_ = bear_break[1] and bear_break == False; if confirmed_bear_ == true Then bear_value = low; input : rsiLen(6); input : rsiOverbought(85); input : rsiOversold(15); var : rsiValue(0),rsiisoverbt(False),rsiisoversld(False); var : bear_signal(False),bull_signal(False); var : bulllabel1(Nan),bulllabel2(nan),bullline(NaN); var : bearlabel1(Nan),bearlabel2(nan),bearline(NaN); rsiValue = rsi(rsiLen); rsiisoverbt = rsiValue >= rsiOverbought; rsiisoversld = rsiValue <= rsiOversold; bear_signal = (bear_break[1] and bear_break == False); bull_signal = (bull_break[1] and bull_break == False); if CodeCategory == 2 and bear_signal then { Find(1); }
2025-10-17
154
글번호 227001
종목검색
답변완료
Python 기반 외부 시스템과의 연동 가능 여부 및 지원 방안 문의
오랜 기간 예스랭귀지를 활용하여 시스템 트레이딩에 참여하고 있으며, 최근 Python 기반의 강화 학습(Reinforcement Learning) 시스템을 활용한 자동 매매 구현을 검토하고 있습니다.이에, 구축하는 Python 시스템과 예스랭귀지 시스템 간의 연동이 가능한지, 그리고 이 과정에서 기술적으로 어떠한 지원을 받을 수 있는지 문의 드립니다.구체적으로는 아래와 같은 방식의 연동 가능성을 확인하고자 합니다.예스랭귀지 → Python: 예스랭귀지에서 실시간 시장 데이터(호가, 체결, 지표 등)를 추출하여 Python 시스템으로 전달하는 방식.Python → 예스랭귀지: Python 시스템에서 생성한 매매 신호(매수/매도, 수량 등)를 예스랭귀지 시스템으로 전달하여 실제 주문을 실행시키는 방식.이러한 외부 시스템과의 연동에 대한 기술 지원 가이드라인이 있는지, 그리고 연동 가능한 범위에 대해 안내해 주시면 감사하겠습니다.
2025-10-17
178
글번호 226998
시스템
답변완료
수식 수정 바랍니다.
안녕하새요.아래 수식은 문의 후 받은 수식인데시가에서 점이나 화살표대신 수평선으로 변경바랍니다.수평선은 당일 내지는 금주까지 표현가능하면 그렇게 부탁드립니다.또한 수평선을 삭제 가능하게 부탁드립니다.var : tx(0),hh(0,Data1),hh1(0,Data2),ll(0,Data1),ll1(0,Data2);if Data2(Bdate != Bdate[1]) Then{ hh = Data2(h); hh1 = hh[1]; ll = Data2(l); ll1 = ll[1];}if Data2(h) > hh[1] Then hh = data2(h);Plot1(hh,"60분봉 고가");Plot2(hh1,"주차트 이전고가");if data2(CrossDown(C,hh1)) Then{ tx = Text_New_Self(data2(sDate),data2(sTime),data2(O)," ▼ "); Text_SetStyle(tx,2,2); Text_SetColor(tx,Yellow);}if Data2(l) < ll[1] Then ll = data2(l);Plot3(ll,"60분봉 저가");Plot4(ll1,"주차트 이전저가");if data2(CrossUp(C,ll1)) Then{ tx = Text_New_Self(data2(sDate),data2(sTime),data2(O)," ▲ "); Text_SetStyle(tx,2,2); Text_SetColor(tx,Red);}
2025-10-17
214
글번호 226990
지표
답변완료
문의드립니다
Inputs: Period(240), Smooth(5), Thr(0.95), UseAutoScale(true), ScaleFix(10000);Vars: U(0), D(0), SU(0), SD(0), FlowRaw(0), Flow(0), Slope(0), Col(magenta), Scale(0);If C > C[1] Then begin U = V; D = 0;endElse If C < C[1] Then begin U = 0; D = V;endElse begin U = V * 0.95; D = V * 0.95;end;SU = SummationRec(U, Period);SD = SummationRec(D, Period);If (SU + SD) <> 0 Then FlowRaw = (SU - SD) / (SU + SD);Else FlowRaw = 0;Flow = TXAverage(Upvol/DownVol,5,20,60); Slope = Flow - Flow[1];If Slope > 0 Then Col = Magenta;buy();Else If Slope < 0 Then Col = Cyan;sell();조건이 갖춰졌을때 처음에만 신호가나올수있게 해주세요
2025-10-17
142
글번호 226971
시스템