紫金神兽IV指标选股公式 A1:=MA(C,5); A2:=MA(C,10); {可以自设均线,牛市21日线,熊市10日线} A3:=(A1+A2)/2; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; VAR27:=REF(CLOSE,1); VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100; XH:=CROSS(84,RSI) OR CROSS(RSI,11) OR IF(CROSS(76,VAR28),1,0); VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG (3,5),2)<=REF(ZIG(3,5),3)); VARD:=(ZIG(3,5)[=REF(ZIG(3,5),2)) AND (REF(ZIG] (3,5),2)>=REF(ZIG(3,5),3)); MR:=(VARC=1); MC:=(VARD=1); VAR1:=ZIG(3,10)AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2); VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)HS:=VAR1; ZS:=VAR2; A:=EMA(LOW,36); B:=EMA(HIGH,30); F:=85; K:=95; D:=(EMA(((CLOSE-A)/(B-A))*(4),4))*(25); G:=D; G1:=DI:=(((D-LLV(D,21))/(HHV(D,21)-LLV(D,21)))*(4))*(25); M:=IF(CROSS(H,20) AND (G<40),70,0); Z:=8; H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:=L1+P1*7/8; 支撑:=L1+P1*0.5/8; 中线1:=(支撑+阻力)/2; V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势线:=EMA(V11,3); V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100; AA:=(趋势线<11) AND FILTER((趋势线<=11),15) AND C<中线1; BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线1; BB1:=REF(趋势线,1)<11 AND REF(趋势线,1)>6 AND CROSS(趋势线,11); BB2:=REF(趋势线,1)<6 AND REF(趋势线,1)>3 AND CROSS(趋势线,6); BB3:=REF(趋势线,1)<3 AND REF(趋势线,1)>1 AND CROSS(趋势线,3); BB4:=REF(趋势线,1)<1 AND REF(趋势线,1)>0 AND CROSS(趋势线,1); BB5:=REF(趋势线,1)<0 AND CROSS(趋势线,0); BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1; MD:=BB=1 AND C<中线1; OK:=REF(CLOSE,1); 鱼:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100; 白绿线:=SMA(鱼,7,1); AM:=CROSS(鱼,38) OR CROSS(鱼,白绿线); 低吸买点:=IF((COUNT((G>REF(G,1)),1)=1) AND (REF(G,1)MR AND ZS AND COUNT(低吸买点,100)>=至少N次 AND 趋势线<20 AND AM AND COUNT(MD,100)>=至少Y次; |