九毛八公式指标
公式模块:
把macd指标和分时图里的量比指票结合在一起 分2步
先建指标名1引用的指标
{1引用}
MV5:REF(MA(V,5),1);
再建分时副图指标
量比:SUM(vol,0)*240/"1引用.MV5#DAY"/COUNT(V>0,0);
DIFF:EMA(CLOSE,12)/EMA(CLOSE,26)*100-100,NODRAW;
DEAA:EMA(DIFF,9),NODRAW;
MacD:(DIFF-DEAA)*2,NODRAW;
A:=CONST(HHV(量比,0))*0.5;
STICKLINE(MACD>0,A,A+MACD*2,2,0),COLORRED;
STICKLINE(MACD<=0,A,A+MACD*2,2,0),COLORGREEN;