能量对比分析-捕捉龙头股的最佳良方
本公式有3条线:个股能量线(红色)、大盘能量线(黄色)和行业能量线(绿色),如果行业线在大盘线之上,且能量线上穿行业线或大盘线时为买入点;如果配合公式的买点信号(白色),便得到捕捉龙头股的最佳点!!(见附图1-4)
本人理想币太少,望坛友多给加分,拜托了!!
公式源码如下:
input:n(70,1,999),m(5,1,120);
zsc:=if(inblock('工程建筑'),"991002$close",if(inblock('电力'),"991003$close",if(inblock('计算机'),"991004$close",
if(inblock('电子信息'),"991006$close",if(inblock('房地产'),"991007$close",if(inblock('纺织服装'),"991008$close",
if(inblock('钢铁'),"991009$close",if(inblock('供水供气'),"991010$close",if(inblock('化工化纤'),"991011$close",
if(inblock('电器'),"991014$close",if(inblock('交通设施'),"991016$close",if(inblock('银行类'),"991017$close",
if(inblock('旅游酒店'),"991018$close",if(inblock('煤炭石油'),"991019$close",if(inblock('酿酒食品'),"991020$close",
if(inblock('农林牧渔'),"991021$close",if(inblock('商业连锁'),"991023$close",if(inblock('建材'),"991024$close",
if(inblock('其他行业'),"991025$close",if(inblock('汽车类'),"991026$close",if(inblock('机械'),"991027$close",
if(inblock('医药'),"991028$close",if(inblock('外贸'),"991031$close",if(inblock('教育传媒'),"991032$close",
if(inblock('仪电仪表'),"991033$close",if(inblock('有色金属'),"991034$close",if(inblock('造纸印刷'),"991035$close",
if(inblock('券商'),"991036$close",if(inblock('电力设备'),"991037$close",if(inblock('通信'),"991135$close",
if(inblock('运输物流'),"991136$close",if(inblock('保险'),"991255$close",0))))))))))))))))))))))))))))))));
zsh:=if(inblock('工程建筑'),"991002$high",if(inblock('电力'),"991003$high",if(inblock('计算机'),"991004$high",
if(inblock('电子信息'),"991006$high",if(inblock('房地产'),"991007$high",if(inblock('纺织服装'),"991008$high",
if(inblock('钢铁'),"991009$high",if(inblock('供水供气'),"991010$high",if(inblock('化工化纤'),"991011$high",
if(inblock('电器'),"991014$high",if(inblock('交通设施'),"991016$high",if(inblock('银行类'),"991017$high",
if(inblock('旅游酒店'),"991018$high",if(inblock('煤炭石油'),"991019$high",if(inblock('酿酒食品'),"991020$high",
if(inblock('农林牧渔'),"991021$high",if(inblock('商业连锁'),"991023$high",if(inblock('建材'),"991024$high",
if(inblock('其他行业'),"991025$high",if(inblock('汽车类'),"991026$high",if(inblock('机械'),"991027$high",
if(inblock('医药'),"991028$high",if(inblock('外贸'),"991031$high",if(inblock('教育传媒'),"991032$high",
if(inblock('仪电仪表'),"991033$high",if(inblock('有色金属'),"991034$high",if(inblock('造纸印刷'),"991035$high",
if(inblock('券商'),"991036$high",if(inblock('电力设备'),"991037$high",if(inblock('通信'),"991135$high",
if(inblock('运输物流'),"991136$high",if(inblock('保险'),"991255$high",0))))))))))))))))))))))))))))))));
zsl:=if(inblock('工程建筑'),"991002$low",if(inblock('电力'),"991003$low",if(inblock('计算机'),"991004$low",
if(inblock('电子信息'),"991006$low",if(inblock('房地产'),"991007$low",if(inblock('纺织服装'),"991008$low",
if(inblock('钢铁'),"991009$low",if(inblock('供水供气'),"991010$low",if(inblock('化工化纤'),"991011$low",
if(inblock('电器'),"991014$low",if(inblock('交通设施'),"991016$low",if(inblock('银行类'),"991017$low",
if(inblock('旅游酒店'),"991018$low",if(inblock('煤炭石油'),"991019$low",if(inblock('酿酒食品'),"991020$low",
if(inblock('农林牧渔'),"991021$low",if(inblock('商业连锁'),"991023$low",if(inblock('建材'),"991024$low",
if(inblock('其他行业'),"991025$low",if(inblock('汽车类'),"991026$low",if(inblock('机械'),"991027$low",
if(inblock('医药'),"991028$low",if(inblock('外贸'),"991031$low",if(inblock('教育传媒'),"991032$low",
if(inblock('仪电仪表'),"991033$low",if(inblock('有色金属'),"991034$low",if(inblock('造纸印刷'),"991035$low",
if(inblock('券商'),"991036$low",if(inblock('电力设备'),"991037$low",if(inblock('通信'),"991135$low",
if(inblock('运输物流'),"991136$low",if(inblock('保险'),"991255$low",0))))))))))))))))))))))))))))))));
var12:=(hhv(high,34)-close)/(hhv(high,34)-llv(low,34))*100;
能量线:sma(var12,3,1)*(-1)+100,colorred,linethick2;
knx:=sma(var12,3,1);
mk:=ma(knx,m);
买点:if(knx>n and cross(mk , knx),50,0),colorwhite,linethick1;
var13:=(hhv(zsh,34)-zsc)/(hhv(zsh,34)-llv(zsl,34))*100;
行业线:sma(var13,3,1)*(-1)+100,colorgreen,linethick1;
var11:=(hhv(indexh,34)-indexc)/(hhv(indexh,34)-llv(indexl,34))*100;
大盘线:sma(var11,3,1)*(-1)+100,coloryellow,linethick1;
板块:=ifs(inblock('工程建筑'),'工程建筑',ifs(inblock('电力'),'电力',ifs(inblock('计算机'),'计算机',ifs(inblock('电子信息'),'电子信息',
ifs(inblock('房地产'),'房地产',ifs(inblock('纺织服装'),'纺织服装',ifs(inblock('钢铁'),'钢铁',ifs(inblock('供水供气'),'供水供气',
ifs(inblock('化工化纤'),'化工化纤',ifs(inblock('电器'),'电器',ifs(inblock('交通设施'),'交通设施',ifs(inblock('银行类'),'银行类',
ifs(inblock('旅游酒店'),'旅游酒店',ifs(inblock('煤炭石油'),'煤炭石油',ifs(inblock('酿酒食品'),'酿酒食品',ifs(inblock('农林牧渔'),'农林牧渔',
ifs(inblock('商业连锁'),'商业连锁',ifs(inblock('建材'),'建材',ifs(inblock('其他行业'),'其他行业',ifs(inblock('汽车类'),'汽车类',
ifs(inblock('机械'),'机械',ifs(inblock('医药'),'医药',ifs(inblock('外贸'),'外贸',ifs(inblock('教育传媒'),'教育传媒',ifs(inblock('仪电仪表'),'仪电仪表',
ifs(inblock('有色金属'),'有色金属',ifs(inblock('造纸印刷'),'造纸印刷',ifs(inblock('券商'),'券商',ifs(inblock('电力设备'),'电力设备',
ifs(inblock('通信'),'通信',ifs(inblock('运输物流'),'运输物流',ifs(inblock('保险'),'保险',''))))))))))))))))))))))))))))))));
drawtextabs(10,5,'所属: '+板块+'指数'),coloryellow;
上一指标公式:送上一个09年100%的组合公式下载 大智慧公式送上
下一指标公式:分时流比分时75-分时公式下载 大智慧
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文能量对比分析-捕捉龙头股的最佳良方公式下载 大智慧能量仅供学习研究。