MAA:=MA(CLOSE,20);
mtm:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6);
买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND crOSS(DX,MA(DX,2));
加:=MAA>=REF(MAA,3) AND CROSS(CLOSE,MAA);
SC:=加 AND 买;
DRAWICON(SC,L,24);
{
选股公式:
MAA:=MA(CLOSE,20);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));
加:=MAA>=REF(MAA,3) AND CROSS(CLOSE,MAA);
SC:加 AND 买;
}