最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 大智慧叠加指数-分时叠加大盘线和板块指数

    正文概述    2024-04-12 23:08:36  

    建两个指标
     

     

    建两个指标
     

    1、指标名:叠加引用{引用指标,不要改名}
    大盘:INDEXC,linethick2,colorRED;
    大盘昨收:ref(INDEXC,1);
    大盘今开:INDEXO;
    昨收:DYNAINFO(3);
    收盘:c;
    开盘:o;
    昨收1:ref(c,1);

    2、指标名:叠加指数{主图指标,可改名}
    板块指数: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('通信'),"991135$CLOSE",
    IF(INBLOCK('运输物流'),"991136$CLOSE",
    IF(INBLOCK('保险'),"991255$CLOSE",
    IF(INBLOCK('H股'),"993070$CLOSE",
    IF(INBLOCK('ST'),"993072$CLOSE",
    IF(INBLOCK('次新股'),"993075$CLOSE",
    IF(INBLOCK('封闭基金'),"993084$CLOSE",
    IF(INBLOCK('新上海'),"993091$CLOSE",
    IF(INBLOCK('新材料'),"993120$CLOSE",
    IF(INBLOCK('深证成指'),"993124$CLOSE",
    IF(INBLOCK('农业龙头'),"993128$CLOSE",
    IF(INBLOCK('数字电视'),"993129$CLOSE",
    IF(INBLOCK('基金重仓'),"993130$CLOSE",
    IF(INBLOCK('大盘'),"993139$CLOSE",
    IF(INBLOCK('中盘'),"993140$CLOSE",
    IF(INBLOCK('小盘'),"993141$CLOSE",
    IF(INBLOCK('高价'),"993142$CLOSE",
    IF(INBLOCK('中价'),"993143$CLOSE",
    IF(INBLOCK('低价'),"993144$CLOSE",
    IF(INBLOCK('大智慧88'),"993245$CLOSE",
    IF(INBLOCK('网络游戏'),"993305$CLOSE",
    IF(INBLOCK('预亏预减'),"993385$CLOSE",
    IF(INBLOCK('预盈预增'),"993386$CLOSE",
    IF(INBLOCK('社保重仓'),"993405$CLOSE",
    IF(INBLOCK('成渝特区'),"993450$CLOSE",
    IF(INBLOCK('沪深300'),"993505$CLOSE",
    IF(INBLOCK('CDM项目'),"993580$CLOSE",
    IF(INBLOCK('太阳能'),"993583$CLOSE",
    IF(INBLOCK('新能源'),"993585$CLOSE",
    IF(INBLOCK('铁路基建'),"993586$CLOSE",
    IF(INBLOCK('送转'),"993590$CLOSE",
    IF(INBLOCK('海峡西岸'),"993596$CLOSE",
    IF(INBLOCK('智能电网'),"993597$CLOSE",
    IF(INBLOCK('图们江'),"993598$CLOSE",
    IF(INBLOCK('滨海新区'),"993599$CLOSE",
    IF(INBLOCK('IGCC'),"993601$CLOSE",
    IF(INBLOCK('深圳本地'),"993602$CLOSE",
    IF(INBLOCK('黄河三角'),"993603$CLOSE",
    IF(INBLOCK('横琴新区'),"993604$CLOSE",
    IF(INBLOCK('珠江三角'),"993606$CLOSE",
    IF(INBLOCK('江苏沿海'),"993607$CLOSE",
    IF(INBLOCK('辽宁沿海'),"993608$CLOSE",
    IF(INBLOCK('关中天水'),"993609$CLOSE",
    IF(INBLOCK('新疆振兴'),"993610$CLOSE",
    IF(INBLOCK('西藏'),"993611$CLOSE",
    IF(INBLOCK('皖江区域'),"993612$CLOSE",
    IF(INBLOCK('鄱阳湖'),"993613$CLOSE",
    IF(INBLOCK('长株潭'),"993614$CLOSE",
    IF(INBLOCK('武汉规划'),"993616$CLOSE",
    IF(INBLOCK('海南开发'),"993617$CLOSE",
    IF(INBLOCK('青海'),"993618$CLOSE",
    IF(INBLOCK('云南'),"993619$CLOSE",
    IF(INBLOCK('陕甘宁'),"993621$CLOSE",
    IF(INBLOCK('长江三角'),"993622$CLOSE",
    IF(INBLOCK('西部开发'),"993623$CLOSE",
    IF(INBLOCK('QFII持股'),"993625$CLOSE",
    IF(INBLOCK('内蒙古'),"993631$CLOSE",
    IF(INBLOCK('广西'),"993633$CLOSE",
    IF(INBLOCK('河北'),"993634$CLOSE",
    IF(INBLOCK('山西'),"993636$CLOSE",
    IF(INBLOCK('节能环保'),"993645$CLOSE",
    IF(INBLOCK('物联网'),"993646$CLOSE",
    IF(INBLOCK('电力设备'),"993647$CLOSE",
    IF(INBLOCK('航天军工'),"993665$CLOSE",
    IF(INBLOCK('破发破净'),"993669$CLOSE",
    IF(INBLOCK('3G'),"993685$CLOSE",
    IF(INBLOCK('期货'),"993686$CLOSE",
    IF(INBLOCK('创投'),"993695$CLOSE",
    IF(INBLOCK('增持回购'),"993703$CLOSE",
    IF(INBLOCK('电子支付'),"993707$CLOSE",
    IF(INBLOCK('合同能源'),"993708$CLOSE",
    IF(INBLOCK('低碳经济'),"993710$CLOSE",
    IF(INBLOCK('亚运概念'),"993716$CLOSE",
    IF(INBLOCK('大订单'),"993730$CLOSE",
    IF(INBLOCK('稀土永磁'),"993732$CLOSE",
    IF(INBLOCK('核电'),"993736$CLOSE",
    IF(INBLOCK('云计算'),"993738$CLOSE",
    IF(INBLOCK('风能'),"993742$CLOSE",
    IF(INBLOCK('稀缺资源'),"993745$CLOSE",
    IF(INBLOCK('百元股'),"993751$CLOSE",
    IF(INBLOCK('融资融券'),"993752$CLOSE",
    IF(INBLOCK('LED'),"993756$CLOSE",
    IF(INBLOCK('锂电池'),"993758$CLOSE",
    IF(INBLOCK('中字头'),"993795$CLOSE",
    IF(INBLOCK('煤化工'),"993798$CLOSE",
    IF(INBLOCK('黄金股'),"993801$CLOSE",
    IF(INBLOCK('权证'),"993805$CLOSE",
    IF(INBLOCK('创业板'),"993806$CLOSE",
    IF(INBLOCK('参股金融'),"993825$CLOSE",
    IF(INBLOCK('中证100'),"993885$CLOSE",
    IF(INBLOCK('股权激励'),"993925$CLOSE",
    IF(INBLOCK('S板'),"994005$CLOSE",
    IF(INBLOCK('流通市值'),"998000$CLOSE",
    IF(INBLOCK('流通A股'),"998001$CLOSE",
    IF(INBLOCK('总市值'),"998002$CLOSE",
    IF(INBLOCK('平均股价'),"998003$CLOSE",0)))))))))))))))
    ))))))))))))))))))))))))))))))))))))))))))))))))
    )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
    )),PRECIS2,coloryellow,LINETHICK0;

    {所属:=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('H股'), 'H股' ,
    IFS(INBLOCK('ST'), 'ST' ,
    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('大智慧88'), '大智慧88' ,
    IFS(INBLOCK('网络游戏'), '网络游戏' ,
    IFS(INBLOCK('预亏预减'), '预亏预减' ,
    IFS(INBLOCK('预盈预增'), '预盈预增' ,
    IFS(INBLOCK('社保重仓'), '社保重仓' ,
    IFS(INBLOCK('成渝特区'), '成渝特区' ,
    IFS(INBLOCK('沪深300'), '沪深300' ,
    IFS(INBLOCK('CDM项目'), 'CDM项目' ,
    IFS(INBLOCK('太阳能'), '太阳能' ,
    IFS(INBLOCK('新能源'), '新能源' ,
    IFS(INBLOCK('铁路基建'), '铁路基建' ,
    IFS(INBLOCK('送转'), '送转' ,
    IFS(INBLOCK('海峡西岸'), '海峡西岸' ,
    IFS(INBLOCK('智能电网'), '智能电网' ,
    IFS(INBLOCK('图们江'), '图们江' ,
    IFS(INBLOCK('滨海新区'), '滨海新区' ,
    IFS(INBLOCK('IGCC'), 'IGCC' ,
    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('QFII持股'), 'QFII持股' ,
    IFS(INBLOCK('内蒙古'), '内蒙古' ,
    IFS(INBLOCK('广西'), '广西' ,
    IFS(INBLOCK('河北'), '河北' ,
    IFS(INBLOCK('山西'), '山西' ,
    IFS(INBLOCK('节能环保'), '节能环保' ,
    IFS(INBLOCK('物联网'), '物联网' ,
    IFS(INBLOCK('电力设备'), '电力设备' ,
    IFS(INBLOCK('航天军工'), '航天军工' ,
    IFS(INBLOCK('破发破净'), '破发破净' ,
    IFS(INBLOCK('3G'), '3G' ,
    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('LED'), 'LED' ,
    IFS(INBLOCK('锂电池'), '锂电池' ,
    IFS(INBLOCK('中字头'), '中字头' ,
    IFS(INBLOCK('煤化工'), '煤化工' ,
    IFS(INBLOCK('黄金股'), '黄金股' ,
    IFS(INBLOCK('权证'), '权证' ,
    IFS(INBLOCK('创业板'), '创业板' ,
    IFS(INBLOCK('参股金融'), '参股金融' ,
    IFS(INBLOCK('中证100'), '中证100' ,
    IFS(INBLOCK('股权激励'), '股权激励' ,
    IFS(INBLOCK('S板'), 'S板' ,
    IFS(INBLOCK('流通市值'), '流通市值' ,
    IFS(INBLOCK('流通A股'), '流通A股' ,
    IFS(INBLOCK('总市值'), '总市值' ,
    IFS(INBLOCK('平均股价'), '平均股价','')))))))))))))))
    ))))))))))))))))))))))))))))))))))))))))))))))))
    )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
    ));
    DRAWTEXTABS(5,5,'所属板块: '+所属),coloryellow;} 接上指标 板块昨收:IF(INBLOCK('工程建筑'), hhv(STKINDI('991002','叠加引用.昨收1#day'),0),
    IF(INBLOCK('电力'), hhv(STKINDI('991003','叠加引用.昨收1#day'),0),
    IF(INBLOCK('计算机'), hhv(STKINDI('991004','叠加引用.昨收1#day'),0),
    IF(INBLOCK('电子信息'), hhv(STKINDI('991006','叠加引用.昨收1#day'),0),
    IF(INBLOCK('房地产'), hhv(STKINDI('991007','叠加引用.昨收1#day'),0),
    IF(INBLOCK('纺织服装'), hhv(STKINDI('991008','叠加引用.昨收1#day'),0),
    IF(INBLOCK('钢铁'), hhv(STKINDI('991009','叠加引用.昨收1#day'),0),
    IF(INBLOCK('供水供气'), hhv(STKINDI('991010','叠加引用.昨收1#day'),0),
    IF(INBLOCK('化工化纤'), hhv(STKINDI('991011','叠加引用.昨收1#day'),0),
    IF(INBLOCK('电器'), hhv(STKINDI('991014','叠加引用.昨收1#day'),0),
    IF(INBLOCK('交通设施'), hhv(STKINDI('991016','叠加引用.昨收1#day'),0),
    IF(INBLOCK('银行类'), hhv(STKINDI('991017','叠加引用.昨收1#day'),0),
    IF(INBLOCK('旅游酒店'), hhv(STKINDI('991018','叠加引用.昨收1#day'),0),
    IF(INBLOCK('煤炭石油'), hhv(STKINDI('991019','叠加引用.昨收1#day'),0),
    IF(INBLOCK('酿酒食品'), hhv(STKINDI('991020','叠加引用.昨收1#day'),0),
    IF(INBLOCK('农林牧渔'), hhv(STKINDI('991021','叠加引用.昨收1#day'),0),
    IF(INBLOCK('商业连锁'), hhv(STKINDI('991023','叠加引用.昨收1#day'),0),
    IF(INBLOCK('建材'), hhv(STKINDI('991024','叠加引用.昨收1#day'),0),
    IF(INBLOCK('其他行业'), hhv(STKINDI('991025','叠加引用.昨收1#day'),0),
    IF(INBLOCK('交通工具'), hhv(STKINDI('991026','叠加引用.昨收1#day'),0),
    IF(INBLOCK('机械'), hhv(STKINDI('991027','叠加引用.昨收1#day'),0),
    IF(INBLOCK('医药'), hhv(STKINDI('991028','叠加引用.昨收1#day'),0),
    IF(INBLOCK('外贸'), hhv(STKINDI('991031','叠加引用.昨收1#day'),0),
    IF(INBLOCK('教育传媒'), hhv(STKINDI('991032','叠加引用.昨收1#day'),0),
    IF(INBLOCK('仪电仪表'), hhv(STKINDI('991033','叠加引用.昨收1#day'),0),
    IF(INBLOCK('有色金属'), hhv(STKINDI('991034','叠加引用.昨收1#day'),0),
    IF(INBLOCK('造纸印刷'), hhv(STKINDI('991035','叠加引用.昨收1#day'),0),
    IF(INBLOCK('券商'), hhv(STKINDI('991036','叠加引用.昨收1#day'),0),
    IF(INBLOCK('通信'), hhv(STKINDI('991135','叠加引用.昨收1#day'),0),
    IF(INBLOCK('运输物流'), hhv(STKINDI('991136','叠加引用.昨收1#day'),0),
    IF(INBLOCK('保险'), hhv(STKINDI('991255','叠加引用.昨收1#day'),0),
    IF(INBLOCK('H股'), hhv(STKINDI('993070','叠加引用.昨收1#day'),0),
    IF(INBLOCK('ST'), hhv(STKINDI('993072','叠加引用.昨收1#day'),0),
    IF(INBLOCK('次新股'), hhv(STKINDI('993075','叠加引用.昨收1#day'),0),
    IF(INBLOCK('封闭基金'), hhv(STKINDI('993084','叠加引用.昨收1#day'),0),
    IF(INBLOCK('新上海'), hhv(STKINDI('993091','叠加引用.昨收1#day'),0),
    IF(INBLOCK('新材料'), hhv(STKINDI('993120','叠加引用.昨收1#day'),0),
    IF(INBLOCK('深证成指'), hhv(STKINDI('993124','叠加引用.昨收1#day'),0),
    IF(INBLOCK('农业龙头'), hhv(STKINDI('993128','叠加引用.昨收1#day'),0),
    IF(INBLOCK('数字电视'), hhv(STKINDI('993129','叠加引用.昨收1#day'),0),
    IF(INBLOCK('基金重仓'), hhv(STKINDI('993130','叠加引用.昨收1#day'),0),
    IF(INBLOCK('大盘'), hhv(STKINDI('993139','叠加引用.昨收1#day'),0),
    IF(INBLOCK('中盘'), hhv(STKINDI('993140','叠加引用.昨收1#day'),0),
    IF(INBLOCK('小盘'), hhv(STKINDI('993141','叠加引用.昨收1#day'),0),
    IF(INBLOCK('高价'), hhv(STKINDI('993142','叠加引用.昨收1#day'),0),
    IF(INBLOCK('中价'), hhv(STKINDI('993143','叠加引用.昨收1#day'),0),
    IF(INBLOCK('低价'), hhv(STKINDI('993144','叠加引用.昨收1#day'),0),
    IF(INBLOCK('大智慧88'), hhv(STKINDI('993245','叠加引用.昨收1#day'),0),
    IF(INBLOCK('网络游戏'), hhv(STKINDI('993305','叠加引用.昨收1#day'),0),
    IF(INBLOCK('预亏预减'), hhv(STKINDI('993385','叠加引用.昨收1#day'),0),
    IF(INBLOCK('预盈预增'), hhv(STKINDI('993386','叠加引用.昨收1#day'),0),
    IF(INBLOCK('社保重仓'), hhv(STKINDI('993405','叠加引用.昨收1#day'),0),
    IF(INBLOCK('成渝特区'), hhv(STKINDI('993450','叠加引用.昨收1#day'),0),
    IF(INBLOCK('沪深300'), hhv(STKINDI('993505','叠加引用.昨收1#day'),0),
    IF(INBLOCK('CDM项目'), hhv(STKINDI('993580','叠加引用.昨收1#day'),0),
    IF(INBLOCK('太阳能'), hhv(STKINDI('993583','叠加引用.昨收1#day'),0),
    IF(INBLOCK('新能源'), hhv(STKINDI('993585','叠加引用.昨收1#day'),0),
    IF(INBLOCK('铁路基建'), hhv(STKINDI('993586','叠加引用.昨收1#day'),0),
    IF(INBLOCK('送转'), hhv(STKINDI('993590','叠加引用.昨收1#day'),0),
    IF(INBLOCK('海峡西岸'), hhv(STKINDI('993596','叠加引用.昨收1#day'),0),
    IF(INBLOCK('智能电网'), hhv(STKINDI('993597','叠加引用.昨收1#day'),0),
    IF(INBLOCK('图们江'), hhv(STKINDI('993598','叠加引用.昨收1#day'),0),
    IF(INBLOCK('滨海新区'), hhv(STKINDI('993599','叠加引用.昨收1#day'),0),
    IF(INBLOCK('IGCC'), hhv(STKINDI('993601','叠加引用.昨收1#day'),0),
    IF(INBLOCK('深圳本地'), hhv(STKINDI('993602','叠加引用.昨收1#day'),0),
    IF(INBLOCK('黄河三角'), hhv(STKINDI('993603','叠加引用.昨收1#day'),0),
    IF(INBLOCK('横琴新区'), hhv(STKINDI('993604','叠加引用.昨收1#day'),0),
    IF(INBLOCK('珠江三角'), hhv(STKINDI('993606','叠加引用.昨收1#day'),0),
    IF(INBLOCK('江苏沿海'), hhv(STKINDI('993607','叠加引用.昨收1#day'),0),
    IF(INBLOCK('辽宁沿海'), hhv(STKINDI('993608','叠加引用.昨收1#day'),0),
    IF(INBLOCK('关中天水'), hhv(STKINDI('993609','叠加引用.昨收1#day'),0),
    IF(INBLOCK('新疆振兴'), hhv(STKINDI('993610','叠加引用.昨收1#day'),0),
    IF(INBLOCK('西藏'), hhv(STKINDI('993611','叠加引用.昨收1#day'),0),
    IF(INBLOCK('皖江区域'), hhv(STKINDI('993612','叠加引用.昨收1#day'),0),
    IF(INBLOCK('鄱阳湖'), hhv(STKINDI('993613','叠加引用.昨收1#day'),0),
    IF(INBLOCK('长株潭'), hhv(STKINDI('993614','叠加引用.昨收1#day'),0),
    IF(INBLOCK('武汉规划'), hhv(STKINDI('993616','叠加引用.昨收1#day'),0),
    IF(INBLOCK('海南开发'), hhv(STKINDI('993617','叠加引用.昨收1#day'),0),
    IF(INBLOCK('青海'), hhv(STKINDI('993618','叠加引用.昨收1#day'),0),
    IF(INBLOCK('云南'), hhv(STKINDI('993619','叠加引用.昨收1#day'),0),
    IF(INBLOCK('陕甘宁'), hhv(STKINDI('993621','叠加引用.昨收1#day'),0),
    IF(INBLOCK('长江三角'), hhv(STKINDI('993622','叠加引用.昨收1#day'),0),
    IF(INBLOCK('西部开发'), hhv(STKINDI('993623','叠加引用.昨收1#day'),0),
    IF(INBLOCK('QFII持股'), hhv(STKINDI('993625','叠加引用.昨收1#day'),0),
    IF(INBLOCK('内蒙古'), hhv(STKINDI('993631','叠加引用.昨收1#day'),0),
    IF(INBLOCK('广西'), hhv(STKINDI('993633','叠加引用.昨收1#day'),0),
    IF(INBLOCK('河北'), hhv(STKINDI('993634','叠加引用.昨收1#day'),0),
    IF(INBLOCK('山西'), hhv(STKINDI('993636','叠加引用.昨收1#day'),0),
    IF(INBLOCK('节能环保'), hhv(STKINDI('993645','叠加引用.昨收1#day'),0),
    IF(INBLOCK('物联网'), hhv(STKINDI('993646','叠加引用.昨收1#day'),0),
    IF(INBLOCK('电力设备'), hhv(STKINDI('993647','叠加引用.昨收1#day'),0),
    IF(INBLOCK('航天军工'), hhv(STKINDI('993665','叠加引用.昨收1#day'),0),
    IF(INBLOCK('破发破净'), hhv(STKINDI('993669','叠加引用.昨收1#day'),0),
    IF(INBLOCK('3G'), hhv(STKINDI('993685','叠加引用.昨收1#day'),0),
    IF(INBLOCK('期货'), hhv(STKINDI('993686','叠加引用.昨收1#day'),0),
    IF(INBLOCK('创投'), hhv(STKINDI('993695','叠加引用.昨收1#day'),0),
    IF(INBLOCK('增持回购'), hhv(STKINDI('993703','叠加引用.昨收1#day'),0),
    IF(INBLOCK('电子支付'), hhv(STKINDI('993707','叠加引用.昨收1#day'),0),
    IF(INBLOCK('合同能源'), hhv(STKINDI('993708','叠加引用.昨收1#day'),0),
    IF(INBLOCK('低碳经济'), hhv(STKINDI('993710','叠加引用.昨收1#day'),0),
    IF(INBLOCK('亚运概念'), hhv(STKINDI('993716','叠加引用.昨收1#day'),0),
    IF(INBLOCK('大订单'), hhv(STKINDI('993730','叠加引用.昨收1#day'),0),
    IF(INBLOCK('稀土永磁'), hhv(STKINDI('993732','叠加引用.昨收1#day'),0),
    IF(INBLOCK('核电'), hhv(STKINDI('993736','叠加引用.昨收1#day'),0),
    IF(INBLOCK('云计算'), hhv(STKINDI('993738','叠加引用.昨收1#day'),0),
    IF(INBLOCK('风能'), hhv(STKINDI('993742','叠加引用.昨收1#day'),0),
    IF(INBLOCK('稀缺资源'), hhv(STKINDI('993745','叠加引用.昨收1#day'),0),
    IF(INBLOCK('百元股'), hhv(STKINDI('993751','叠加引用.昨收1#day'),0),
    IF(INBLOCK('融资融券'), hhv(STKINDI('993752','叠加引用.昨收1#day'),0),
    IF(INBLOCK('LED'), hhv(STKINDI('993756','叠加引用.昨收1#day'),0),
    IF(INBLOCK('锂电池'), hhv(STKINDI('993758','叠加引用.昨收1#day'),0),
    IF(INBLOCK('中字头'), hhv(STKINDI('993795','叠加引用.昨收1#day'),0),
    IF(INBLOCK('煤化工'), hhv(STKINDI('993798','叠加引用.昨收1#day'),0),
    IF(INBLOCK('黄金股'), hhv(STKINDI('993801','叠加引用.昨收1#day'),0),
    IF(INBLOCK('权证'), hhv(STKINDI('993805','叠加引用.昨收1#day'),0),
    IF(INBLOCK('创业板'), hhv(STKINDI('993806','叠加引用.昨收1#day'),0),
    IF(INBLOCK('参股金融'), hhv(STKINDI('993825','叠加引用.昨收1#day'),0),
    IF(INBLOCK('中证100'), hhv(STKINDI('993885','叠加引用.昨收1#day'),0),
    IF(INBLOCK('股权激励'), hhv(STKINDI('993925','叠加引用.昨收1#day'),0),
    IF(INBLOCK('S板'), hhv(STKINDI('994005','叠加引用.昨收1#day'),0),
    IF(INBLOCK('流通市值'), hhv(STKINDI('998000','叠加引用.昨收1#day'),0),
    IF(INBLOCK('流通A股'), hhv(STKINDI('998001','叠加引用.昨收1#day'),0),
    IF(INBLOCK('总市值'), hhv(STKINDI('998002','叠加引用.昨收1#day'),0),
    IF(INBLOCK('平均股价'), hhv(STKINDI('998003','叠加引用.昨收1#day'),0),0)))))))))))))))
    ))))))))))))))))))))))))))))))))))))))))))))))))
    )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
    )),PRECIS2,colorffff00,LINETHICK0;
    板块涨幅:=(板块指数-板块昨收)/板块昨收;
    板块线:板块指数/板块昨收*DYNAINFO(3),PRECIS2,colorffff00,LINETHICK0;;
    PARTLINE(板块线,板块指数>板块昨收,rgb(255,0,0),板块指数<板块昨收,rgb(0,255,0),1,rgb(0,0,255)),LINETHICK1,PRECIS2,colorwhite;
    DRAWTEXT(BARSTATUS=2,板块线,'板块指数'),Colorff00ff,PRECIS0;

    a1:='sh000001';
    a2:='sz399001';
    a3:=STRTONUM(STRLEFT(STKLABEL,1));
    昨收:=if(a3=6,hhv(STKINDI(a1,'叠加引用.昨收#day'),0),hhv(STKINDI(a2,'叠加引用.昨收#day'),0));
    开盘:=if(a3=6,HHv(STKINDI(a1,'叠加引用.开盘#day'),0),HHv(STKINDI(a2,'叠加引用.开盘#day'),0));
    收盘:=if(a3=6,if(time>093000,STKINDI(a1,'叠加引用.收盘#min1'),开盘),if(time>093000,STKINDI(a2,'叠加引用.收盘#min1'),开盘));
    大盘涨幅:(收盘-昨收)/昨收*100,colorred,PRECIS2,LINETHICK0;
    大盘线:收盘/昨收*DYNAINFO(3),colorffff00,PRECIS0;
    if a3=6 then
    DRAWTEXT(BARSTATUS=2,大盘线,'上证指数'),Colorffff00,PRECIS0;
    if a3<6 then
    DRAWTEXT(BARSTATUS=2,大盘线,'深证成指'),Colorffff00,PRECIS0;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧叠加指数-分时叠加大盘线和板块指数 加入收藏