联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

大机构波段风暴改,贴图,源码

2016-5-3 11:27:27点击:

大机构波段风暴是个很经典的波段副图,
公式没改变,只增加柱线,这样显得更直观


{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;