A:=V*100/CAPITAL;
{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;
STICKLINE(黑马,00,1,1.2,0),COLORMAGENTA;
DRAWTEXT(黑马,0.5,'←小黑马'),COLORMAGENTA;
|