DK点
免费体验:请加微信号:18020657357。
DK点,用于判断在盘中买入和卖出的时间点,用于在MACD线上显示
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),colorred,LINETHICK2;
DEA:EMA(DIF,9),colorwhite,LINETHICK2;
持仓段:0,COLOR00CFFF;
空仓段:0,COLORFFCCFF;
DRAWTEXT(CROSS(DIF,DEA),DIF-0,'建'),colorred;
DRAWTEXT(CROSS(DEA,DIF),DIF+0,'空'),colorgreen;
MACD彩柱:(DIF-DEA)*2,COLORSTICK;
STICKLINE(((MACD彩柱<REF(MACD彩柱,1)) AND (MACD彩柱>0)),0,MACD彩柱,1,0),LINETHICK2;
STICKLINE(((MACD彩柱>REF(MACD彩柱,1)) AND (MACD彩柱<0)),0,MACD彩柱,1,0),COLORFF00FF,LINETHICK2;
建仓:IF(DIF<0,DIF,0),coloryellow,LINETHICK2;
加仓:IF(DIF<0,0,DIF),colorred,LINETHICK2;
白线破仓:IF(DIF<DEA,DIF,DEA),colorwhite,LINETHICK2;
趋势强弱:IF(DIF>DEA,DEA,DEA),COLORFF937F,LINETHICK2;