崔氏阶段资金流
2016-3-30 21:16:19点击:
阶段资金流向配合macd使用:0,colorgreen,nodraw;
IF(PERIODNAME<>"日线")
{
统计:"该指标只在日线周期下有效。";
RETURN;
}
r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
大单净量:=r,nodraw,colorred;
DDX1:EMA(r,60)*60,COLOR00FFFF,nodraw;
DDX2:MA(DDX1,5),COLORFF00FF,nodraw;
DDX3:MA(DDX2,10),COLOR00FF00,nodraw;
MACD:=(ddx2-ddx3)*2;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,8,0),color0000ff;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,8,0),colorffff00;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,8,0),colorgreen;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,8,0),colorgreen;