A:=V*100/CAPITAL;
小黑马:=MA(A,180);
DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
macd0:=2*(DIFF0-DEA0);
{ _通达信股票指标公式}
黑马:=(MacD0>REF(MACD0,1)*2.5 AND MACD0>15),COLORFF00FF;
TT:=DCLOSE-CLOSE;
XG1:=C>REF(C,1)AND TT>=REF(TT,1) AND TT/C>=0.1;
XG2:=REF(XG1,1)=1 AND C/REF(C,1)<1.1;
XG:XG2>0 AND 黑马;