通达信波段风暴源码副图
2016-05-05 10:58:00来源:本站整理浏览:188
{DJG波段风暴改}
{}
DIFG:EMA(CLOSE,21)-EMA(CLOSE,34)NODRAW;
DEAG:EMA(DIFG,8)NODRAW;
MACDD:20*(DIFG-DEAG)COLORSTICK;
MARDD:=SMA(MACDD,2,1);
{}
STICKLINE(MACDD>REF(MACDD,1) AND MACDD<0,MACDD,0,0,0)COLORMAGENTA;
STICKLINE(MACDD<REF(MACDD,1) AND MACDD<0,MACDD,0,0,0)COLORGREEN;
STICKLINE(MACDD>REF(MACDD,1) AND MACDD>0,MACDD,0,0,0)COLORRED;
STICKLINE(MACDD<REF(MACDD,1) AND MACDD>0,MACDD,0,0,0)COLORCYAN;
{}
STICKLINE(MACDD>MARDD,MACDD,MARDD,1,0),COLORRED;
STICKLINE(MACDD<MARDD,MACDD,MARDD,1,0),COLORBLUE;
原版
{DJG波段风暴}
DIFF:=EMA(CLOSE,21)-EMA(CLOSE,34);
DEA:=EMA(DIFF,8);
MACDD:=20*(DIFF-DEA);
MARDD:=SMA(MACDD,2,1);
STICKLINE(MACDD>MARDD,MACDD,MARDD,1,0),COLOR0000FF;
STICKLINE(MACDD<MARDD,MACDD,MARDD,1,0),COLORFF0000;
- 上一篇公式:通达信NB选股4个点左右预警指标公式
- 下一篇公式:通达信简单实用的主副图指标智能辅助