当前位置:→ 股海网大智慧公式 → 正文
  • 大智慧主力动向副图指标

  • 相关简介:大智慧主力动向副图指标 源码 N1:=9;N2:=5; var1:=((close-ma(close,6))/ma(close,6)*100+(close-ma(close,24))/ma(close,24)*100+(close-ma(close,32))/ma(close,32)*100)/3; drawicon(var1-9 and var1 ref(var1,1),3,7); 买入:var1-9 and var1 ref(var1,1),colorred; stickline(var12

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

大智慧主力动向副图指标

源码

N1:=9;N2:=5;
var1:=((close-ma(close,6))/ma(close,6)*100+(close-ma(close,24))/ma(close,24)*100+(close-ma(close,32))/ma(close,32)*100)/3;
drawicon(var1<-9 and var1> ref(var1,1),3,7);
买入:var1<-9 and var1> ref(var1,1),colorred;
stickline(var1>20 and filter(var1< ref(var1,1),5),var1+5,0,7,1),color00ff00;
大顶:var1>20 and filter(var1< ref(var1,1),5),color00ff00;
stickline(var1>9 and filter(var1< ref(var1,1),5),var1+2,0,3,1),colorgreen;
短顶:var1>9 and filter(var1< ref(var1,1),5),colorgreen;
var2:=hhv(var1>20,10); 
stickline(var2 and cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20)),var1,0,7,0),colorblue; 
危险:var2 and cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20)),colorblue;
stickline(var2 and filter(var1< ref(var1,1),6) and cross(ma(close,5),ma(close,2)),var1,0,7,0);
注意止损:var2 and filter(var1< ref(var1,1),6) and cross(ma(close,5),ma(close,2));
stickline(var1<-20 and filter(var1> ref(var1,1),5),var1-5,0,7,1),coloryellow;
大底:var1<-20 and filter(var1> ref(var1,1),7),coloryellow;
stickline(var1<-9 and var1> ref(var1,1),var1-2,0,3,1),colorff00ff;
短底:var1<-9 and var1> ref(var1,1),colorff00ff;
持币区域:var1,colorfedcba;
持股区域:if(var1>0,var1,0),colorred;
mtm:=c-ref(c,1);
ZLGJ:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),colorwhite;
MAZL:MA(ZLGJ,N2),coloryellow ;
顶底背离:0,colorred;
A1:=BARSLAST(ref(cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)),1)); 
B1:=ref(c,A1+1)>c and ref("macd.diff"(12,26,9),A1+1)<"macd.diff"(12,26,9) and cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)); 
MACD底背离:STICKLINE(FILTER(B1>0,5),0,0.75,3,0),COLOR00FF00;{5天内B1>0的条件不被记录在内,在当前周期内出现B1>0画绿色柱线} 
DRAWTEXT(FILTER(B1>0,5),0.57,'MACD底背离'),COLOR00FF00;
A2:=BARSLAST(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1)); 
B2:=ref(c,A2+1)>c and ref("kdj.k"(9,3,3),A2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)); 
KDJ底背离:STICKLINE(FILTER(B2>0,5),0,1,3,0),COLORYELLOW;{5天内B2>0的条件不被记录在内,在当前周期内出现B>0画黄色柱线} 
DRAWTEXT(FILTER(B2>0,5),0.80,'KDJ底背离'),COLORYELLOW;
A3:=BARSLAST(ref(cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1)); 
B3:=ref(c,A3+1)>c and ref("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) and cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)); 
RSI底背离:STICKLINE(FILTER(B3>0,5),0,0.5,3,0),COLORFFCC66;{5天内B3>0的条件不被记录在内,在当前周期内出现B3>0画青色柱线} 
DRAWTEXT(FILTER(B3>0,5),0.25,'RSI底背离'),COLORFFCC66;
2,COLORRED; 
C1:=BARSLAST(ref(cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)),1)); 
D1:=ref(c,C1+1)"macd.diff"(12,26,9) and cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)); 
MACD顶背离:STICKLINE(FILTER(D1>0,5),2,1.25,3,0),COLOR0066FF;{5天内D1>0的条件不被记录在内,在当前周期内出现D1>0画橘黄色柱线} 
DRAWTEXT(FILTER(D1>0,5),1.47,'MACD顶背离'),COLOR0066FF;
C2:=BARSLAST(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1)); 
D2:=ref(c,C2+1)"kdj.k"(9,3,3) and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)); 
KDJ顶背离:STICKLINE(FILTER(D2>0,5),2,1,3,0),COLORRED;{5天内D2>0的条件不被记录在内,在当前周期内出现D2>0画红色柱线} 
DRAWTEXT(FILTER(D2>0,5),1.2,'KDJ顶背离'),COLORRED;
C3:=BARSLAST(ref(cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1)); 
D3:=ref(c,C3+1)"RSI.RSI1"(6,12,24) and cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)); 
RSI顶背离:STICKLINE(FILTER(D3>0,5),2,1.5,3,0),COLORFF00FF;{5天内D3>0的条件不被记录在内,在当前周期内出现D3>0画粉色柱线} 
DRAWTEXT(FILTER(D3>0,5),1.75,'RSI顶背离'),COLORFF00FF;
Var21:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
Var22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
准备买入:Var21 AND Var22,stick,linethick2,colorred;
Var23:=REF(CLOSE,1);
Var24:=SMA(MAX(CLOSE-Var23,0),6,1)/SMA(ABS(CLOSE-Var23),6,1)*100;
准备卖出:CROSS(80,Var24),stick,linethick2,colorgreen;
drawicon(准备卖出,1.1,2);
drawicon(准备买入,1.1,1);

大智慧主力动向副图指标

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

大智慧主力动向副图指标

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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