커뮤니티

예스랭귀지 Q&A

글쓰기
답변완료

검색식 부탁 드려요

1. 일목 26일앞(현재봉캔들포함), 선행스팬1 이 선행스팬2 를 골든크로스 할때 종목검색식 부탁드립니다. 2. 일목 26일앞(현재봉캔들포함), 선행스팬1 이 선행스팬2 를 상하 0.1% 수렴 할때 종목검색식 부탁드립니다. 3. 일목균형표 26일앞(현재봉캔들포함), 선행스팬2 보다 선행스팬1 이 클때 종목검색식 (붉은구름) 4. 일목균형표 후행스팬이 선행스팬1 을 골든크로스 할때 종목검색식 5. 일목균형표 후행스팬이 전환선을 골든크로스 할때 종목검색식 6. 일목균형표 후행스팬이 기준선을 골든크로스 할때 종목검색식. 7. 일목균형표 후행스팬이 선행스팬2 골든크로스 할때 종목검색식. 8. 캔들이 선행스팬1을 돌파할때 (관통할때) 종목검색식 9. 캔들이 선행스팬2 를 돌파할때 (관통할때) 종목검색식 부탁드립니다. 10. 단순 5이평이 20 이평을 골든크로스 할때 종목검색식 부탁드려요.
프로필 이미지
일지매7
2024-08-19
1051
글번호 182549
종목검색
답변완료

수식감수 요청

아래 검색식을 예스수식으로 변환해봤읍니다. 이상없는지 감수바랍니다. ============================================================================ -[일]0봉전 Bollinger Band(20,2) 종가가 상한선이상 -이평이격도:[일]0봉전(종가 1, 종가 120) 25%이내 근접 1회이상 -주가등락률:[일]1봉전(중) 종가대비 0봉전 종가등락률 10%이상 -[일]0봉전 RSI(20) 60 이상 -and [일]1봉전 RSI(20) 59.9 이하 -거래량비율(n봉):[일]1봉전 거래량 대비 0봉전 거래량 비율 200%이상 -or 거래량비율(n봉):[일]2봉전 거래량 대비 1봉전 거래량 비율 500%이상 var : AA(0),R(0); AA=BollBandUp(20,2); R = RSI(20); var1 = Disparity(120); if C>AA and var1 <= 125 and C>=C[1]*1.1 and R>60 and R[1]<59.9 and (V>V[1]*2 or V[1]>V[2]*5) Then Find(1);
프로필 이미지
ksks
2024-08-19
764
글번호 182548
종목검색

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

프로필 이미지
ksks
2024-08-14
0
글번호 182547
종목검색
답변완료

괄호문제에 대한 결과

A=BBandsUp(17,2); B=BBandsUp(40,2); M=EnvelopeUp(20,6); (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) 마지막 or 뒤가 위 세줄과의 대칭을 볼때 or (Crossup(C,A) and Crossup(C,B) and Crossup(C,M)) 로 되는 것이 더 합리적으로 보여서 입력하여 차트를 보니 너무 많이 나와 변별력이 오히려 떨어져 위 것(수정해주신 것)을 그대로 쓰기로 했읍니다. 도와주셔서 감사드립니다.
프로필 이미지
ksks
2024-08-14
765
글번호 182546
종목검색
답변완료

문의 드립니다.

//@version=3 study("GMMA fill", overlay=true) //input ------ src = input(close, title="source") len1 = input(3, title="short length 1") len2 = input(5, title="short length 2") len3 = input(8, title="short length 3") len4 = input(10, title="short length 4") len5 = input(12, title="short length 5") len6 = input(15, title="short length 6") len7 = input(30, title="long length 1") len8 = input(35, title="long length 2") len9 = input(40, title="long length 3") len10 = input(45, title="long length 4") len11 = input(50, title="long length 5") len12 = input(60, title="long length 6") trend_color = input(false, title="trend color") //ema ----- s1 = ema(src, len1) s2 = ema(src, len2) s3 = ema(src, len3) s4 = ema(src, len4) s5 = ema(src, len5) s6 = ema(src, len6) l1 = ema(src, len7) l2 = ema(src, len8) l3 = ema(src, len9) l4 = ema(src, len10) l5 = ema(src, len11) l6 = ema(src, len12) //trend trend_up_s = s1 > s2 and s2 > s3 and s3 > s4 and s4 > s5 and s5 > s6 trend_up_l = l1 > l2 and l2 > l3 and l3 > l4 and l4 > l5 and l5 > l6 trend_down_s = s1 < s2 and s2 < s3 and s3 < s4 and s4 < s5 and s5 < s6 trend_down_l = l1 < l2 and l2 < l3 and l3 < l4 and l4 < l5 and l5 < l6 color_s = trend_color and trend_up_s ? #32cd32 : trend_color and trend_down_s ? red : trend_color ? gray : #32cd32 color_l = trend_color and trend_up_l ? #32cd32 : trend_color and trend_down_l ? red : trend_color ? gray : red //plot ----- p_l1 = plot(l1, color=color_l, title="long 1", linewidth=2) p_l2 = plot(l2, color=color_l, title="long 2") p_l3 = plot(l3, color=color_l, title="long 3") p_l4 = plot(l4, color=color_l, title="long 4") p_l5 = plot(l5, color=color_l, title="long 5") p_l6 = plot(l6, color=color_l, title="long 6", linewidth=2) p_s1 = plot(s1, color=color_s, title="short 1", linewidth=2) p_s2 = plot(s2, color=color_s, title="short 2") p_s3 = plot(s3, color=color_s, title="short 3") p_s4 = plot(s4, color=color_s, title="short 4") p_s5 = plot(s5, color=color_s, title="short 5") p_s6 = plot(s6, color=color_s, title="short 6", linewidth=2) //fill ----- fill(p_l1, p_l6, color_l, 80, "fill long 1-6") fill(p_s1, p_s6, color_s, 80, "fill short 1-6") //GCDC ----- disp_gcdc = input("na", options=["na", "circles", "label"], title="display GC/DC") gmma_cross(gmma) => flag = 0 if gmma > l1 and gmma > l2 and gmma > l3 and gmma > l4 and gmma > l5 and gmma > l6 flag := 1 if gmma < l1 and gmma < l2 and gmma < l3 and gmma < l4 and gmma < l5 and gmma < l6 flag := -1 flag s1_cross = gmma_cross(s1) s2_cross = gmma_cross(s2) s3_cross = gmma_cross(s3) s4_cross = gmma_cross(s4) s5_cross = gmma_cross(s5) s6_cross = gmma_cross(s6) cross_cnt = s1_cross + s2_cross + s3_cross + s4_cross + s5_cross gc = cross_cnt==5 and crossover(s6_cross, 0) ? true : false dc = cross_cnt==-5 and crossunder(s6_cross, 0) ? true : false plotshape(gc and disp_gcdc=="label", style=shape.labeldown, color=green, transp=0, location=location.abovebar, text="GC", textcolor=white, title="GC label") plotshape(dc and disp_gcdc=="label", style=shape.labelup, color=maroon, transp=0, location=location.belowbar, text="DC", textcolor=white, title="DC label") plot(disp_gcdc=="circles" ? s6 : na, style=circles, linewidth=4, color= gc ? lime : dc ? red : na, transp=0, title="GC/DC circles") alertcondition(gc or dc, "1. Alert GMMA cross", "GMMA cross") alertcondition(gc, "2. Alert GMMA GC", "GMMA GC") alertcondition(dc, "3. Alert GMMA DC", "GMMA DC") 트레이딩뷰 지표인데 선만 예스로 좀 바꿔주세요.
프로필 이미지
신대륙발견
2024-08-14
870
글번호 182545
지표
답변완료

이평선 수식문의 (이전 문의에 대한 보완요청)

앞에 문의(번호:88612)에 대한 수식 감사합니다..잘 만들어 쓰겠습니다. 답변해 주신 수식은 만들어서 보니 조금 부족한 점이 있어서 보완 요청 드립니다. 답변해 주신 수식은 연결차트에서는 제가 원하는게 잘 표현 되는데. 첨부파일에 보시는봐야 같이 차트속성에 들어가서 분,틱봉의 금일분만 적용시 5,20,60선이 첫봉부터 안나오내요..? 번거럽겠해서 죄송하지만 ,..분,틱봉의 금일분만 적용시 에 체크해도, 5,20,60이평선이 첫봉부터 나오도록 수식 부탁 그리겠습니다..
프로필 이미지
냠냠냠
2024-08-13
733
글번호 182544
지표
답변완료

수식 문의

안녕하세요? input: p(500); 분봉차트에서 abs(data2(C)-data2(C)[1],p)를 구하고 싶습니다. 그러니까, data2에서 C - C[1]의 절대값의 평균값을 구하고 싶은데, 그림에서처럼, 날짜가 바뀌거나 장 막판에 너무 큰 값이 나오는 것을 제외한 평균을 구하고 싶습니다. 'm평균봉차이' 라는 사용자 함수로, m평균봉차이(data2(C), p) = 위의 값이 나오고, m평균봉차이(data3(C), p) = data3 에 대해서 C - C[1]의 절대값의 평균값이 나오기를 원합니다. 감사합니다.
프로필 이미지
에구머니
2024-08-13
786
글번호 182543
사용자 함수
답변완료

안녕하세요 수식 부탁드립니다~

안녕하세요 더운 날씨에 수고 많으십니다. 1. 현재봉기준 20봉 이내에, RSI(9) N(30) 이하 과매도구간, 1회 이상 발생. and 현재봉기준 DMI(9)는 +DI > -DI and ADX > 20 2. 아래의 수식을 RSI(9) 대신 MACD(3,25,10)를 사용하여 MACD가 볼린저밴드 상단 이상인 종목검색식. input : Period(9),BBPeriod(20),Dv(2); var : R(0); R = RSI(Period); var1 = ma(R,BBPeriod); Var2 = var1+std(R,BBPeriod)*dv; Var3 = var1-std(R,BBPeriod)*dv; if R > Var2 Then Find(1); 3. MACD와 볼린저밴드를 결합한 지표를 차트에 구현할 수 있는 지표수식. 위의 수식들을 부탁드립니다. 도움주셔서 늘 감사드립니다. 고맙습니다!
프로필 이미지
소나기
2024-08-18
799
글번호 182542
종목검색
답변완료

종목 검색식 부탁드림니다

항상 노고에 감사드림니다. 아래의 수식을 종목검색식으로 부탁드림니다. 변=Max(C,O); 동=Min(C,O); 상단=Highest(변,60); 하단=Lowest(동,60); 고저=(상단-하단)/하단*100; 최종=고저(1)<30 && crossup(C, 상단(1)) && Highest(V,60, 1)<V
프로필 이미지
존슨비치
2024-08-13
777
글번호 182541
종목검색
답변완료

지표식 요청 드립니다.

안녕하세요 항상 빠른 답변 감사 드립니다. 1 지표식 및 검색식 아래 키움 영웅문 일목균형표 응용식을 예스 지표식 및 종목 검색식 요청 드립니다. 검색식은 음운에서 양운으로 변환 될때 지점을 검색 하고자 합니다. 수식4_M20 M20=MA(가격,기간1,종류); M5=MA(가격,기간2,종류); 교차=M20*2-M5; 이격=M5-M20; M20+이격*(비율/100); 수식5_비율 M20=MA(가격,기간1,종류); M5=MA(가격,기간2,종류); 이격=M5-M20; M20-이격*(비율/100); 지표조건 기간1=20 기간2=5 가격=(H+L+C)/3 비율=100 종류=지수 2. 혹시 이런 주문 조건식이 가능하다면 요청드립니다. 특정 매수,매도 조건식에 의해 포지션이 진입하게 되면 다른 조건식의 신규 포지션 진입 주문 발생이 안되는 조건식이 가능하다면 요청 드립니다. ps. 중복진입 옵션에서 선택이 아닌 조건식으로 구현을 희망합니다. 3. 추가적으로 중복진입 옵션을 조건식으로 안내 가능하다면 요청 드립니다. 중복 진입금지 , 다른 진입 신호만,허용, 모든 진입신호 허용 그럼 좋은 하루 되세요
프로필 이미지
느와르
2024-08-19
802
글번호 182540
지표