当前位置:→ 股海网通达信公式 → 正文
  • 通达信量化庄建仓(公式 副图 贴图)和谐源码分享

  • 相关简介:{公式名称: 量化庄建仓} VAR1:=MA(CLOSE,5); VAR2:=MA(CLOSE,10); VAR3:=MA(CLOSE,21); VAR4:=MA(CLOSE,30); VAR5:=MA(CLOSE,60); VAR6:=MA(CLOSE,120); VAR7:=CLOSE=VAR3; VAR8:=CLOSEVAR3; VAR9:=STICKLINE(VAR7=VAR8,LOW,HIGH,0,0); VAR10:=STICKLINE(VAR7=VAR8,CLOSE,OPEN,2.

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

{公式名称: 量化庄建仓}

 

VAR1:=MA(CLOSE,5);

VAR2:=MA(CLOSE,10);

VAR3:=MA(CLOSE,21);

VAR4:=MA(CLOSE,30);

VAR5:=MA(CLOSE,60);

VAR6:=MA(CLOSE,120);

VAR7:=CLOSE>=VAR3;

VAR8:=CLOSE<VAR3;

VAR9:=STICKLINE(VAR7>=VAR8,LOW,HIGH,0,0);

VAR10:=STICKLINE(VAR7>=VAR8,CLOSE,OPEN,2.2,0);

VAR11:=STICKLINE(VAR7>=VAR8,CLOSE,OPEN,1.5,0);

VAR12:=STICKLINE(VAR7>=VAR8,CLOSE,OPEN,1,0);

VAR13:=STICKLINE(VAR7>=VAR8,CLOSE,OPEN,0.5,0);

VAR14:=STICKLINE(VAR7<VAR8,CLOSE,OPEN,0.5,0);

VAR15:=STICKLINE(VAR7<VAR8,CLOSE,OPEN,1,0);

VAR16:=STICKLINE(VAR7<VAR8,CLOSE,OPEN,1.5,0);

VAR17:=STICKLINE(VAR7<VAR8,CLOSE,OPEN,2.2,0);

VAR18:=STICKLINE(VAR7<VAR8,LOW,HIGH,0,0);

VAR19:=STICKLINE(CROSS(VAR7,VAR8) OR CROSS(VAR8,VAR7),OPEN,CLOSE,1.5,0);

VAR20:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;

TESTSKIP(DATE>117042099);

VAR21:=1;

VAR22:=1/WINNER(CLOSE);

VAR23:=MA(CLOSE,13);

VAR24:=100-ABS((CLOSE-VAR23)/VAR23*100);

VAR25:=LLV(LOW,75);

VAR26:=HHV(HIGH,75);

VAR27:=(VAR26-VAR25)/100;

VAR28:=SMA((CLOSE-VAR25)/VAR27,20,1);

VAR29:=SMA((OPEN-VAR25)/VAR27,20,1);

VAR30:=3*VAR28-2*SMA(VAR28,15,1);

VAR31:=3*VAR29-2*SMA(VAR29,15,1);

VAR32:=100-VAR31;

VAR33:=REF(LOW,1);

VAR34:=SMA(ABS(LOW-VAR33),3,1)/SMA(MAX(LOW-VAR33,0),3,1)*100;

VAR35:=EMA(IF(CLOSE*1.2,VAR34*10,VAR34/10),3);

VAR36:=LLV(LOW,38);

VAR37:=HHV(VAR35,38);

VAR38:=IF(LLV(LOW,90),1,0);

VAR39:=EMA(IF(LOW<=VAR36,(VAR35+VAR37*2)/2,0),3)/618*VAR38;

有庄:VAR39,NODRAW,COLORGREEN;

有庄的影子:STICKLINE(VAR39,0,VAR39,1,0),COLORLIRED;

VAR40:=1;

VAR41:=1/WINNER(CLOSE);

VAR42:=MA(CLOSE,13);

VAR43:=100-ABS((CLOSE-VAR42)/VAR42*100);

VAR44:=LLV(LOW,75);

VAR45:=HHV(HIGH,75);

VAR46:=(VAR45-VAR44)/100;

VAR47:=SMA((CLOSE-VAR44)/VAR46,20,1);

VAR48:=SMA((OPEN-VAR44)/VAR46,20,1);

VAR49:=3*VAR47-2*SMA(VAR47,15,1);

VAR50:=3*VAR48-2*SMA(VAR48,15,1);

VAR51:=100-VAR50;

新庄:(100-IF(VAR41>5,IF(VAR41<100,VAR41,VAR43-10),0))*VAR40,POINTDOT,COLORRED;

正能量:MA(WINNER(CLOSE*0.95)*100,3)*VAR40,DOTLINE,COLOR0099FF;

负能量:(100-VAR49)*VAR40,DOTLINE,COLORLIGREEN;

VAR52:=正能量>VAR43;

VAR53:=REF(LOW,1)*0.9;

VAR54:=LOW*0.9;

VAR55:=(VAR54*VOL+VAR53*(CAPITAL-VOL))/CAPITAL;

VAR56:=EMA(VAR55,30);

VAR57:=CLOSE-REF(CLOSE,1);

VAR58:=MAX(VAR57,0);

VAR59:=ABS(VAR57);

VAR60:=SMA(VAR58,7,1)/SMA(VAR59,7,1)*100;

VAR61:=SMA(VAR58,13,1)/SMA(VAR59,13,1)*100;

VAR62:=BARSCOUNT(CLOSE);

VAR63:=SMA(MAX(VAR57,0),6,1)/SMA(ABS(VAR57),6,1)*100;

VAR64:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;

VAR65:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

VAR66:=SMA((SMA(VAR65,4,1)-50)*2,3,1);

VAR67:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

VAR68:=SMA(VAR67,4,1);

VAR69:=SMA(VAR68,3,1);

VAR70:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

VAR71:=VAR63<=25 AND VAR64<(-95) AND VAR70>20 AND VAR66<(-30) AND VAR69<30 AND VAR56-CLOSE>=(-0.25) AND VAR60<22 AND VAR61<28 AND VAR62>50;

中线波段图标1:STICKLINE(VAR52,VAR43,正能量,1,0),COLORGREEN;

中线波段图标2:STICKLINE(1,新庄,100,1,0),COLORRED;

中线波段图标3:STICKLINE(VAR71,0,20,1,0),COLORYELLOW;

VAR72:=VAR71;

中线:SMA(VAR20,5,1),COLORLIMAGENTA;

长线:(0+VAR30)*VAR21,COLORYELLOW;

VAR73:=正能量<=20;

VAR74:=长线<=20;

VAR75:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;

VAR76:=-((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100);

VAR77:=CROSS(REF(VAR75,0),0);

VAR78:=CROSS(0,REF(VAR75,0));

VAR79:=正能量>VAR24;

VAR80:=REF(LOW,1)*0.9;

VAR81:=LOW*0.9;

VAR82:=(VAR81*VOL+VAR80*(CAPITAL-VOL))/CAPITAL;

VAR83:=EMA(VAR82,30);

VAR84:=CLOSE-REF(CLOSE,1);

VAR85:=MAX(VAR84,0);

VAR86:=ABS(VAR84);

VAR87:=SMA(VAR85,7,1)/SMA(VAR86,7,1)*100;

VAR88:=SMA(VAR85,13,1)/SMA(VAR86,13,1)*100;

VAR89:=BARSCOUNT(CLOSE);

VAR90:=SMA(MAX(VAR84,0),6,1)/SMA(ABS(VAR84),6,1)*100;

VAR91:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;

VAR92:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

VAR93:=SMA((SMA(VAR92,4,1)-50)*2,3,1);

VAR94:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

VAR95:=SMA(VAR94,4,1);

VAR96:=SMA(VAR95,3,1);

VAR97:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

VAR98:=VAR90<=25 AND VAR91<(-95) AND VAR97>20 AND VAR93<(-30) AND VAR96<30 AND VAR83-CLOSE>=(-0.25) AND VAR87<22 AND VAR88<28 AND VAR89>50;

VAR99:=(-20);

VAR100:=(-25);

VAR101:=(-30);

VAR102:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR103:=SMA(VAR102,3,1);

VAR104:=SMA(VAR103,3,1);

VAR105:=3*VAR103-2*VAR104;

VAR106:=VAR103;

VAR107:=IF(VAR106>REF(VAR106,1),VAR106,DRAWNULL);

VAR108:=IF(VAR106=REF(VAR106,1),VAR106,DRAWNULL);

VAR109:=IF(VAR106<REF(VAR106,1),VAR106,DRAWNULL);

VAR110:=VAR104;

VAR111:=IF(VAR110>REF(VAR110,1),VAR110,DRAWNULL);

VAR112:=IF(VAR110=REF(VAR110,1),VAR110,DRAWNULL);

VAR113:=IF(VAR110<REF(VAR110,1),VAR110,DRAWNULL);

VAR114:=VAR105;

VAR115:=IF(VAR114>REF(VAR114,1),VAR114,DRAWNULL);

VAR116:=IF(VAR114=REF(VAR114,1),VAR114,DRAWNULL);

VAR117:=IF(VAR114<REF(VAR114,1),VAR114,DRAWNULL);

VAR118:=VAR3;

VAR119:=CLOSE>VAR3;

VAR120:=CLOSE<VAR3;

VAR121:=9;

VAR122:=3;

VAR123:=3;

VAR124:=CROSS(VAR103>VAR104,VAR103);

VAR125:=CROSS(VAR103<VAR104,VAR103);

VAR126:=CROSS(VAR105>VAR104,VAR105);

VAR127:=CROSS(VAR105<VAR104,VAR105);

VAR128:=MA(KDJ.K#WEEK(VAR121,VAR122,VAR123),5);

VAR129:=MA(KDJ.D#WEEK(VAR121,VAR122,VAR123),5);

VAR130:=MA(KDJ.J#WEEK(VAR121,VAR122,VAR123),5);

周金叉:DRAWTEXT(CROSS(KDJ.K#WEEK(VAR121,VAR122,VAR123),KDJ.D#WEEK(VAR121,VAR122,VAR123)),(-3),61),COLORRED;

周死叉:DRAWTEXT(CROSS(KDJ.D#WEEK(VAR121,VAR122,VAR123),KDJ.K#WEEK(VAR121,VAR122,VAR123)),103,115),COLORGREEN;

月金叉:DRAWTEXT(CROSS(KDJ.K#MONTH(VAR121,VAR122,VAR123),KDJ.D#MONTH(VAR121,VAR122,VAR123)),(-3),61),COLORMAGENTA;

月死叉:DRAWTEXT(CROSS(KDJ.D#MONTH(VAR121,VAR122,VAR123),KDJ.K#MONTH(VAR121,VAR122,VAR123)),103,115),COLORYELLOW;

VAR131:=正能量<1;

VAR132:=负能量<1;

多头关注信号:DRAWICON(FILTERX(VAR131,5),(-20),1);

空头关注信号:DRAWICON(FILTERX(VAR132,5),118,2);

第一买点:长线<=20 AND 新庄>=100 AND 有庄<=0 AND 周金叉 AND CROSS(REF(长线,0),REF(长线,1)) AND CROSS(REF(CLOSE,0),REF(VAR3,1));

ZXCP买点1:DRAWICON(第一买点,(-10),5);

第一卖点:长线>80 AND 新庄<100 AND 有庄>0 AND 周死叉 AND CROSS(REF(VAR3,1),REF(CLOSE,0)) AND CROSS(REF(长线,1),REF(长线,0)) AND CROSS(REF(VAR3,1),REF(CLOSE,0));

ZXCP卖点1:DRAWICON(第一卖点,108,4);

DRAWTEXT(周金叉,(-3),61),COLORRED;

DRAWTEXT(周死叉,103,115),COLORGREEN;

天界:123,COLORRED;

地界:(-25),COLORGREEN;

VAR133:=100;

VAR134:=0;

上线:115,DOTLINE,COLORWHITE;

下线:(-15),DOTLINE,COLORWHITE;

 通达信量化庄建仓(公式 副图 贴图)和谐源码分享
 

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

通达信量化庄建仓(公式 副图 贴图)和谐源码分享

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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