通达信双阴洗盘副图/选股源码

均线多头中阳后双阴缩量洗盘MACD水上漂多头

XG:=REF((C-REF(C,1))/REF(C,1)*100>7,2) AND
 REF(O>C AND (O-C)/C<0.05,1) AND
 O>C AND (O-C)/C<0.05;

DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
 DEA :=EMA(DIFF,9);
 MACD :=2*(DIFF-DEA);
 XG1:=DIFF>0 AND DIFF>DEA AND DIFF>REF(DIFF,1) AND DEA>REF(DEA,1);

多头排列:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,60)
 AND MA(C,60)>MA(C,120) AND MA(C,120)>REF(MA(C,120),1) AND MA(C,5)>REF(MA(C,5),1);

YJ:XG AND XG1 AND 多头排列;