当前位置:→ 股海网大智慧公式 → 正文
  • 大智慧KDJ日周月副图源码

  • 相关简介:{KDJ同时金叉} 月K:KDJ.K(89,3,3),Color00ff00; 月D:KDJ.D(89,3,3),Color00ff00,linethick2; 周K:KDJ.K(27,3,3),colorred; 周D:KDJ.D(27,3,3),colorred,linethick2; 日K:kd.k(5,3,3),COLORWHITE; 日D:kd.d(5,3,3),COLORWHITE,linethick2; 日金叉:IF(CROSS(日K,日D),50,0),colorffffff;

  • 文章来源:股海网作者:股海网发布时间:2016-04-16浏览次数:下载次数:0

{KDJ同时金叉}
月K:"KDJ.K"(89,3,3),Color00ff00;
月D:"KDJ.D"(89,3,3),Color00ff00,linethick2;
周K:"KDJ.K"(27,3,3),colorred;
周D:"KDJ.D"(27,3,3),colorred,linethick2;
日K:"kd.k"(5,3,3),COLORWHITE;
日D:"kd.d"(5,3,3),COLORWHITE,linethick2;
日金叉:IF(CROSS(日K,日D),50,0),colorffffff;
DRAWTEXT(日金叉,50,'日叉'),colorffffff;
周金叉:IF(CROSS(周K,周D),30,0),colorred;
DRAWTEXT(周金叉,30,'周叉'),colorred;
月金叉:IF(CROSS(月K,月D),20,0),Color0080FF;
DRAWTEXT(月金叉,20,'月叉'),coloryellow;
{KD在30以下多次金叉}
Jm:=CROSS("kdj.k"(5,3,3),"kdj.d"(5,3,3));
JmCOUNT:=COUNT(Jm,BARSLAST("kdj.d"(5,3,3)>=30));
Jmtj:=28*("kdj.d"(5,3,3)<30 and COUNT(JmCount=1,21)=1);
DRAWTEXT (Jmtj,70,'①'),COLORWHITE;
Jmtj2:=28*("kdj.d"(5,3,3)<30 and COUNT(JmCount=2,21)=1);
DRAWTEXT (Jmtj2,70,'②'),COLORYELLOW;
Jmtj3:=28*("kdj.d"(5,3,3)<30 and COUNT(JmCount=3,21)=1);
DRAWTEXT (Jmtj3,70,'③'),COLORYELLOW;
Jmtj4:=28*("kdj.d"(5,3,3)<30 and COUNT(JmCount=4,21)=1);
DRAWTEXT (Jmtj4,70,'④'),COLORYELLOW;
Jmtj5:=28*("kdj.d"(5,3,3)<30 and COUNT(JmCount=5,21)=1);
DRAWTEXT (Jmtj5,70,'⑤'),COLORYELLOW;

0,COLORYELLOW;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A1:=BARSLAST(ref(cross(diff,dea),1));
B1:=ref(c,A1+1)>c and ref(diff,A1+1)<diff and cross(diff,dea);
MACD底背离:STICKLINE(FILTER(B1>0,5),0,0.75,3,0),COLORGREEN;
DRAWTEXT(FILTER(B1>0,5),0.57,'MACD底背离'),COLORGREEN;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
A2:=BARSLAST(ref(cross(k,d),1));
B2:=ref(c,A2+1)>c and ref(k,A2+1)<k and cross(k,d);
KDJ底背离:STICKLINE(FILTER(B2>0,5),0,1,3,0),COLORYELLOW;
DRAWTEXT(FILTER(B2>0,5),0.80,'KDJ底背离'),COLORYELLOW;
LC :=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
A3:=BARSLAST(ref(cross(RSI1,RSI2),1));
B3:=ref(c,A3+1)>c and ref(RSI1,A3+1)<RSI1 and cross(RSI1,RSI2);
RSI底背离:STICKLINE(FILTER(B3>0,5),0,0.5,3,0),COLORwhite;
DRAWTEXT(FILTER(B3>0,5),0.25,'RSI底背离'),COLORwhite;
2,COLORRED;
C1:=BARSLAST(ref(cross(dea,diff),1));
D1:=ref(c,C1+1)<c and ref(diff,C1+1)>diff and cross(dea,diff);
MACD顶背离:STICKLINE(FILTER(D1>0,5),2,1.25,3,0),COLOR0066FF;
DRAWTEXT(FILTER(D1>0,5),1.47,'MACD顶背离'),COLOR0066FF;
C2:=BARSLAST(ref(cross(d,k),1));
D2:=ref(c,C2+1)<c and ref(k,C2+1)>k and cross(d,k);
KDJ顶背离:STICKLINE(FILTER(D2>0,5),2,1,3,0),COLORRED;
DRAWTEXT(FILTER(D2>0,5),1.2,'KDJ顶背离'),COLORRED;
C3:=BARSLAST(ref(cross(RSI2,RSI1),1));
D3:=ref(c,C3+1)<c and ref(RSI1,C3+1)>RSI1 and cross(RSI2,RSI1);
RSI顶背离:STICKLINE(FILTER(D3>0,5),2,1.5,3,0),COLORff00ff;
DRAWTEXT(FILTER(D3>0,5),1.75,'RSI顶背离'),COLORff00ff;
0,colorffa2af;
20,colorffa2af,pointdot;
50,colorffa2af;
80,colorffa2af,pointdot;
100,colorffa2af;

大智慧KDJ日周月副图源码

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

大智慧KDJ日周月副图源码

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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