好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式★版块涨幅★公式 飞狐版块源码指标 源码

★版块涨幅★公式 飞狐版块源码指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-08-25 19:25:45
  • 指标公式标签:版块 涨幅
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:★版块涨幅★公式 飞狐版块源码指标 源码

首先建立一个“涨幅引用”的引用公式后再建立“版块涨幅”
-----------------------------------------------------


{涨幅引用}
a:动态行情(14);
aa:(收盘价/向前引用(收盘价,1)-1)*100;


-----------------------------------------------------

{★版块涨幅★}
drawtextex(stkindi('1a0001','涨幅引用.a',0,-1)>0,1,0,0,'上证涨幅:'+numtostr(stkindi('1a0001','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('1a0001','涨幅引用.a',0,-1)<0,1,0,0,'上证涨幅:'+numtostr(stkindi('1a0001','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa01','涨幅引用.a',0,-1)>=0,1,0,150,'工程建筑:'+numtostr(stkindi('aa01','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa01','涨幅引用.a',0,-1)<0,1,0,150,'工程建筑:'+numtostr(stkindi('aa01','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa02','涨幅引用.a',0,-1)>=0,1,0,300,'电力指数:'+numtostr(stkindi('aa02','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa02','涨幅引用.a',0,-1)<0,1,0,300,'电力指数:'+numtostr(stkindi('aa02','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa03','涨幅引用.a',0,-1)>=0,1,0,450,'计算机类:'+numtostr(stkindi('aa03','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa03','涨幅引用.a',0,-1)<0,1,0,450,'计算机类:'+numtostr(stkindi('aa03','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa04','涨幅引用.a',0,-1)>=0,1,0,600,'电子信息:'+numtostr(stkindi('aa04','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa04','涨幅引用.a',0,-1)<0,1,0,600,'电子信息:'+numtostr(stkindi('aa04','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa05','涨幅引用.a',0,-1)>=0,1,0,750,'地产指数:'+numtostr(stkindi('aa05','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa05','涨幅引用.a',0,-1)<0,1,0,750,'地产指数:'+numtostr(stkindi('aa05','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa06','涨幅引用.a',0,-1)>=0,1,0,900,'纺织服装:'+numtostr(stkindi('aa06','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa06','涨幅引用.a',0,-1)<0,1,0,900,'纺织服装:'+numtostr(stkindi('aa06','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa07','涨幅引用.a',0,-1)>=0,1,200,0,'钢铁指数:'+numtostr(stkindi('aa07','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa07','涨幅引用.a',0,-1)<0,1,200,0,'钢铁指数:'+numtostr(stkindi('aa07','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa08','涨幅引用.a',0,-1)>=0,1,200,150,'供水供气:'+numtostr(stkindi('aa08','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa08','涨幅引用.a',0,-1)<0,1,200,150,'供水供气:'+numtostr(stkindi('aa08','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa09','涨幅引用.a',0,-1)>=0,1,200,300,'化工化纤:'+numtostr(stkindi('aa09','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa09','涨幅引用.a',0,-1)<0,1,200,300,'化工化纤:'+numtostr(stkindi('aa09','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa10','涨幅引用.a',0,-1)>=0,1,200,450,'电器指数:'+numtostr(stkindi('aa10','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa10','涨幅引用.a',0,-1)<0,1,200,450,'电器指数:'+numtostr(stkindi('aa10','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa11','涨幅引用.a',0,-1)>=0,1,200,600,'银行金融:'+numtostr(stkindi('aa11','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa11','涨幅引用.a',0,-1)<0,1,200,600,'银行金融:'+numtostr(stkindi('aa11','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa12','涨幅引用.a',0,-1)>=0,1,200,750,'煤炭石油:'+numtostr(stkindi('aa12','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa12','涨幅引用.a',0,-1)<0,1,200,750,'煤炭石油:'+numtostr(stkindi('aa12','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa13','涨幅引用.a',0,-1)>=0,1,200,900,'酿酒食品:'+numtostr(stkindi('aa13','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa13','涨幅引用.a',0,-1)<0,1,200,900,'酿酒食品:'+numtostr(stkindi('aa13','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa14','涨幅引用.a',0,-1)>=0,1,400,0,'农林牧渔:'+numtostr(stkindi('aa14','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa14','涨幅引用.a',0,-1)<0,1,400,0,'农林牧渔:'+numtostr(stkindi('aa14','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa15','涨幅引用.a',0,-1)>=0,1,400,150,'商业连锁:'+numtostr(stkindi('aa15','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa15','涨幅引用.a',0,-1)<0,1,400,150,'商业连锁:'+numtostr(stkindi('aa15','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa16','涨幅引用.a',0,-1)>=0,1,400,300,'建筑材料:'+numtostr(stkindi('aa16','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa16','涨幅引用.a',0,-1)<0,1,400,300,'建筑材料:'+numtostr(stkindi('aa16','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa17','涨幅引用.a',0,-1)>=0,1,400,450,'其它行业:'+numtostr(stkindi('aa17','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa17','涨幅引用.a',0,-1)<0,1,400,450,'其它行业:'+numtostr(stkindi('aa17','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa18','涨幅引用.a',0,-1)>=0,1,400,600,'汽车配件:'+numtostr(stkindi('aa18','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa18','涨幅引用.a',0,-1)<0,1,400,600,'汽车配件:'+numtostr(stkindi('aa18','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa19','涨幅引用.a',0,-1)>=0,1,400,750,'机械指数:'+numtostr(stkindi('aa19','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa19','涨幅引用.a',0,-1)<0,1,400,750,'机械指数:'+numtostr(stkindi('aa19','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa20','涨幅引用.a',0,-1)>=0,1,400,900,'医药指数:'+numtostr(stkindi('aa20','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa20','涨幅引用.a',0,-1)<0,1,400,900,'医药指数:'+numtostr(stkindi('aa20','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa21','涨幅引用.a',0,-1)>=0,1,600,0,'外贸指数:'+numtostr(stkindi('aa21','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa21','涨幅引用.a',0,-1)<0,1,600,0,'外贸指数:'+numtostr(stkindi('aa21','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa22','涨幅引用.a',0,-1)>=0,1,600,150,'教育传媒:'+numtostr(stkindi('aa22','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa22','涨幅引用.a',0,-1)<0,1,600,150,'教育传媒:'+numtostr(stkindi('aa22','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa23','涨幅引用.a',0,-1)>=0,1,600,300,'仪电仪表:'+numtostr(stkindi('aa23','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa23','涨幅引用.a',0,-1)<0,1,600,300,'仪电仪表:'+numtostr(stkindi('aa23','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa24','涨幅引用.a',0,-1)>=0,1,600,450,'有色金属:'+numtostr(stkindi('aa24','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa24','涨幅引用.a',0,-1)<0,1,600,450,'有色金属:'+numtostr(stkindi('aa24','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa25','涨幅引用.a',0,-1)>=0,1,600,600,'造纸印刷:'+numtostr(stkindi('aa25','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa25','涨幅引用.a',0,-1)<0,1,600,600,'造纸印刷:'+numtostr(stkindi('aa25','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa26','涨幅引用.a',0,-1)>=0,1,600,750,'券商指数:'+numtostr(stkindi('aa26','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa26','涨幅引用.a',0,-1)<0,1,600,750,'券商指数:'+numtostr(stkindi('aa26','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa27','涨幅引用.a',0,-1)>=0,1,600,900,'电力设备:'+numtostr(stkindi('aa27','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa27','涨幅引用.a',0,-1)<0,1,600,900,'电力设备:'+numtostr(stkindi('aa27','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa28','涨幅引用.a',0,-1)>=0,1,800,0,'通信指数:'+numtostr(stkindi('aa28','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa28','涨幅引用.a',0,-1)<0,1,800,0,'通信指数:'+numtostr(stkindi('aa28','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa29','涨幅引用.a',0,-1)>=0,1,800,150,'运输物流:'+numtostr(stkindi('aa29','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa29','涨幅引用.a',0,-1)<0,1,800,150,'运输物流:'+numtostr(stkindi('aa29','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa30','涨幅引用.a',0,-1)>=0,1,800,300,'交通设施:'+numtostr(stkindi('aa30','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa30','涨幅引用.a',0,-1)<0,1,800,300,'交通设施:'+numtostr(stkindi('aa30','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa31','涨幅引用.a',0,-1)>=0,1,800,450,'旅游酒店:'+numtostr(stkindi('aa31','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa31','涨幅引用.a',0,-1)<0,1,800,450,'旅游酒店:'+numtostr(stkindi('aa31','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa33','涨幅引用.a',0,-1)>=0,1,800,600,'创投概念:'+numtostr(stkindi('aa33','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa33','涨幅引用.a',0,-1)<0,1,800,600,'创投概念:'+numtostr(stkindi('aa33','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa37','涨幅引用.a',0,-1)>=0,1,800,750,'环保产业:'+numtostr(stkindi('aa37','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa37','涨幅引用.a',0,-1)<0,1,800,750,'环保产业:'+numtostr(stkindi('aa37','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;
drawtextex(stkindi('aa38','涨幅引用.a',0,-1)>=0,1,800,900,'外资并购:'+numtostr(stkindi('aa38','涨幅引用.a',0,-1)*100,2)+'%'),colorred;
drawtextex(stkindi('aa38','涨幅引用.a',0,-1)<0,1,800,900,'外资并购:'+numtostr(stkindi('aa38','涨幅引用.a',0,-1)*100,2)+'%'),colorgray;


★版块涨幅★(源码)

  >>>使用本站搜索工具可以找到更多★版块涨幅★公式 飞狐版块源码指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文★版块涨幅★公式 飞狐版块源码指标 源码仅供学习研究。

猜你喜欢

学了又学