커뮤니티

예스랭귀지 Q&A

글쓰기
답변완료

문의드립니다

오후2시이후 당일 중간값을 돌파했을때 종목을 검색하고싶습니다
프로필 이미지
처음처럼22
2022-02-11
628
글번호 156209
종목검색
답변완료

수식 부탁드려요.

안녕하세요? 초보입니다. 5일선이 10일선 밑으로 있다가 바로 5일선이 10일선을 뚫은 종목을 찾고 싶습니다. 너무 초보적인 질문이라 죄송합니다. 감사합니다.
프로필 이미지
촬스권
2022-02-11
807
글번호 156208
종목검색
답변완료

수식수정 부탁 드립니다.

//지표식 == (slope of price) Inputs: Length(14); Variables: idx(0), sum(0),Avgv(0),Power(0),PowAvg(0),Mean(0),PowStd(0),PriceSlope(0); idx = accum(1); Sum = accumn(idx*C,Length); Avgv = (accumn(idx,Length)*(accumn(C,Length)))/Length; Power = (accumn(Pow(idx,2),Length)); PowAvg = Pow(accumn(idx,Length),2)/Length; Mean = Sum - avgv; PowStd = Power - PowAvg; If PowStd == 0 Then PriceSlope = 0; Else PriceSlope = Mean / PowStd; 기존 지표식(slope of price)을 Data2로 바꾸는 과정입니다. 잘못된 부분 수정 부탁드립니다. Inputs: D2Length(14); Variables: D2idx(0), D2sum(0),D2Avgv(0),D2Power(0),D2PowAvg(0),D2Mean(0),D2PowStd(0),D2PriceSlope(0); D2idx = data2(accum(1)); D2Sum = data2(accumn(idx*C,Length)); D2Avgv = data2((accumn(idx,Length)*(accumn(C,Length))))/D2Length; D2Power = data2((accumn(Pow(idx,2),Length))); D2PowAvg = data2(Pow(accumn(idx,Length),2))/Length; D2Mean = D2Sum - D2avgv; D2PowStd = D2Power - D2PowAvg; If D2PowStd == 0 Then D2PriceSlope = 0; Else D2PriceSlope = D2Mean / D2PowStd;
프로필 이미지
다올
2022-02-11
946
글번호 156207
지표
답변완료

함수요청

진입한 봉에서 청산하지 않는 함수 요청드립니다. 감사합니다.
프로필 이미지
흰둥이아빠
2022-02-11
729
글번호 156206
시스템
답변완료

문의

기존 s1 청산수식에 s2 청산수식을 아래처럼 추가했습니다. s1과 별개로 청산변수가 작동되는 수식이 맞는지요. ******************************************************************************** if MarketPosition == -1 Then { if IsEntryName("s1",1) == true and EntryTime >= 090000 and EntryTime < 100000 then { SetStopLoss(loss0910,PercentStop); SetStopTrailing(tr0910,0,PercentStop,1); SetStopInactivity(최소가격0910,봉갯수0910,PercentStop); } else if IsEntryName("s1",1) == true and MarketPosition == -1 and EntryTime >= 100000 and EntryTime < 110000 then { SetStopLoss(loss1011,PercentStop); SetStopTrailing(tr1011,0,PercentStop,1); SetStopInactivity(최소가격1011,봉갯수1011,PercentStop); } else if IsEntryName("s1",1) == true and MarketPosition == -1 and EntryTime >= 110000 and EntryTime < 120000 then { SetStopLoss(loss1112,percentStop); SetStopTrailing(tr1112,0,percentStop,1); SetStopInactivity(최소가격1112,봉갯수1112,PercentStop); } else if IsEntryName("s2",1) == true and MarketPosition == -1 and EntryTime >= 100000 and EntryTime < 110000 then { SetStopLoss(s2loss1011,percentStop); SetStopTrailing(s2tr1011,0,percentStop,1); SetStopInactivity(s2최소가격1011,s2봉갯수1011,PercentStop); } else if IsEntryName("s2",1) == true and MarketPosition == -1 and EntryTime >= 110000 and EntryTime < 120000 then { SetStopLoss(s2loss1112,percentStop); SetStopTrailing(s2tr1112,0,percentStop,1); SetStopInactivity(s2최소가격1112,s2봉갯수1112,PercentStop); } Else { SetStopLoss(loss,PercentStop); SetStopTrailing(tr,0,PercentStop,1); SetStopInactivity(최소가격,봉갯수,PercentStop); } }
프로필 이미지
좌오비우오비
2022-02-11
950
글번호 156205
시스템
답변완료

문의드립니다

수고합십니다 input : period(20) , midperiod(20),d1(2),이평1(120),이평2(240),hp1(20); var : price(0),h1(0),mav1(0),mav2(0); H1 = Highest(c,HP1); price = (C+H+L)/3; var1 = Ema(price,Period)+D1*std(price,Period); Condition1 = C > H1; mav1 = ma(C, 이평1); mav2 = ma(C, 이평2); if CrossUp(C,var1[midperiod-1])and Condition1 and c > mav1 and mav1 > mav2 and Then Find(1); 이식에다가 주가가 일목균형 구름대돌파와 구름대위에 있는 수식이 궁금합니다
프로필 이미지
비스코
2022-02-11
935
글번호 156204
검색
답변완료

종목검색 문의드립니다.

두가지의 조건을 만족시 종목검색 도와시면 감사드리겠습니다. 항상 감사드립니다. 조건1: a=pvi(c); b=avg(pvi(c),period); crossup(a,b) period(20) 조건2: 지표=rsi(기간1); 시그널=eavg(지표,s기간); if(crossup(지표,시그널),max(c,o),0) 기간1 : 14 s기간 : 7
프로필 이미지
주노짜양
2022-02-11
737
글번호 156203
검색
답변완료

부탁드립니다

$,안녕하세요 항상 도움 주심에 감사합니다 아래키움식을 예스식으로 변환 부탁드리니다. 수식1 A=요일(date); (C+ valuewhen(1,A(1)>=A,C(1))+ valuewhen(2,A(1)>=A,C(1))+ valuewhen(3,A(1)>=A,C(1)))/4 수식2 A=요일(date); ( valuewhen(1,A(1)>=A,C(1))+ valuewhen(2,A(1)>=A,C(1))+ valuewhen(3,A(1)>=A,C(1))+ valuewhen(4,A(1)>=A,C(1)))/4 사용된일반함수 : 요일 M=floor(D/100)%100; YY=if((M+1-1)==1 or (M+1-1)==2,floor(D/10000)-1,floor(D/10000)); MM=if((M+1-1)==1,13,if((M+1-1)==2,14,M)); DD=D%100; A=(DD+floor((13*MM+8)/5)+floor(YY/400)+floor(YY/100)+YY)%7+2; if(A>7,A-7,A) #,고맙습니다.
프로필 이미지
크라켄
2022-02-11
759
글번호 156202
지표

2wnwn 님에 의해서 삭제되었습니다.

프로필 이미지
2wnwn
2022-02-11
17
글번호 156201
시스템
답변완료

중가선 좀 부탁 드립니다.

* 좋은 주말 되십시요. * 아래 수식에 대하여 중간선 좀 부탁 드립니다. 현 상태에서 최고가와 최저가 중간선 수평선좀 부탁 드립니다. ## 아래 수식 input : n(100); var : hh(0),ll(0),idx(0),tf(0); var : TL1(0),TL2(0),d1(0),t1(0); if Bdate != Bdate[1] Then idx = 0; Else idx = idx+1; TF = idx%n; if Bdate != Bdate[1] or (Bdate == Bdate[1] and TF < TF[1]) Then { hh = h; ll = l; d1 = sDate; t1 = sTime; #TL_Delete(TL1); TL1 = TL_new(d1,t1,hh,NextBarSdate,NextBarStime,hh); #TL_Delete(TL2); TL2 = TL_new(d1,t1,ll,NextBarSdate,NextBarStime,ll); } if h > hh Then { hh = h; TL_SetBegin(TL1,d1,t1,hh); } if l < ll Then { ll = l; TL_SetBegin(TL2,d1,t1,ll); } TL_SetEnd(TL1,NextBarSdate,NextBarStime,hh); TL_SetEnd(TL2,NextBarSdate,NextBarStime,ll); * 고맙습니다. 좋은 주말되십시요.
프로필 이미지
요타
2022-02-11
990
글번호 156200
시스템