커뮤니티

종목검색식 부탁드립니다. _(_ _)_

프로필 이미지
한칼부르스
2025-12-10 18:21:01
78
글번호 228855

항상 도와주심에 감사드립니다. _(_ _)_ 5봉전에 하락하는 5일선을 상방으로 돌리는  5프로이상의 상승 양봉이 나온 후 0봉전에 1~4봉 최고음봉 시가 또는 5프로 상승 양봉의  시가, 몸통중심, 종가를 각각 돌파하는 검색식과


5봉전에 상한가+와 520골든크로스 나온 종목을 0봉전에서 시가 ,몸통중심, 종가를 각각 돌파하는 종목 검색식 부탁드립니다.


종목검색
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2025-12-11 13:35:08

안녕하세요 예스스탁입니다. 1-1. 5%이상 상승양봉시가돌파 var : T(0); var1 = ma(C,5); if var1 > var1[1] Then T = 1; if var1 < var1[1] Then T = -1; Condition1 = T != T[1] and T == 1 and C >= O*1.05; if Condition1 == true Then { value1 = O; value2 = (C+O)/2; value3 = C; } var2 = IFF(C<O,O,0); Value4 = highest(var2,4); if Condition1[5] == true and CrossUp(C,value1[5]) Then Find(1); 1-2. 5%이상 상승양봉 몸통중심돌파 var : T(0); var1 = ma(C,5); if var1 > var1[1] Then T = 1; if var1 < var1[1] Then T = -1; Condition1 = T != T[1] and T == 1 and C >= O*1.05; if Condition1 == true Then { value1 = O; value2 = (C+O)/2; value3 = C; } var2 = IFF(C<O,O,0); Value4 = highest(var2,4); if Condition1[5] == true and CrossUp(C,value2[5]) Then Find(1); 1-3. 5%이상 상승양봉 종가돌파 var : T(0); var1 = ma(C,5); if var1 > var1[1] Then T = 1; if var1 < var1[1] Then T = -1; Condition1 = T != T[1] and T == 1 and C >= O*1.05; if Condition1 == true Then { value1 = O; value2 = (C+O)/2; value3 = C; } var2 = IFF(C<O,O,0); Value4 = highest(var2,4); if Condition1[5] == true and CrossUp(C,value3[5]) Then Find(1); 1-4. 1~4봉 최고음봉시가 돌파 var : T(0); var1 = ma(C,5); if var1 > var1[1] Then T = 1; if var1 < var1[1] Then T = -1; Condition1 = T != T[1] and T == 1 and C >= O*1.05; if Condition1 == true Then { value1 = O; value2 = (C+O)/2; value3 = C; } var2 = IFF(C<O,O,0); Value4 = highest(var2,4); if Condition1[5] == true and CrossUp(C,value4[5]) Then Find(1); 2-1 시가돌파 var : 상한가(0), UpLimit(0); var : up1(0), up2(0), up3(0), up4(0), up5(0),up6(0),Up7(0); if date >= 19981207 then { if date < 20050328 && CodeCategory() == 2 then UpLimit = (BP[0] * 1.12); Else if date >= 20050328 and date < 20150615 Then UpLimit = (BP[0] * 1.15); Else UpLimit = (BP[0] * 1.30); if CodeCategory() == 2 then { if date >= 20030721 then { up1 = int(UpLimit/100+0.00001)*100; up2 = int(UpLimit/100+0.00001)*100; up3 = int(UpLimit/100+0.00001)*100; up4 = int(UpLimit/50+0.00001)*50; up5 = int(UpLimit/10+0.00001)*10; up6 = int(UpLimit/5+0.00001)*5; up7 = int(UpLimit/1+0.00001)*1; } else { up1 = int(UpLimit/1000+0.00001)*1000; up2 = int(UpLimit/500+0.00001)*500; up3 = int(UpLimit/100+0.00001)*100; up4 = int(UpLimit/50+0.00001)*50; up5 = int(UpLimit/10+0.00001)*10; up6 = int(UpLimit/10+0.00001)*10; up7 = int(UpLimit/1+0.00001)*1; } } Else { up1 = int(UpLimit/1000+0.00001)*1000; up2 = int(UpLimit/500+0.00001)*500; up3 = int(UpLimit/100+0.00001)*100; up4 = int(UpLimit/50+0.00001)*50; up5 = int(UpLimit/10+0.00001)*10; up6 = int(UpLimit/5+0.00001)*5; up7 = int(UpLimit/1+0.00001)*1; } if CodeCategory() == 1 || CodeCategory() == 2 then { if sdate < 20101004 Then{ If BP >= 500000 Then 상한가 = up1; Else If BP >= 100000 Then 상한가 = iff(up2>=500000, up1, up2); Else If BP >= 50000 Then 상한가 = iff(up3>=100000, up2, up3); Else If BP >= 10000 Then 상한가 = iff(up4>=50000, up3, up4); Else If BP >= 5000 Then 상한가 = iff(up5>=10000, up4, up5); Else If BP >= 1000 Then 상한가 = iff(up5>=5000, up5, up6); Else 상한가 = iff(up6>=1000, up6, up6); } Else{ If BP >= 500000 Then 상한가 = up1; Else If BP >= 100000 Then 상한가 = iff(up2>=500000, up1, up2); Else If BP >= 50000 Then 상한가 = iff(up3>=100000, up2, up3); Else If BP >= 10000 Then 상한가 = iff(up4>=50000, up3, up4); Else If BP >= 5000 Then 상한가 = iff(up5>=10000, up4, up5); Else If BP >= 1000 Then 상한가 = iff(up5>=5000, up5, up6); Else 상한가 = iff(up6>=1000, up6, up7); } } else if CodeCategory() == 8 || CodeCategory() == 9 then { // ETF 상한가 = up6; } } var1 = ma(C,5); var2 = ma(C,20); Condition1 = H == 상한가 and CrossUp(var1,var2); if Condition1 == true Then { value1 = O; value2 = (C+O)/2; value3 = C; } if Condition1[5] == true and CrossUp(C,value1) Then Find(1); 2-3 몸통중심돌파 var : 상한가(0), UpLimit(0); var : up1(0), up2(0), up3(0), up4(0), up5(0),up6(0),Up7(0); if date >= 19981207 then {   if date < 20050328 && CodeCategory() == 2 then   UpLimit = (BP[0] * 1.12);   Else if date >= 20050328 and date < 20150615 Then   UpLimit = (BP[0] * 1.15);   Else   UpLimit = (BP[0] * 1.30);   if CodeCategory() == 2 then {   if date >= 20030721 then {   up1 = int(UpLimit/100+0.00001)*100;   up2 = int(UpLimit/100+0.00001)*100;   up3 = int(UpLimit/100+0.00001)*100;   up4 = int(UpLimit/50+0.00001)*50;   up5 = int(UpLimit/10+0.00001)*10;   up6 = int(UpLimit/5+0.00001)*5;   up7 = int(UpLimit/1+0.00001)*1;   }   else {   up1 = int(UpLimit/1000+0.00001)*1000;   up2 = int(UpLimit/500+0.00001)*500;   up3 = int(UpLimit/100+0.00001)*100;   up4 = int(UpLimit/50+0.00001)*50;   up5 = int(UpLimit/10+0.00001)*10;   up6 = int(UpLimit/10+0.00001)*10;   up7 = int(UpLimit/1+0.00001)*1;   }   }   Else {   up1 = int(UpLimit/1000+0.00001)*1000;   up2 = int(UpLimit/500+0.00001)*500;   up3 = int(UpLimit/100+0.00001)*100;   up4 = int(UpLimit/50+0.00001)*50;   up5 = int(UpLimit/10+0.00001)*10;   up6 = int(UpLimit/5+0.00001)*5;   up7 = int(UpLimit/1+0.00001)*1;   }   if CodeCategory() == 1 || CodeCategory() == 2 then {   if sdate < 20101004 Then{   If BP >= 500000 Then   상한가 = up1;   Else If BP >= 100000 Then   상한가 = iff(up2>=500000, up1, up2);   Else If BP >= 50000 Then   상한가 = iff(up3>=100000, up2, up3);   Else If BP >= 10000 Then   상한가 = iff(up4>=50000, up3, up4);   Else If BP >= 5000 Then   상한가 = iff(up5>=10000, up4, up5);   Else If BP >= 1000 Then   상한가 = iff(up5>=5000, up5, up6);   Else   상한가 = iff(up6>=1000, up6, up6);   }   Else{   If BP >= 500000 Then   상한가 = up1;   Else If BP >= 100000 Then   상한가 = iff(up2>=500000, up1, up2);   Else If BP >= 50000 Then   상한가 = iff(up3>=100000, up2, up3);   Else If BP >= 10000 Then   상한가 = iff(up4>=50000, up3, up4);   Else If BP >= 5000 Then   상한가 = iff(up5>=10000, up4, up5);   Else If BP >= 1000 Then   상한가 = iff(up5>=5000, up5, up6);   Else   상한가 = iff(up6>=1000, up6, up7);   }   }   else if CodeCategory() == 8 || CodeCategory() == 9 then { // ETF   상한가 = up6;   } } var1 = ma(C,5); var2 = ma(C,20); Condition1 = H == 상한가 and CrossUp(var1,var2); if Condition1 == true Then {   value1 = O;   value2 = (C+O)/2;   value3 = C; } if Condition1[5] == true and CrossUp(C,value2) Then   Find(1); 2-2 종가돌파 var : 상한가(0), UpLimit(0); var : up1(0), up2(0), up3(0), up4(0), up5(0),up6(0),Up7(0); if date >= 19981207 then {   if date < 20050328 && CodeCategory() == 2 then   UpLimit = (BP[0] * 1.12);   Else if date >= 20050328 and date < 20150615 Then   UpLimit = (BP[0] * 1.15);   Else   UpLimit = (BP[0] * 1.30);   if CodeCategory() == 2 then {   if date >= 20030721 then {   up1 = int(UpLimit/100+0.00001)*100;   up2 = int(UpLimit/100+0.00001)*100;   up3 = int(UpLimit/100+0.00001)*100;   up4 = int(UpLimit/50+0.00001)*50;   up5 = int(UpLimit/10+0.00001)*10;   up6 = int(UpLimit/5+0.00001)*5;   up7 = int(UpLimit/1+0.00001)*1;   }   else {   up1 = int(UpLimit/1000+0.00001)*1000;   up2 = int(UpLimit/500+0.00001)*500;   up3 = int(UpLimit/100+0.00001)*100;   up4 = int(UpLimit/50+0.00001)*50;   up5 = int(UpLimit/10+0.00001)*10;   up6 = int(UpLimit/10+0.00001)*10;   up7 = int(UpLimit/1+0.00001)*1;   }   }   Else {   up1 = int(UpLimit/1000+0.00001)*1000;   up2 = int(UpLimit/500+0.00001)*500;   up3 = int(UpLimit/100+0.00001)*100;   up4 = int(UpLimit/50+0.00001)*50;   up5 = int(UpLimit/10+0.00001)*10;   up6 = int(UpLimit/5+0.00001)*5;   up7 = int(UpLimit/1+0.00001)*1;   }   if CodeCategory() == 1 || CodeCategory() == 2 then {   if sdate < 20101004 Then{   If BP >= 500000 Then   상한가 = up1;   Else If BP >= 100000 Then   상한가 = iff(up2>=500000, up1, up2);   Else If BP >= 50000 Then   상한가 = iff(up3>=100000, up2, up3);   Else If BP >= 10000 Then   상한가 = iff(up4>=50000, up3, up4);   Else If BP >= 5000 Then   상한가 = iff(up5>=10000, up4, up5);   Else If BP >= 1000 Then   상한가 = iff(up5>=5000, up5, up6);   Else   상한가 = iff(up6>=1000, up6, up6);   }   Else{   If BP >= 500000 Then   상한가 = up1;   Else If BP >= 100000 Then   상한가 = iff(up2>=500000, up1, up2);   Else If BP >= 50000 Then   상한가 = iff(up3>=100000, up2, up3);   Else If BP >= 10000 Then   상한가 = iff(up4>=50000, up3, up4);   Else If BP >= 5000 Then   상한가 = iff(up5>=10000, up4, up5);   Else If BP >= 1000 Then   상한가 = iff(up5>=5000, up5, up6);   Else   상한가 = iff(up6>=1000, up6, up7);   }   }   else if CodeCategory() == 8 || CodeCategory() == 9 then { // ETF   상한가 = up6;   } } var1 = ma(C,5); var2 = ma(C,20); Condition1 = H == 상한가 and CrossUp(var1,var2); if Condition1 == true Then {   value1 = O;   value2 = (C+O)/2;   value3 = C; } if Condition1[5] == true and CrossUp(C,value3) Then   Find(1); 즐거운 하루되세요
프로필 이미지

한칼부르스

2025-12-17 15:20:44

답변주신 2-1, 2, 3번 검색식은 전혀 검색이 안됩니다. 다시 한번 말씀 드리자면
1봉 ~5봉전 사이에서 상한가가 만들어지고 0봉전에서 시가 중심 종가를 재돌파하는 검색식입니다.

그리고 20봉이내에 상한가가 2번 이상 나오고 0봉전 마지막 상한가 몸통 이내에 있는 종목 검색식도 부탁드립니다._(_ _)_