커뮤니티

검색식 확인 부탁드립니다._(__)_

프로필 이미지
한칼부르스
2024-11-11 17:51:13
595
글번호 185172
답변완료
항상 도와주심에 감사드립니다._(__)_ 만들어주신 아래의 3수식이 종목검색식에서 다른 종목들이 많이 나오네요. 지난 번에 만들어주신 통합검색식인 몸통중심과 종가 돌파검색식은 잘 맞습니다. 이 식으로 시가를 재돌파 또는 몸통을 재돌파, 종가를 재돌파하는 검색식 3가지로 하는 건 어떨까요?? 1-1 input : short(5),mid(20),long(60),percent(3); var : ii(0),value(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; value = O; } if ii > 0 and ii <= ii+20 and CrossUp(C,value) Then Find(1); 1-2 input : short(5),mid(20),long(60),percent(3); var : ii(0),value(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; value = (O+C)/2; } if ii > 0 and ii <= ii+20 and CrossUp(C,value) Then Find(1); 1-3 input : short(5),mid(20),long(60),percent(3); var : ii(0),value(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; value = C; } if ii > 0 and ii <= ii+20 and CrossUp(C,value) Then Find(1); 지난번 수식 몸통 및 종가돌파 검색식 input : short(5),mid(20),long(60),percent(3); var : ii(0),HO(0),MM(0),CC(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; if C < O Then HO = O; Else HO = 0; MM = (C+O)/2; CC = C; } Else { if ii > 0 and Index <= ii+20 Then { if C < O and (HO == 0 or (HO > 0 and O > HO)) Then HO = O; if (HO > 0 and CrossUp(C,HO)) or CrossUp(C,MM) or CrossUp(C,CC) Then Find(1); } }
종목검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2024-11-12 13:25:33

안녕하세요 예스스탁입니다. 변수 지정이 잘못되어 수정해 드립니다. 1 input : short(5),mid(20),long(60),percent(3); var : ii(0),value(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; value = O; } Else { if ii > 0 and Index <= ii+20 and CrossUp(C,value) Then Find(1); } 2 input : short(5),mid(20),long(60),percent(3); var : ii(0),value(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; value = (O+C)/2; } Else { if ii > 0 and Index <= ii+20 and CrossUp(C,value) Then Find(1); } 3 input : short(5),mid(20),long(60),percent(3); var : ii(0),value(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; value = (O+C)/2; } Else { if ii > 0 and Index <= ii+20 and CrossUp(C,value) Then Find(1); } 즐거운 하루되세요 > 한칼부르스 님이 쓴 글입니다. > 제목 : 검색식 확인 부탁드립니다._(__)_ > 항상 도와주심에 감사드립니다._(__)_ 만들어주신 아래의 3수식이 종목검색식에서 다른 종목들이 많이 나오네요. 지난 번에 만들어주신 통합검색식인 몸통중심과 종가 돌파검색식은 잘 맞습니다. 이 식으로 시가를 재돌파 또는 몸통을 재돌파, 종가를 재돌파하는 검색식 3가지로 하는 건 어떨까요?? 1-1 input : short(5),mid(20),long(60),percent(3); var : ii(0),value(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; value = O; } if ii > 0 and ii <= ii+20 and CrossUp(C,value) Then Find(1); 1-2 input : short(5),mid(20),long(60),percent(3); var : ii(0),value(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; value = (O+C)/2; } if ii > 0 and ii <= ii+20 and CrossUp(C,value) Then Find(1); 1-3 input : short(5),mid(20),long(60),percent(3); var : ii(0),value(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; value = C; } if ii > 0 and ii <= ii+20 and CrossUp(C,value) Then Find(1); 지난번 수식 몸통 및 종가돌파 검색식 input : short(5),mid(20),long(60),percent(3); var : ii(0),HO(0),MM(0),CC(0); var1 = ma(C,short); var2 = ma(C,mid); var3 = ma(C,long); value1 = max(var1,Var2,Var3); value2 = min(var1,Var2,Var3); Var4 = Sar(0.02,0.2); Var5 = BollBandUp(20,2); if value1 < Value2 * (1+Percent/100) && Value2 * (1+Percent/100) && HIGHEST(H, 4)[1] < C and O < C and ((C[1]*1.025 <= C) or (O*1.025 <= C)) and (C-O)*2.5 >= (H-C) and V[1]*1.2 <= V and ma(V, 5) >= 30000 and DayClose(1) >= 950 and Crossup(C,Var4) and CrossUp(h,Var5) Then { ii = Index; if C < O Then HO = O; Else HO = 0; MM = (C+O)/2; CC = C; } Else { if ii > 0 and Index <= ii+20 Then { if C < O and (HO == 0 or (HO > 0 and O > HO)) Then HO = O; if (HO > 0 and CrossUp(C,HO)) or CrossUp(C,MM) or CrossUp(C,CC) Then Find(1); } }