请老师将小黑马公式改写成选股公式A:=V*100/CAPITAL; 小黑马:=MA(A,180),COLORFF00FF,LINETHICK1; DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;DEA0:=EMA(DIFF0,9);MACD0:=2*(DIFF0-DEA0);JQ:=MACD0>REF(MACD0,1)*2.5 AND MACD0>15;STICKLINE(JQ,小黑马,10,1.0,0),COLORYELLOW;先谢谢了。
公式源码示例:
DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
JQ:MACD0>REF(MACD0,1)*2.5 AND MACD0>15;