커뮤니티

지표와 종목검색식 문의드립니다.

프로필 이미지
600만달러
2025-10-01 11:33:27.0
55
글번호 194439
답변완료
수고하십니다. 지표와 종목검색식 좀 부탁드려요~ 1. 일봉 차트에 들어갈 슈퍼트렌드 10, 3 값을 만들고 싶습니다. 2. 어제와 오늘 슈퍼트렌드 10, 3 골든크로스 된 종목검색식을 만들고 싶습니다. 3. 사용법 문의인데요. 예스랭기지 편집기에서 검증 후 3202 파워종목검색에서 바로 불러와서 검색 버튼을 누르면 되는건가요?
검색
답변 3
프로필 이미지

예스스탁 예스스탁 답변

2025-10-01 14:57:43.0

안녕하세요 예스스탁입니다. 1. 지표 input : period(10),multiplier(3); var : src(0), alpha(0),ATRV(0),upperBand(0),lowerBand(0),direction(0),SuperTrend(C); if CurrentBar > 1 Then { src = (H+L)/2; alpha = 1 / period ; ATRV = IFf(IsNan(ATRV[1]) == true, ma(TrueRange,period) , alpha * TrueRange + (1 - alpha) * IFf(isnan(ATRV[1])==true,0,ATRV[1])); upperBand = src + multiplier * AtrV; lowerBand = src - multiplier * AtrV; if lowerBand > lowerBand[1] or close[1] < lowerBand[1] Then lowerBand = lowerBand; Else lowerBand = lowerBand[1]; if upperBand < upperBand[1] or close[1] > upperBand[1] Then upperBand = upperBand; Else upperBand = upperBand[1]; if C > UpperBand Then direction = 1; if C < LowerBand Then direction = -1; if direction == 1 Then SuperTrend = lowerband; Else SuperTrend = upperband; Plot1(SuperTrend,"SuperTrend",IFF(direction==1,Red,Blue)); } 2. 종목검색 아래식을 종목검색식으로 작성하시면 파워종목검색창의 왼쪽 리스트 중 기술적지표에 바로 추가됩니다. 해당리스트에서 선택해서 종목검색 수행하시면 됩니다. input : period(10),multiplier(3); var : src(0), alpha(0),ATRV(0),upperBand(0),lowerBand(0),direction(0),SuperTrend(C); if CurrentBar > 1 Then { src = (H+L)/2; alpha = 1 / period ; ATRV = IFf(IsNan(ATRV[1]) == true, ma(TrueRange,period) , alpha * TrueRange + (1 - alpha) * IFf(isnan(ATRV[1])==true,0,ATRV[1])); upperBand = src + multiplier * AtrV; lowerBand = src - multiplier * AtrV; if lowerBand > lowerBand[1] or close[1] < lowerBand[1] Then lowerBand = lowerBand; Else lowerBand = lowerBand[1]; if upperBand < upperBand[1] or close[1] > upperBand[1] Then upperBand = upperBand; Else upperBand = upperBand[1]; if C > UpperBand Then direction = 1; if C < LowerBand Then direction = -1; if direction == 1 Then SuperTrend = lowerband; Else SuperTrend = upperband; if CountIf(CrossUp(c,supertrend),2) >= 1 Then Find(1); } 즐거운 명절 되시기 바랍니다. > 600만달러 님이 쓴 글입니다. > 제목 : 지표와 종목검색식 문의드립니다. > 수고하십니다. 지표와 종목검색식 좀 부탁드려요~ 1. 일봉 차트에 들어갈 슈퍼트렌드 10, 3 값을 만들고 싶습니다. 2. 어제와 오늘 슈퍼트렌드 10, 3 골든크로스 된 종목검색식을 만들고 싶습니다. 3. 사용법 문의인데요. 예스랭기지 편집기에서 검증 후 3202 파워종목검색에서 바로 불러와서 검색 버튼을 누르면 되는건가요?
프로필 이미지

600만달러

2025-10-01 15:15:01.0

답변 고맙습니다. 보내주신 지표와 종목검색식을 넣어서 해 봤는데요. 당일 골든크로스가 아닌게 너무 많이 나오고 있습니다. 저는 당일 골든크로스 난 종목만 검색을 하고 싶은데 심지어 데드크로스 난 종목까지도 검색이 되네요. 확인 좀 부탁드릴께요~ > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 지표와 종목검색식 문의드립니다. > 안녕하세요 예스스탁입니다. 1. 지표 input : period(10),multiplier(3); var : src(0), alpha(0),ATRV(0),upperBand(0),lowerBand(0),direction(0),SuperTrend(C); if CurrentBar > 1 Then { src = (H+L)/2; alpha = 1 / period ; ATRV = IFf(IsNan(ATRV[1]) == true, ma(TrueRange,period) , alpha * TrueRange + (1 - alpha) * IFf(isnan(ATRV[1])==true,0,ATRV[1])); upperBand = src + multiplier * AtrV; lowerBand = src - multiplier * AtrV; if lowerBand > lowerBand[1] or close[1] < lowerBand[1] Then lowerBand = lowerBand; Else lowerBand = lowerBand[1]; if upperBand < upperBand[1] or close[1] > upperBand[1] Then upperBand = upperBand; Else upperBand = upperBand[1]; if C > UpperBand Then direction = 1; if C < LowerBand Then direction = -1; if direction == 1 Then SuperTrend = lowerband; Else SuperTrend = upperband; Plot1(SuperTrend,"SuperTrend",IFF(direction==1,Red,Blue)); } 2. 종목검색 아래식을 종목검색식으로 작성하시면 파워종목검색창의 왼쪽 리스트 중 기술적지표에 바로 추가됩니다. 해당리스트에서 선택해서 종목검색 수행하시면 됩니다. input : period(10),multiplier(3); var : src(0), alpha(0),ATRV(0),upperBand(0),lowerBand(0),direction(0),SuperTrend(C); if CurrentBar > 1 Then { src = (H+L)/2; alpha = 1 / period ; ATRV = IFf(IsNan(ATRV[1]) == true, ma(TrueRange,period) , alpha * TrueRange + (1 - alpha) * IFf(isnan(ATRV[1])==true,0,ATRV[1])); upperBand = src + multiplier * AtrV; lowerBand = src - multiplier * AtrV; if lowerBand > lowerBand[1] or close[1] < lowerBand[1] Then lowerBand = lowerBand; Else lowerBand = lowerBand[1]; if upperBand < upperBand[1] or close[1] > upperBand[1] Then upperBand = upperBand; Else upperBand = upperBand[1]; if C > UpperBand Then direction = 1; if C < LowerBand Then direction = -1; if direction == 1 Then SuperTrend = lowerband; Else SuperTrend = upperband; if CountIf(CrossUp(c,supertrend),2) >= 1 Then Find(1); } 즐거운 명절 되시기 바랍니다. > 600만달러 님이 쓴 글입니다. > 제목 : 지표와 종목검색식 문의드립니다. > 수고하십니다. 지표와 종목검색식 좀 부탁드려요~ 1. 일봉 차트에 들어갈 슈퍼트렌드 10, 3 값을 만들고 싶습니다. 2. 어제와 오늘 슈퍼트렌드 10, 3 골든크로스 된 종목검색식을 만들고 싶습니다. 3. 사용법 문의인데요. 예스랭기지 편집기에서 검증 후 3202 파워종목검색에서 바로 불러와서 검색 버튼을 누르면 되는건가요?
프로필 이미지

예스스탁 예스스탁 답변

2025-10-01 15:19:44.0

안녕하세요 예스스탁입니다. 기존 질문하신 내용에 어제와 오늘 골든크로스 발생 종목으로 되어 있어 2일 중 1회이상으로 작성이 되어 있었습니다. 오늘 발생한 종목만 찾으시면 아래와 같습니다. 종목검색시에 속성에거 검색에 필요한 최소기간에 500봉 지정하고 검색하시기 바랍니다. input : period(10),multiplier(3); var : src(0), alpha(0),ATRV(0),upperBand(0),lowerBand(0),direction(0),SuperTrend(C); if CurrentBar > 1 Then { src = (H+L)/2; alpha = 1 / period ; ATRV = IFf(IsNan(ATRV[1]) == true, ma(TrueRange,period) , alpha * TrueRange + (1 - alpha) * IFf(isnan(ATRV[1])==true,0,ATRV[1])); upperBand = src + multiplier * AtrV; lowerBand = src - multiplier * AtrV; if lowerBand > lowerBand[1] or close[1] < lowerBand[1] Then lowerBand = lowerBand; Else lowerBand = lowerBand[1]; if upperBand < upperBand[1] or close[1] > upperBand[1] Then upperBand = upperBand; Else upperBand = upperBand[1]; if C > UpperBand Then direction = 1; if C < LowerBand Then direction = -1; if direction == 1 Then SuperTrend = lowerband; Else SuperTrend = upperband; if CrossUp(c,supertrend) Then Find(1); } 즐거운 명절 되시기 바랍니다. > 600만달러 님이 쓴 글입니다. > 제목 : Re : Re : 지표와 종목검색식 문의드립니다. > 답변 고맙습니다. 보내주신 지표와 종목검색식을 넣어서 해 봤는데요. 당일 골든크로스가 아닌게 너무 많이 나오고 있습니다. 저는 당일 골든크로스 난 종목만 검색을 하고 싶은데 심지어 데드크로스 난 종목까지도 검색이 되네요. 확인 좀 부탁드릴께요~ > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 지표와 종목검색식 문의드립니다. > 안녕하세요 예스스탁입니다. 1. 지표 input : period(10),multiplier(3); var : src(0), alpha(0),ATRV(0),upperBand(0),lowerBand(0),direction(0),SuperTrend(C); if CurrentBar > 1 Then { src = (H+L)/2; alpha = 1 / period ; ATRV = IFf(IsNan(ATRV[1]) == true, ma(TrueRange,period) , alpha * TrueRange + (1 - alpha) * IFf(isnan(ATRV[1])==true,0,ATRV[1])); upperBand = src + multiplier * AtrV; lowerBand = src - multiplier * AtrV; if lowerBand > lowerBand[1] or close[1] < lowerBand[1] Then lowerBand = lowerBand; Else lowerBand = lowerBand[1]; if upperBand < upperBand[1] or close[1] > upperBand[1] Then upperBand = upperBand; Else upperBand = upperBand[1]; if C > UpperBand Then direction = 1; if C < LowerBand Then direction = -1; if direction == 1 Then SuperTrend = lowerband; Else SuperTrend = upperband; Plot1(SuperTrend,"SuperTrend",IFF(direction==1,Red,Blue)); } 2. 종목검색 아래식을 종목검색식으로 작성하시면 파워종목검색창의 왼쪽 리스트 중 기술적지표에 바로 추가됩니다. 해당리스트에서 선택해서 종목검색 수행하시면 됩니다. input : period(10),multiplier(3); var : src(0), alpha(0),ATRV(0),upperBand(0),lowerBand(0),direction(0),SuperTrend(C); if CurrentBar > 1 Then { src = (H+L)/2; alpha = 1 / period ; ATRV = IFf(IsNan(ATRV[1]) == true, ma(TrueRange,period) , alpha * TrueRange + (1 - alpha) * IFf(isnan(ATRV[1])==true,0,ATRV[1])); upperBand = src + multiplier * AtrV; lowerBand = src - multiplier * AtrV; if lowerBand > lowerBand[1] or close[1] < lowerBand[1] Then lowerBand = lowerBand; Else lowerBand = lowerBand[1]; if upperBand < upperBand[1] or close[1] > upperBand[1] Then upperBand = upperBand; Else upperBand = upperBand[1]; if C > UpperBand Then direction = 1; if C < LowerBand Then direction = -1; if direction == 1 Then SuperTrend = lowerband; Else SuperTrend = upperband; if CountIf(CrossUp(c,supertrend),2) >= 1 Then Find(1); } 즐거운 명절 되시기 바랍니다. > 600만달러 님이 쓴 글입니다. > 제목 : 지표와 종목검색식 문의드립니다. > 수고하십니다. 지표와 종목검색식 좀 부탁드려요~ 1. 일봉 차트에 들어갈 슈퍼트렌드 10, 3 값을 만들고 싶습니다. 2. 어제와 오늘 슈퍼트렌드 10, 3 골든크로스 된 종목검색식을 만들고 싶습니다. 3. 사용법 문의인데요. 예스랭기지 편집기에서 검증 후 3202 파워종목검색에서 바로 불러와서 검색 버튼을 누르면 되는건가요?