{公式名称: 买进选股
公式源码: 通达信 无未来,结合MACD+KDJ+BOLL传统指标思路}
AA1:=EMA(EMA(EMA(CLOSE,5),5),5);
AA2:=EMA(EMA(EMA(CLOSE,7),7),7);
AA3:=EMA(EMA(EMA(CLOSE,12),12),12);
BB1:=(AA1-REF(AA1,1))/REF(AA1,1)*200000,;
BB2:=(AA2-REF(AA2,1))/REF(AA2,1)*250000,;
N1:=30;N2:=10;
VAR1:=EMA(EMA(CLOSE,13),13);
VAR2:=EMA(EMA(CLOSE,10),10);
K:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORRED;
买:=EMA(C,2);
进:=EMA(SLOPE(C,9)*20+C,37);
BOLL:=MA(C,20);
UB:=BOLL+2*STD(C,20);
LB:=BOLL-2*STD(C,20);
TT1:=C>LB;
TT2:=COUNT(C/REF(C,1)>=1.098 AND L<C,25)>=1 AND BARSCOUNT(C)>120;
XG:(K>=REF(K,1)) AND K<-8 AND CROSS(BB1,BB2) AND
CROSS(买,进) AND TT1 AND TT2;