BHG2:=BETWEEN(C,DYNAINFO(11)+0.01,DYNAINFO(11)-0.01) AND C>MA(C,20); BHG3:=BETWEEN(MAX(C,O)-MIN(C,O),0.01,-0.01) AND NOT(H=L) AND C>MA(C,20); BHG1:=O>REF(C,1) AND V<REF(V,1)*0.51 AND C<REF(C,1) AND C>MA(C,20) ; 黃金眼:=O<REF(C,1) AND V<REF(V,1)*0.7 AND C>O AND C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(O,1)>REF(C,1) AND C>MA(C,20); 騰空眼:=O>REF(C,1) AND C>O AND REF(C,1)>REF(C,2) AND (V<REF(V,1)*0.7 OR V=LLV(V,50)) AND C>MA(C,20); 騰空陽:=O>REF(C,1) AND C>O AND REF(C,1)>REF(C,2) AND V>=REF(V,1)*0.7 AND V<REF(V,1) AND C>MA(C,20); 黃金陽:=O<REF(C,1) AND V<REF(V,1) AND C>O AND C<REF(C,1) AND REF(C,1)>REF(C,2) AND REF(C,1)>REF(O,1) AND C>MA(C,20); 黃金陰:=O>REF(C,1) AND V<REF(V,1) AND V>REF(V,1)*0.51 AND C<REF(C,1) AND C>MA(C,20); 小陽三連元:=IF(DYNAINFO(4)>0,LAST(O>REF(C,1) AND C>REF(C,1) AND C/REF(C,1)<=1.06 AND C>MA(C,20) ,2,0),0); 跳空陽:=L>REF(H,1) AND C>O AND V>=REF(V,1) AND C>MA(C,20); 量縮價漲:=REF(V,3)=HHV(V,4) AND REF(C,3)>REF(C,4) AND REF(C,3)>REF(O,3) AND C=HHV(C,4) AND C>MA(C,20); 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,30)*5+C,20); 持股條件:=買線>賣線; N:=89; D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4); 中期線:=D+100; 神龍強勢:=IF(DYNAINFO(4)>0 AND 持股條件 AND 中期線>REF(中期線,1),中期線,0); BHG4:=IF(DYNAINFO(4)>0 AND TOTALBARSCOUNT>100 AND FINANCE(7)<800000000 AND 神龍強勢>80, COUNT(BHG2,N)+COUNT(BHG3,N)+COUNT(BHG1,N)+COUNT(黃金眼,N)+COUNT(騰空眼,N)+COUNT(騰空陽,N) +COUNT(黃金陽,N)+COUNT(黃金陰,N)+COUNT(小陽三連元,N)+COUNT(跳空陽,N)+COUNT(量縮價漲,N),0); BUYHAOGU:IF(DYNAINFO(4)>0 AND TOTALBARSCOUNT>100 AND V=HHV(V,80) AND C>REF(C,1) AND 神龍強勢>=70,BHG4,0); |
|