寻找黑马 选股技术指标源码分享
DIF:=(EMA(C,26)-EMA(C,12))*(-1);
DEA:=EMA(DIF,9);
MCD:=2*(DIF-DEA);
MA13:=MA(C,13);
L30:=EMA((MA(L,3)*0.96),30);
绝佳买点:FILTER(((((MCD >= REF(MCD,5)) AND ((L30-REF(L30,1))>0))
AND (MCD<=0)) AND ((MA13-REF(MA13,1))>=0)),3),COLORYELLOW;
M2:=MA(C,18);
M3:=(((C-M2)/M2)*100);
M4:=MA(M3,1);
M5:=BARSLAST((CROSS((0-10),M4)=1));
M6:=((M4<(0-10)) AND (M5>=5));
M7:=LLV(C,30);
M8:=EMA(C,2)-EMA(O,5);
短期底部:(FILTER(((((((M4>REF(M4,1)) AND (L<=M7)) AND (C>M7)) AND M6)*0.5)),3)*1),COLORRED;
尾盘买入:CROSS(M8,MCD) AND MCD<=-0.11 AND L<=L30 AND C>O,COLORWHITE;
K1:=LLV(LOW,5);
K2:=HHV(HIGH,5);
K3:=EMA((((C-K1)/(K2-K1))*100),4);
K4:=EMA(((0.667 * REF(K3,1))+(0.333*K3)),2);
K5:=((HIGH+LOW)/2);
K6:=DMA(K5,(VOL/SUM(VOL,5)));
K7:=DMA(K5,(VOL/SUM(VOL,13)));
K8:=DMA(K5,(VOL/SUM(VOL,34)));
K9:=DMA(K5,(VOL/SUM(VOL,75)));
KA:=EMA(WINNER((0.9*C)),5);
KB:=(1-EMA(WINNER((1.2*C)),5));
KC:=EMA(WINNER(CLOSE),5);
KD:=((100*(C-K6))/K6);
KE:=((100*(C-K7))/K7);
KF:=((100*(MIN(C,O)-K8))/K8);
KG:=BARSLAST(((K8>K9) AND (REF(K8,1)<= REF(K9,1))));
KH:=((((COUNT(((WINNER(CLOSE)<0.11) AND (EMA(WINNER(CLOSE),5)<0.15)),2)>0) OR (((1-WINNER((1.2*C))) >= 0.8) AND (WINNER(C)<0.05))) AND (COUNT((KE<(0-16)),2)>0)) AND (COUNT((KF<(0-20)),2)>0));
K12:=((((COUNT((KD<(0-10)),2)>0) AND (COUNT((KE<(0-15)),2)>0)) AND (COUNT((KF<(0-15)),2)>0)) AND (COUNT((KA>0.8),KG)=0));
K13:=(((COUNT((KH OR K12),2)>0) AND (K3>REF(K3,1))) AND (((1-WINNER((1.15*CLOSE))) * 100) > 80));
K14:=IF((K13 AND (COUNT(K13,3)<=1)),1,0);
ZF:=100*(C-REF(C,1))/REF(C,1);
寻找黑马:BARSSINCEN(K14,10) AND ZF>3,COLORMAGENTA;
DEA:=EMA(DIF,9);
MCD:=2*(DIF-DEA);
MA13:=MA(C,13);
L30:=EMA((MA(L,3)*0.96),30);
绝佳买点:FILTER(((((MCD >= REF(MCD,5)) AND ((L30-REF(L30,1))>0))
AND (MCD<=0)) AND ((MA13-REF(MA13,1))>=0)),3),COLORYELLOW;
M2:=MA(C,18);
M3:=(((C-M2)/M2)*100);
M4:=MA(M3,1);
M5:=BARSLAST((CROSS((0-10),M4)=1));
M6:=((M4<(0-10)) AND (M5>=5));
M7:=LLV(C,30);
M8:=EMA(C,2)-EMA(O,5);
短期底部:(FILTER(((((((M4>REF(M4,1)) AND (L<=M7)) AND (C>M7)) AND M6)*0.5)),3)*1),COLORRED;
尾盘买入:CROSS(M8,MCD) AND MCD<=-0.11 AND L<=L30 AND C>O,COLORWHITE;
K1:=LLV(LOW,5);
K2:=HHV(HIGH,5);
K3:=EMA((((C-K1)/(K2-K1))*100),4);
K4:=EMA(((0.667 * REF(K3,1))+(0.333*K3)),2);
K5:=((HIGH+LOW)/2);
K6:=DMA(K5,(VOL/SUM(VOL,5)));
K7:=DMA(K5,(VOL/SUM(VOL,13)));
K8:=DMA(K5,(VOL/SUM(VOL,34)));
K9:=DMA(K5,(VOL/SUM(VOL,75)));
KA:=EMA(WINNER((0.9*C)),5);
KB:=(1-EMA(WINNER((1.2*C)),5));
KC:=EMA(WINNER(CLOSE),5);
KD:=((100*(C-K6))/K6);
KE:=((100*(C-K7))/K7);
KF:=((100*(MIN(C,O)-K8))/K8);
KG:=BARSLAST(((K8>K9) AND (REF(K8,1)<= REF(K9,1))));
KH:=((((COUNT(((WINNER(CLOSE)<0.11) AND (EMA(WINNER(CLOSE),5)<0.15)),2)>0) OR (((1-WINNER((1.2*C))) >= 0.8) AND (WINNER(C)<0.05))) AND (COUNT((KE<(0-16)),2)>0)) AND (COUNT((KF<(0-20)),2)>0));
K12:=((((COUNT((KD<(0-10)),2)>0) AND (COUNT((KE<(0-15)),2)>0)) AND (COUNT((KF<(0-15)),2)>0)) AND (COUNT((KA>0.8),KG)=0));
K13:=(((COUNT((KH OR K12),2)>0) AND (K3>REF(K3,1))) AND (((1-WINNER((1.15*CLOSE))) * 100) > 80));
K14:=IF((K13 AND (COUNT(K13,3)<=1)),1,0);
ZF:=100*(C-REF(C,1))/REF(C,1);
寻找黑马:BARSSINCEN(K14,10) AND ZF>3,COLORMAGENTA;