当前位置:→ 股海网大智慧公式 → 正文
  • 大智慧指标源码,同时提供通达信源码

  • 相关简介:大智慧指标源码,同时提供通达信源码 买:=EMA(C,5); A:=(REF(买,1)); STICKLINE((买A),A,买,6,0),COLORRED; STICKLINE((买=A),A,买,6,0),COLORBLUE; JJ:=(CLOSE+HIGH+LOW)/3; W:=EMA(JJ,10); E:=REF(A,1); STICKLINE((WE),W,E,6,0),COLORWHITE; STICKLINE((EW),E,W,6,0),COLORYELLOW; 卖:=EMA(SL

  • 文章来源:股海网作者:股海网发布时间:2013-05-25浏览次数:下载次数:0

大智慧指标源码,同时提供通达信源码

买:=EMA(C,5);
 A:=(REF(买,1));
 STICKLINE((买>A),A,买,6,0),COLORRED;
 STICKLINE((买<=A),A,买,6,0),COLORBLUE;
 JJ:=(CLOSE+HIGH+LOW)/3;
 W:=EMA(JJ,10);
 E:=REF(A,1);    
STICKLINE((W>E),W,E,6,0),COLORWHITE;
 STICKLINE((E>W),E,W,6,0),COLORYELLOW;
 卖:=EMA(SLOPE(C,21)*20+C,42);
 B:=CROSS(买,卖);
 DRAWTEXT(B,LOW-0.1,'升'),COLORYELLOW,LINETHICK3;
 龙势:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV
 (LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1) ;
 大底:=IF(CROSS( 龙势,20),60,0);
 DRAWTEXT(大底,LOW-0.5,'强'),COLORFF00FF,LINETHICK3;
 多:=EMA(C,3);
 空:=EMA(C,5);
 均衡:=EMA(空,5);
 VARF1:=COUNT(CROSS(多,均衡),2)=1;
 VARF2:=COUNT(CROSS(空,均衡),2)=1;
 ZAI:=FILTER(VARF1 AND VARF2,2);
 DRAWTEXT(ZAI,LOW-0.3,'涨'),COLORWHITE,LINETHICK3;
 H0:=V/CAPITAL;
 A1:=IF(H0>0,AMOUNT,C*V*100);
 C1:=SMA(EMA(A1,3)/EMA(V,3)/100,2,1);
 C2:=SMA(EMA(A1,6)/EMA(V,6)/100,2,1);
 C3:=SMA(EMA(A1,12)/EMA(V,12)/100,2,1);
 C4:=SMA(EMA(A1,24)/EMA(V,24)/100,2,1);
 BBI:(C1+C2+C3+C4)/4,COLORWHITE,LINETHICK1;
 上轨:BBI+3*STD(BBI,13),COLORWHITE,LINETHICK1;
 下轨:BBI-3*STD(BBI,13),COLORWHITE,LINETHICK1;
 压力:HHV(H,20),COLORFF00FF,LINETHICK2;
 VAR1:=REF(CLOSE,2);
专用:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
VAR2:=REF(CLOSE,1);
VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100;
极品逃亡:=IF(专用< REF(专用,1) AND 专用>79,专用,0);
 DRAWTEXT(极品逃亡 ,HIGH+0.3,'逃'),COLORGREEN,LINETHICK3;
 VAR4:=(2*CLOSE+HIGH+LOW)/4;
 VAR5:=LLV(LOW,5);
 VAR6:=HHV(HIGH,5);
 SK:= EMA((VAR4-VAR5)/(VAR6-VAR5)*100,4);
 SD:= EMA(0.667*REF(SK,1)+0.333*SK,2);
 DRAWTEXT(CROSS(SD,SK),HIGH+0.6,'短卖'),COLORWHITE;
 DRAWTEXT(CROSS(SK,SD),LOW-0.6,'短买'),COLORYELLOW;
 V1:=LLV(LOW,10);
 V2:=HHV(H,25);
 价位线:=EMA((C-V1)/(V2-V1)*4,4);
 DRAWTEXT(CROSS(价位线,0.3),LOW-1.5,'必买'),COLORF00FF0;
 DRAWTEXT(CROSS(3.5,价位线),HIGH+1.5,'必卖'),COLOR00FF00;
 MTM:=C-REF(C,1);
 DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
 ZX:=100*EMA(EMA(MTM,12),12)/EMA(EMA(ABS(MTM),12),12);
 CX:=100*EMA(EMA(MTM,26),26)/EMA(EMA(ABS(MTM),26),26);
 DXGD:=LLV(DX,2)=LLV(DX,5) AND CROSS(DX,MA(DX,2));
 短买一:=IF(DXGD AND BETWEEN(DX,0,60) AND ZX>0,1,0);
 清仓:=IF(CROSS(CX,ZX) AND DX<ZX,1,0);
 买一:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
 卖一:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
 DRAWTEXT(FILTER(短买一 AND 短买一<>清仓,4),LOW-0.03,'△'),COLORFFFFFF;
 DRAWTEXT(清仓 AND OPEN>CLOSE,HIGH*1.025,'◆'),COLORFF6600;
 DRAWTEXT(FILTER(买一=1,5),LOW-0.03,'●'),COLORRED;
 DRAWTEXT(FILTER(卖一=1,1),HIGH*1.025,'○'),COLOR00FF00;
 RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 J:=3*K-2*D;
 BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
 BDDD:=LLV(J,2)=LLV(J,8);
 J向下拐头:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);
 DRAWTEXT(J向下拐头 ,HIGH*1.025,'J'),COLORWHITE;
 J向上拐头:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,1,0);
 DRAWTEXT(J向上拐头,LOW-0.03,'J'),COLORFF00FF;
 DRAWTEXTREL(0,30,'指示:白▲:短线买  红●:定买  绿○:出逃  紫J:拐头向上  白J:拐头向下  绿◆:清仓'),COLORGREEN;
 MA3:=MA(C,3);
 MA5:=MA(C,5);
 ZX:=(MA3+MA5)/2;
 MA20:=MA(C,20);
 MA30:=MA(C,30);
 QSXS:=MA5>=MA30 AND MA30>REF(MA30,1);
 GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2);
 YB:=C>REF((O-C)/2+C,2);
 要:=CROSS(C,ZX) AND (GD OR YB) AND QSXS;
 优:=要 AND MA5>REF(MA5,1);
 DRAWTEXT(优,LOW-1.1,'优'),COLORYELLOW,LINETHICK2;
 LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , HIGH+1.2,'逃顶 '),COLORCYAN ;
 DRAWTEXT(CROSS(RSI,11) , LOW-1.2,'低吸 '),COLORRED ;
 STICKLINE(ISUP,LOW,OPEN,1,1),COLOR394BEA;
 STICKLINE(ISUP,OPEN,CLOSE,7,1),COLOR394BEA;
 STICKLINE(ISUP,CLOSE,HIGH,1,1),COLOR394BEA;
 STICKLINE(ISDOWN,LOW,CLOSE,1,0),COLOREF8434;
 STICKLINE(ISDOWN,OPEN,CLOSE,7,0),COLOREF8434;
 STICKLINE(ISDOWN,OPEN,HIGH,1,0),COLOREF8434;
 
=======改为通达信版本源码是:
 买:=EMA(C,5);
 A:=(REF(买,1));
 STICKLINE((买>A),A,买,6,0),COLORRED;
 STICKLINE((买<=A),A,买,6,0),COLORBLUE;
 JJ:=(CLOSE+HIGH+LOW)/3;
 W:=EMA(JJ,10);
 E:=REF(A,1);    
STICKLINE((W>E),W,E,6,0),COLORWHITE;
 STICKLINE((E>W),E,W,6,0),COLORYELLOW;
 卖:=EMA(SLOPE(C,21)*20+C,42);
 B:=CROSS(买,卖);
 DRAWTEXT(B,LOW-0.1,'升'),COLORYELLOW,LINETHICK3;
 龙势:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV
 (LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1) ;
 大底:=IF(CROSS( 龙势,20),60,0);
 DRAWTEXT(大底,LOW-0.5,'强'),COLORFF00FF,LINETHICK3;
 多:=EMA(C,3);
 空:=EMA(C,5);
 均衡:=EMA(空,5);
 VARF1:=COUNT(CROSS(多,均衡),2)=1;
 VARF2:=COUNT(CROSS(空,均衡),2)=1;
 ZAI:=FILTER(VARF1 AND VARF2,2);
 DRAWTEXT(ZAI,LOW-0.3,'涨'),COLORWHITE,LINETHICK3;
 H0:=V/CAPITAL;
 A1:=IF(H0>0,AMOUNT,C*V*100);
 C1:=SMA(EMA(A1,3)/EMA(V,3)/100,2,1);
 C2:=SMA(EMA(A1,6)/EMA(V,6)/100,2,1);
 C3:=SMA(EMA(A1,12)/EMA(V,12)/100,2,1);
 C4:=SMA(EMA(A1,24)/EMA(V,24)/100,2,1);
 BBI:(C1+C2+C3+C4)/4,COLORWHITE,LINETHICK1;
 上轨:BBI+3*STD(BBI,13),COLORWHITE,LINETHICK1;
 下轨:BBI-3*STD(BBI,13),COLORWHITE,LINETHICK1;
 压力:HHV(H,20),COLORFF00FF,LINETHICK2;
 VAR1:=REF(CLOSE,2);
专用:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
VAR2:=REF(CLOSE,1);
VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100;
极品逃亡:=IF(专用< REF(专用,1) AND 专用>79,专用,0);
 DRAWTEXT(极品逃亡 ,HIGH+0.3,'逃'),COLORGREEN,LINETHICK3;
 VAR4:=(2*CLOSE+HIGH+LOW)/4;
 VAR5:=LLV(LOW,5);
 VAR6:=HHV(HIGH,5);
 SK:= EMA((VAR4-VAR5)/(VAR6-VAR5)*100,4);
 SD:= EMA(0.667*REF(SK,1)+0.333*SK,2);
 DRAWTEXT(CROSS(SD,SK),HIGH+0.6,'短卖'),COLORWHITE;
 DRAWTEXT(CROSS(SK,SD),LOW-0.6,'短买'),COLORYELLOW;
 V1:=LLV(LOW,10);
 V2:=HHV(H,25);
 价位线:=EMA((C-V1)/(V2-V1)*4,4);
 DRAWTEXT(CROSS(价位线,0.3),LOW-1.5,'必买'),COLORF00FF0;
 DRAWTEXT(CROSS(3.5,价位线),HIGH+1.5,'必卖'),COLOR00FF00;
 MTM:=C-REF(C,1);
 DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
 ZZX:=100*EMA(EMA(MTM,12),12)/EMA(EMA(ABS(MTM),12),12);
 CX:=100*EMA(EMA(MTM,26),26)/EMA(EMA(ABS(MTM),26),26);
 DXGD:=LLV(DX,2)=LLV(DX,5) AND CROSS(DX,MA(DX,2));
 短买一:=IF(DXGD AND BETWEEN(DX,0,60) AND ZX>0,1,0);
 清仓:=IF(CROSS(CX,ZZX) AND DX<ZZX,1,0);
 买一:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
 卖一:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
 DRAWTEXT(FILTER(短买一 AND 短买一!=清仓,4),LOW-0.03,'△'),COLORFFFFFF;
 DRAWTEXT(清仓 AND OPEN>CLOSE,HIGH*1.025,'◆'),COLORFF6600;
 DRAWTEXT(FILTER(买一=1,5),LOW-0.03,'●'),COLORRED;
 DRAWTEXT(FILTER(卖一=1,1),HIGH*1.025,'○'),COLOR00FF00;
 RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 J:=3*K-2*D;
 BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
 BDDD:=LLV(J,2)=LLV(J,8);
 J向下拐头:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);
 DRAWTEXT(J向下拐头 ,HIGH*1.025,'J'),COLORWHITE;
 J向上拐头:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,1,0);
 DRAWTEXT(J向上拐头,LOW-0.03,'J'),COLORFF00FF;
 {DRAWTEXTREL(0,30,'指示:白▲:短线买  红●:定买  绿○:出逃  紫J:拐头向上  白J:拐头向下  绿◆:清仓'),COLORGREEN;}
 MA3:=MA(C,3);
 MA5:=MA(C,5);
 ZX:=(MA3+MA5)/2;
 MA20:=MA(C,20);
 MA30:=MA(C,30);
 QSXS:=MA5>=MA30 AND MA30>REF(MA30,1);
 GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2);
 YB:=C>REF((O-C)/2+C,2);
 要:=CROSS(C,ZX) AND (GD OR YB) AND QSXS;
 优:=要 AND MA5>REF(MA5,1);
 DRAWTEXT(优,LOW-1.1,'优'),COLORYELLOW,LINETHICK2;
 LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , HIGH+1.2,'逃顶 '),COLORCYAN ;
 DRAWTEXT(CROSS(RSI,11) , LOW-1.2,'低吸 '),COLORRED ;
 STICKLINE(CLOSE>OPEN,LOW,OPEN,0,0),COLOR394BEA;
 STICKLINE(CLOSE>OPEN,OPEN,CLOSE,3,1),COLOR394BEA;
 STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0,0),COLOR394BEA;
 STICKLINE(CLOSE<OPEN,LOW,CLOSE,0,0),COLOREF8434;
 STICKLINE(CLOSE<OPEN,OPEN,CLOSE,3,0),COLOREF8434;
 STICKLINE(CLOSE<OPEN,OPEN,HIGH,0,0),COLOREF8434;
 

大智慧指标源码,同时提供通达信源码

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

大智慧指标源码,同时提供通达信源码

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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