广告,该站的任何行为,与本站无关广告,该站的任何行为,与本站无关

股民大家庭股票论坛

 找回密码
 立即注册

扫一扫,访问微社区

广告,该站的任何行为,与本站无关广告,该站的任何行为,与本站无关广告,该站的任何行为,与本站无关广告,该站的任何行为,与本站无关广告,该站的任何行为,与本站无关广告,该站的任何行为,与本站无关
搜索
查看: 1827|回复: 1

[通达信公式] 通达信主力扫描仪副图源码指标公式

[复制链接]
发表于 2018-08-26 09:24:19 | 显示全部楼层 |阅读模式
A1:=CAPITAL;
A2:=(((H + L) + O) + C) / 4;
A3:=(((INDEXH + INDEXL) + INDEXO) + INDEXC) / 4;
A4:=(A2 - (REF(A2,1))) / (REF(A2,1));
A5:=(A3 - (REF(A3,1))) / (REF(A3,1));
A6:=(((SUM(A4,10)) + (SUM(A5,10))) / 10) * 1000;
A7:=IF(((A6 > 0) AND (A6 < 75)),A6,(IF((A6 > 75),75,0)));
A8:=IF(((A6 < 0) AND (A6 > -75)),(A6),(IF((A6 < -75),75,0)));
STICKLINE(A8,150,(150 - A8),9,0),colorCyan;
STICKLINE(A7,150,(150 - A7),9,0),colorMagenta;
A9:=(VOL * (((A2 * 2) - HIGH) - LOW)) / (HIGH - LOW);
A10:=IF(((HIGH = LOW) AND (A2 < (REF(A2,1)))),(-1 * VOL),VOL);
A11:=IF((HIGH = LOW),A10,A9);
A12:=SUM(A11,11);
A13:=(A12 / (A1 * 11)) * 10000;
A14:=IF(((A13 < 150) AND (A13 > -150)),A13,150);
A15:=IF((A14 > 0),A14,0);
A16:=IF((A14 < 0),(A14),0);
STICKLINE((A14 > 0),0,A15,8,0),colorYellow;
STICKLINE((A14 < 0),0,A16,8,0),colorGreen;
买方能量:(A15),colorYellow,linethick0;
A17:=(SUM((A2 * VOL),16)) / (SUM(VOL,16));
A18:=(SUM((A2 * VOL),11)) / (SUM(VOL,11));
A19:=(SUM((A2 * VOL),6)) / (SUM(VOL,6));
A20:=((SUM((A2 * VOL),7)) - (A2 * VOL)) / ((SUM(VOL,7)) - VOL);
A21:=((A18 - A17) / A2) * 1000;
A22:=IF((A21 > 50),50,(IF((A21 < -50),-50,A21)));
A23:=((A19 - A18) / A2) * 1000;
A24:=IF((A23 > 50),50,(IF((A23 < -50),-50,A23)));
A25:=((((A19 - A20) / A20) * 5) / 4) * 1000;
A26:=IF((A25 > 50),50,(IF((A25 < -50),-50,A25)));
A27:=(A22 + A24) + A26;
红柱线:IF((A27 > 0),A27,0),colorRed,linethick0;
兰柱线:IF((A27 < 0),(A27),0),ColorFF0000,linethick0;
A28:=IF((兰柱线 < 150),兰柱线,(IF((兰柱线 = 150),65,0)));
A29:=IF((兰柱线 = 150),60,0);
A30:=IF((红柱线 < 150),红柱线,(IF((红柱线 = 150),65,0)));
A31:=IF((红柱线 = 150),60,0);
A32:=(((红柱线 > (REF(红柱线,1))) AND (红柱线 > 49)) AND (CLOSE < (REF(CLOSE,1)))) AND ((OPEN < (REF(CLOSE,1))) OR ((OPEN = (REF(CLOSE,1))) AND ((HIGH / (REF(CLOSE,1))) < 1.02)));
DRAWICON(A32,90,4),colorGreen;
超跌短线买点:(兰柱线 = 150) AND ((CLOSE < OPEN) OR (CLOSE > OPEN)),colorRed;
DRAWICON(超跌短线买点,(兰柱线 - 10),4),colorRed,;
A33:=SUMBARS(VOL,(A1 * 0.8));
A34:=IF((A33 < 9),9,A33);
A35:=HHV(A2,A34);
A36:=LLV(A2,A34);
A37:=IF((A35 = A36),0,((100 * (A2 - A36)) / (A35 - A36)));
中趋势线:(1.5 * (SUM(A37,6))) / 6,linethick3,colorRed;
长趋势线:(SUM(中趋势线,6)) / 6,linethick3,colorGreen;
A38:=((HIGH - A2) > (A2 - LOW)) OR ((HIGH = LOW) AND (LOW < (REF(CLOSE,1))));
A39:=FILTER(A38,5);
DRAWICON(A39,100,6),;
DRAWICON(((中趋势线 < 1) AND (长趋势线 < 1)),20,5),;
长牛线:(100),linethick1,colorMagenta;
强弱分界:(50),linethick1,colorRed;
休息线:(25),linethick1,colorMagenta;
A40:=EMA((((CLOSE - (LLV(LOW,25))) / ((HHV(HIGH,25)) - (LLV(LOW,25)))) * 4),4);
DRAWTEXT((FILTER((A40 < 0.25),5)),30,'考虑买入'),colorRed;
DRAWTEXT((FILTER((A40 > 3.6),10)),155,'考虑出货'),colorgreen;
A42:=(EMA((((CLOSE - (LLV(LOW,33))) / ((HHV(HIGH,21)) - (LLV(LOW,33)))) * 100),20)) * 0.998;
A43:=EMA(((0.667 * (REF(A42,1))) + (0.333 * A42)),1);
STICKLINE((A43 < 20),20,(20 + 20),4,0),colorMagenta;
DRAWTEXT((超跌短线买点 = 1),60,'超跌短线买点');
DRAWTEXT((A32 = 1),60,'超强短线买点'),colorwhite;
STICKLINE(A30,0,A30,5,0),colorRed;
STICKLINE(A31,105,150,5,0),colorRed;
STICKLINE(A31,65,105,5,0),ColorFF0000;
STICKLINE(A28,0,A28,5,0),ColorFF0000;
STICKLINE(A29,105,150,5,0),ColorFF0000;
STICKLINE(A29,65,105,5,0),colorRed;
2018-08-26_092322.png
发表于 2018-08-26 10:06:56 | 显示全部楼层
谢谢分享
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

广告合作|VIP中心|网站地图|sitemap|手机版|小黑屋|archiver|股民大家庭 ( 晋ICP备18009968号-1 ) 24小时在线客服

GMT+8, 2018-9-20 08:51 , Processed in 0.289886 second(s), 29 queries , Gzip On.

Powered by Discuz! X3.2

© 2007-2018 Comsenz Inc.

股民大家庭股票论坛中国最大最好的股票论坛,11年专注股市论坛
股民大家庭提供股票入门股票入门基础知识股票入门书籍股票行情股票公式新股在线股民学校股票代码查询股票百问等。
声明:股民大家庭上所有广告均为外来广告,所有广告行为均与股民大家庭无关。
股民大家庭所有资讯均来源于网络,不作为投资依据,仅供参考,据此入市,风险自担!
快速回复 返回顶部 返回列表