通达信《金蜘蛛均线粘合》指标
MACD-KdJ金叉选股、金蜘蛛选股、均线粘合等100多个选股公式
macd-kdj金叉共振选股公式:
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100; DEA:=EMA(DIF,9); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,9,1); D:=SMA(K,9,1); B4:CROSS(DIF,DEA) AND CROSS('KDJ.K'(9,3,3),'KDJ.D'(9,3,3));
金蜘蛛选股公式:
{n1 1 .00 300.00 5.00 n2 1.00 300.00 10.00 n3 1.00 300.00 20.00} MA1:=MA(CLOSE,N1); MA2:=MA(CLOSE,N2); MA3:=MA(CLOSE,N3); A1:=COUNT(CROSS(MA2,MA3),2)=1; A2:=COUNT(CROSS(MA1,MA3),2)=1; A1 AND A2;
穿云箭多方炮选股公式:
M5:=HHV(MA(C,5),15); MM5:=IF(M5=REF(M5,1),M5,DRAWNULL); AA:=MM5=REF(M5,1) AND REF(M5,1)=REF(M5,2) AND REF(M5,2)=REF(M5,3); XG:REF(L,1)REF(C,1) AND C>M5 AND AA AND L>REF(C,1) AND FINANCE(34)>1 AND FINANCE(33)>0.1 ;
均线粘合选股公式:
X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅内粘合} X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01; X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01; AA:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10),1);CC:=MA(C,5)>MA(C,10); {均线勾头向上} CDJZ:=ABS(MA(C,20)-MA(C,90))/MA(C,60);{长短均线距离绝对值} MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND CDJZ AND AA AND BB AND CC; {X4:=ABS(MA(C,5)/MA(C,30)-1)<0.01; MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND X4;}{也可以再加:四线粘合};