답변완료
날짜 와시간 표시 관련
input : 시작일(20250701),시작시간(090000);input : 이평1(60),이평2(60),이평3(240);input : 윌리엄스R기간값(12);input : 손절틱수(350),트레일링스탑틱수(100),목표틱수(300),청산틱수(300);var : mav1(0),mav2(0),mav3(0),WR(0);if sdate >= 시작일 and sTime >= 시작시간 Then{ Condition1 = true; Condition2 = true;}MAV1 = MA(c,이평1); MAV2 = MA(c,이평2);MAV3 = MA(c,이평3);WR = WILLR(윌리엄스R기간값);if TotalTrades > TotalTrades and IsExitName("StopLoss",1) ==true Then Condition2 = False;if Condition1 == true Then{ if MarketPosition == 0 and c < mav3 and CrossDown(WR, -20) Then Sell("s"); if MarketPosition == -1 Then { if lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*청산틱수 Then if CrossUp(C,mav2) Then ExitShort("sx"); } if MarketPosition == -1 Then { if lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*목표틱수 Then ExitShort("str",AtStop,EntryPrice-PriceScale*트레일링스탑틱수); } SetStopLoss(PriceScale*손절틱수,PointStop);}날짜와 시간을 꼭 지정을 해야 되나요? 건건마다 날짜와 시간 지정없이 시스템을 작동된다면은 그에 따른 수식을 어떻게 되나요?답변 부탁 드립니다.
2026-01-22
254
글번호 229984
시스템
답변완료
시스템 작동 관련
input : 이평1(60);input : 윌리엄스R기간값(90);input : 손절틱수(300),청산틱수(300);var : mav1(0),WR(0);MAV1 = MA(c,이평1);WR = WILLR(윌리엄스R기간값);if TotalTrades > TotalTrades and IsExitName("StopLoss",1) ==true Then Condition2 = False;if Condition1 == true Then{ if CrossDown(WR, -20) Then Sell("s");if MarketPosition == -1 Then{ if lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*청산틱수 Then if CrossUp(C,mav1) Then ExitShort("sx"); }SetStopLoss(PriceScale*손절틱수,PointStop);이와 같은 식으로 시스템을 작동을 햇는데, 진입이 되지 않고, 신호도 나오지 않습니다.
2026-01-22
196
글번호 229983
시스템
답변완료
수식문의
A=BBandsUp(17,2);B=BBandsUp(40,2);M=EnvelopeUp(20,2);(c>ma(h,5) and Crossup(A,M)) or(c>ma(h,5) and B>M and Crossup(A,B)) or(A>B and B>M and Crossup(C,A)) or(Crossup(C,A)) and Crossup(C,B) and Crossup(C,M))과거 위 수식문의 드렸을 시 괄호문제로 어려움이 있었읍니다만,아래 두 방식으로 수식을 부탁드립니다.1. 위 수식에 있는 그대로 똑같이 괄호(위치)를 넣은 수식2.마지막 줄 (Crossup(C,A)) and Crossup(C,B) and Crossup(C,M))만을 (Crossup(C,A) and Crossup(C,B) and Crossup(C,M))로 바꾸고(나머지는 동일) 당일 시가와 50단순이평과의 이격이 10%이내
2026-01-22
263
글번호 229979
종목검색
답변완료
예스트레이더 검색식으로 변환 부탁드립니다.
안녕하십니까?또한번 부탁드리겠습니다.아래수식은 키움의 신호수식인데 예스트레이더의 종목 검색식으로 변환 부탁드립니다.그리고 돌파와비율은 제외하고 4가지 모두가 하락하다가 4가지모두 상승 최초상승한날만을 검색하는 검색식도 가능할까요?예를 들자면 1가지 2가지 3가지 상승할때는 무시하고 4가지모두가 상승이 왼성되는 지점을 말하는 거에요가능하다면 부탁을 드립니다.M1=LRL(기간);EM1=eavg(C, 기간1);EM2=eavg(EM1, 기간1);eq0=EM1-EM2;ZLE=EM1+eq0; A=linearregressionvalue(C,기간1,0);A1=linearregressionvalue(A,기간1,0);eq=A-A1;ZLS=A+eq;B=linearregressionvalue(C,기간2,0);B1=linearregressionvalue(B,기간2,0);eq1=B-B1;ZLS1=B+eq1;AA=MAX(M1, ZLE, ZLS, ZLS1);BB=MIN(M1, ZLE, ZLS, ZLS1);BB*비율>=AA && CROSSUP(C, AA) && M1(1)<M1 && ZLE(1)<ZLE && ZLS(1)<ZLS && ZLS1(1)<ZLS1지표변수기간: 20, 기간1: 50, 기간2: 100, 비율:1.02
2026-01-22
299
글번호 229977
검색
답변완료
수식 문의 드립니다
시스템 담당자님, 수고 많으십니다.하기식을 data2 식으로 변환해 주시면 감사 하겠습니다.Input : BBPeriod(40), dv(50);var : BBmd(0),BBup(0),BBdn(0);BBmd = ma(C, BBPeriod);BBup = BollBandUp(BBPeriod, dv);BBdn = BollBandDown(BBPeriod, dv); Input : Period(80) ;var : DMIv(0),DP(0),DM(0);DMIv = DMI(Period); DP = DIPlus(Period);DM = DIMinus(Period); input : P(300),per(250); var12 = EnvelopeUp(P,per); var22 = EnvelopeDown(p,per); var32 = ma(C,P); input : period5(300), period15(150),period25(300);var : 스토g(0), 스토q(0);스토g = StochasticsK(period5,period15);스토q = StochasticsD(period5,period15,period25); input : P81(300),P82(200); var18 = trix(P81); var28 = ema(var18,p82);Input : shortP231(300), longP231(200), emaP31(200);Var : MACDlong31(0),MACDlongSIG31(0);MACDlong31 = MACD(shortP231, longP231);MACDlongSIG31 = ema(MACD(shortP231, longP231), emaP31); Input : shortP230(400), longP230(300), emaP30(300); Var : MACDlong30(0),MACDlongSIG30(0); var : S(0),T(0); MACDlong30 = MACD(shortP230, longP230); MACDlongSIG30 = ema(MACD(shortP230, longP230), emaP30); input : P19(300) ,P29(400);var19 = CCI(P19);var29 = ema(var19,P29);Input : Period1(300), sigPeriod1(250);value12 = TRIX(Period1);value22 = ema(value12, sigPeriod1); Inputs: ShortPeriod(300),LongPeriod(300),매수기준선(100),매도기준선(-100); Variables: Fval(0),FvalFast(0),FvalSlow(0); Fval = ((Close - Close[1]) * Volume) ; FvalFast = Ema(Fval, ShortPeriod); FvalSlow = Ema(Fval, LongPeriod); if 스토g>스토g[10] && var19>var19[20] && FvalFast<FvalFast[30] && MACDlong31<MACDlong31[40] && var12<var12[50] && DP <DM && DMIv >10 && DMIv> DP && c< var12 && c< BBup Then Buy(); if 스토g<스토g[10] && var19<var19[20] && FvalFast>FvalFast[30] && MACDlong31<MACDlong31[40] && var12<var12[50] Then ExitLong(); if 스토g<스토g[30] && var19<var19[40] && FvalFast>FvalFast[50] && MACDlong31<MACDlong31[40] && var12<var12[50] Then Sell();위 식을 data2 식으로 변환해 주시면 감사하겠습니다
2026-01-22
363
글번호 229976
시스템