突破年线放量,然后缩量回调年线,选择这样的股票
源码
年线:=MA(C,255);
SHORT:=12;
LONG:=26;
DIFF:=(EMA(CLOSE,SHORT)-EMA(CLOSE,LONG));
DEA:=EMA(DIFF,9);
启动之日:=BARSLAST(CROSS(DIFF,DEA));
突破之日:=BARSLAST(CROSS(C,年线));
突破年线:=REF(L,启动之日)<年线 AND C>年线 AND C>MA(C,20);
缩量:=COUNT(CROSS(MA(VOL,10),MA(VOL,5)),突破之日)=1;
选股:10*(突破年线 AND 缩量);