微分MACD
-
相关简介:C/C++ Code 复制内容到剪贴板 {副图名:DF_MACD;中文名:微分MACD;发明人及版权属于JIPGEMLING.见凌见}; {参数: SHORT (2,200,12); LONG (2,200,26);MID(2,200,9);M(2,100,3)}; {额外Y轴分界,值1:0.00;坐标线位置:自动}; {环球通用版}; WXS:=( LONG - SHORT )/2;{系数}; JGL_DF:=WXS*(EMA(CLOSE, SHORT )-REF(EM
-
文章来源:择股网作者:股海网发布时间:2009-11-03浏览次数:
C/C++ Code复制内容到剪贴板
- {副图名:DF_MACD ;中文名:微分MACD;发明人及版权属于JIPGEMLING.见凌见};
- {参数:SHORT(2,200,12);LONG(2,200,26);MID(2,200,9);M(2,100,3)};
- {额外Y轴分界,值1:0.00 ;坐标线位置:自动 };
- {环球通用版};
- WXS:=(LONG-SHORT)/2;{系数};
- JGL_DF:=WXS*(EMA(CLOSE,SHORT)-REF(EMA(CLOSE,SHORT),1));{微分};
- DIF_J:EMA(JGL_DF,LONG),COLORFEDCBA,LINETHICK2;{积分};
- DEA_G:EMA(DIF_J,MID),LINETHICK2;{平滑};
- MACD_L:(DIF_J-DEA_G)*2,COLOR1133FE,COLORSTICK;
- K_DF:SMA(JGL_DF,M,1),COLOR1188FF;{以下为“类KDJ”};
- D_DF:SMA(K_DF,3,1),COLOR13FF99;
- J_DF:2.6*K_DF-1.6*D_DF,COLORAF13FA;
- RF:=REF(J_DF,1);
- STICKLINE(J_DF>=RF,J_DF,RF,2.3,0),COLOR1399FE;
- STICKLINE(J_DF>=RF,J_DF,RF,1.0,0),COLOR13DDFE;
- STICKLINE(J_DF<RF,J_DF,RF,2.3,0),COLORFF9913;
- STICKLINE(J_DF<RF,J_DF,RF,1.0,0),COLORFFDD13;