小黑马
{小黑码}
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;