当前位置:→ 股海网飞狐公式 → 正文
  • 飞狐MACD+KDJ金死叉指标公式

  • 相关简介:DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26)); DEA:=EMA(DIFF,9); MACD:2*(DIFF-DEA),COLORSTICK; STICKLINE(MACDref(MACD,1)and MACD0,0,MACD,8,0),COLOR00aaff; STICKLINE(MACDref(MACD,1)and MACD0,0,MACD,6.6,0),COLOR00bbff; STICKLINE(MACDref(MACD,1)and MACD0,0,MACD,4

  • 文章来源:股海网作者:股海网发布时间:2015-03-14浏览次数:下载次数:0

DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA:=EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,8,0),COLOR00aaff;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,6.6,0),COLOR00bbff;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,4.4,0),COLOR00ccff;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,3.3,0),COLOR00ddff;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,2.2,0),COLOR00eeff;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,1.1,0),COLOR00ffff;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,8,0),COLOR0000aa;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,6.6,0),COLOR0011bb;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,4.4,0),COLOr0022cc;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,3.3,0),COLOR0033dd;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,2.2,0),COLOR0044ee;
STICKLINE(MACD>=ref(MACD,1)and MACD>0,0,MACD,1.1,0),COLOR0055ff;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,8,0),COLOraa00bb;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,6.6,0),COLORbb11bb;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,4.4,0),COLOrcc22bb;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,3.3,0),COLORdd33bb;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,2.2,0),COLORee44bb;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,1.1,0),COLORff55bb;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,8,0),COLOrffaa00;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,6.6,0),COLORffbb11;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,4.4,0),COLOrffcc22;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,3.3,0),COLORffdd33;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,2.2,0),COLORffee44;
STICKLINE(MACD<=ref(MACD,1)and MACD<0,0,MACD,1.1,0),COLORffff55;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:3*K-2*D,linethick0;
周K:=MA("KDJ.K#WEEK"(9,3,3),5),pointdot,LINETHICK2,COLORWHITE;
周D:=MA("KDJ.D#WEEK"(9,3,3),5),pointdot,LINETHICK2,COLOR33FF99;
周J:=MA("KDJ.J#WEEK"(9,3,3),5),LINETHICK1,COLORred;
DRAWICON(k<20 and cross(k,d),MACD,8),linethick,align2,COLORBROWN;
日金▲: DRAWTEXT(CROSS("KDJ.K#DAY"(9,3,3),"KDJ.D#DAY"(9,3,3)),MACD,'▲'),linethick,align2,COLORgray;
日死▼: DRAWTEXT(CROSS("KDJ.d#DAY"(9,3,3),"KDJ.k#DAY"(9,3,3)),macd*1.5,'▼'),linethick,align2,COLORwhite;
周金▲: DRAWTEXT(CROSS("KDJ.K#WEEK"(9,3,3),"KDJ.D#WEEK"(9,3,3)),MACD,'▲'),linethick,align2,COLORred;
周死▼: DRAWTEXT(CROSS("KDJ.d#WEEK"(9,3,3),"KDJ.k#WEEK"(9,3,3)),macd*1.5,'▼'),linethick,align2,COLORgreen;
月金▲: DRAWTEXT(CROSS("KDJ.K#MONTH"(9,3,3),"KDJ.D#MONTH"(9,3,3)),MACD,'▲'),linethick,align2,COLORMAGENTA;
月死▼: DRAWTEXT(CROSS("KDJ.D#MONTH"(9,3,3),"KDJ.K#MONTH"(9,3,3)),macd*1.5,'▼'),linethick,align2,COLORYELLOW;
DIFF: (EMA(CLOSE,12)-EMA(CLOSE,26)),COLORWHITE;
DEA:EMA(DIFF,9),COLORWHITE;
partline(c>ma(c,15) and diff>=dea,dea),colormagenta,linethick2;
partline(c>ma(c,15) and diff>=dea,diff),colorred,linethick2;
partline(c<ma(c,15),dea),colorgreen,linethick2;
partline(c<ma(c,15),diff),colorgreen,linethick2;
vertline(diff<70 AND cross(diff,dea)),colorRED;
vertline(cross(dea,diff)),colorWHITE;

飞狐MACD+KDJ金死叉指标公式

 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

飞狐MACD+KDJ金死叉指标公式

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2015-03-14
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.