大智慧板块雷达-猎狼老头公式
稀缺资源:STKINDI('993745','0101.c1',0),ColorA99AFF;
DRAWTEXT(ALL(BARSTATUS=2,1),稀缺资源,'稀缺资源'),ColorA99AFF;
有色金属:STKINDI('991034','0101.c1',0),COLORYELLOW;
DRAWTEXT(ALL(BARSTATUS=2,1),有色金属,'有色金属'),COLORYELLOW;
钢铁:STKINDI('991009','0101.c1',0),ColorA99AFF;
DRAWTEXT(ALL(BARSTATUS=2,1),钢铁 , ' 钢铁'),ColorA99AFF;
创投:STKINDI('993695','0101.c1',0),ColorA99AFF;
DRAWTEXT(ALL(BARSTATUS=2,1),创投,' 创投'),ColorA99AFF;
电力设备:STKINDI('991037','0101.c1',0),COLOR00FF00;
DRAWTEXT(ALL(BARSTATUS=2,1),电力设备,' 电力设备'),COLOR00FF00;
新材料:STKINDI('993120','0101.c1',0),ColorA99AFF;
DRAWTEXT(ALL(BARSTATUS=2,1),新材料,'新材料'),ColorA99AFF;
新能源:STKINDI('993585','0101.c1',0),ColorFFFFFA;
DRAWTEXT(ALL(BARSTATUS=2,1),新能源,' 新能源'),ColorFFFFFA;
计算机:STKINDI('991004','0101.c1',0),ColorFFFFFA;
DRAWTEXT(ALL(BARSTATUS=2,1),计算机,'计算机'),ColorFFFFFA;
黄金股:STKINDI('993801','0101.c1',0),COLORYELLOW;
DRAWTEXT(ALL(BARSTATUS=2,1),黄金股,'黄金股'),COLORYELLOW;
券商:STKINDI('991036','0101.c1',0),ColorFFFFFA;
DRAWTEXT(ALL(BARSTATUS=2,1),券商,'券商'),ColorFFFFFA;
券商重仓:STKINDI('993445','0101.c1',0),COLORYELLOW;
DRAWTEXT(ALL(BARSTATUS=2,1),券商重仓,'券商重仓'),COLORYELLOW;
社保重仓:STKINDI('993405','0101.c1',0),COLORYELLOW;
DRAWTEXT(ALL(BARSTATUS=2,1),社保重仓,'社保重仓'),COLORYELLOW;
节能环保:STKINDI('993645','0101.c1',0),ColorA99AFF;
DRAWTEXT(ALL(BARSTATUS=2,1),节能环保,' 节能环保'),ColorA99AFF;
煤炭石油:STKINDI('991019','0101.c1',0),ColorBEF824;
DRAWTEXT(ALL(BARSTATUS=2,1),煤炭石油,' 煤炭石油'),ColorBEF824;
航天军工:STKINDI('993665','0101.c1',0),ColorBEF824;
DRAWTEXT(ALL(BARSTATUS=2,1),航天军工,'航天军工'),ColorBEF824;
教育传媒 :STKINDI('991032','0101.c1',0),ColorBEF824;
DRAWTEXT(ALL(BARSTATUS=2,1),教育传媒 ,'教育传媒 '),ColorBEF824;
网络游戏:STKINDI('993305','0101.c1',0),COLORYELLOW;
DRAWTEXT(ALL(BARSTATUS=2,1),网络游戏 ,' 网游 '),COLORYELLOW;
旅游酒店:STKINDI('991018','0101.c1',0),ColorFF00FF;
DRAWTEXT(ALL(BARSTATUS=2,1),旅游酒店 ,' 旅游酒店'),ColorFF00FF;
预盈预增:STKINDI('993386','0101.c1',0),ColorBEF824;
DRAWTEXT(ALL(BARSTATUS=2,1),预盈预增 ,'预盈预增 '),ColorBEF824;
送转:STKINDI('993590','0101.c1',0),ColorBEF824;
DRAWTEXT(ALL(BARSTATUS=2,1),送转,' 送转'),ColorBEF824;
造纸印刷:STKINDI('991035','0101.c1',0),ColorBEF824;
DRAWTEXT(ALL(BARSTATUS=2,1),造纸印刷 ,'造纸印刷 '),ColorBEF824;
房地产:STKINDI('991007','0101.c1',0),ColorFFC1FA;
DRAWTEXT(ALL(BARSTATUS=2,1),房地产 ,'房地产 '),ColorFFC1FA;
运输物流:STKINDI('991136','0101.c1',0);
DRAWTEXT(ALL(BARSTATUS=2,1),运输物流 ,'运输物流 '),ColorBEF824;
汽车类:STKINDI('991026','0101.c1',0),ColorA99AFF;
DRAWTEXT(ALL(BARSTATUS=2,1),汽车类 ,'汽车类 '),ColorA99AFF;
基金重仓:STKINDI('993130','0101.c1',0),ColorFFC1FA;
DRAWTEXT(ALL(BARSTATUS=2,1),基金重仓 ,'基金重仓 '),ColorFFC1FA;
ST:STKINDI('993072','0101.c1',0),COLOR00FF00;
DRAWTEXT(ALL(BARSTATUS=2,1),ST ,'ST'),COLOR00FF00;
高价股:STKINDI('993142','0101.c1',0),color0000FF;
DRAWTEXT(ALL(BARSTATUS=2,1),高价股 ,'高价股'),color0000FF;
中价股:STKINDI('993143','0101.c1',0),colorFF00FF;
DRAWTEXT(ALL(BARSTATUS=2,1),中价股 ,'中价股'),colorFF00FF;
低价股:STKINDI('993144','0101.c1',0),colorFF00FF;
DRAWTEXT(ALL(BARSTATUS=2,1),低价股 ,'低价股'),colorFF00FF;
医药:STKINDI('991028','0101.c1',0),color0000FF;
DRAWTEXT(ALL(BARSTATUS=2,1),医药 ,' 医药'),color0000FF;
大盘股:STKINDI('993139','0101.c1',0),color0000FF ;
DRAWTEXT(ALL(BARSTATUS=2,1),大盘股 ,' 大盘股'),color0000FF;
中盘股:STKINDI('993140','0101.c1',0),colorFF00FF ;
DRAWTEXT(ALL(BARSTATUS=2,1),中盘股 ,' 中盘股'),colorFF00FF;
小盘股:STKINDI('993141','0101.c1',0),colorFF00FF ;
DRAWTEXT(ALL(BARSTATUS=2,1),小盘股 ,'小盘股'),colorFF00FF;
纺织服装:STKINDI('991008','0101.c1',0),color00FF00;
DRAWTEXT(ALL(BARSTATUS=2,1),纺织服装 ,'纺织服装'),color00FF00 ;
农业龙头:STKINDI('993128','0101.c1',0),COLORYELLOW;
DRAWTEXT(ALL(BARSTATUS=2,1),农业龙头 ,'农业龙头'),COLORYELLOW;
农林牧渔:STKINDI('991021','0101.c1',0),ColorFFFFFA;
DRAWTEXT(ALL(BARSTATUS=2,1),农林牧渔 ,' 农林牧渔'),ColorFFFFFA;
酿酒食品:STKINDI('991020','0101.c1',0),ColorFFFFFA;
DRAWTEXT(ALL(BARSTATUS=2,1),酿酒食品 ,'酿酒食品'),ColorFFFFFA;
银行类:STKINDI('991017','0101.c1',0),COLOR00FF00;
DRAWTEXT(ALL(BARSTATUS=2,1),银行类 ,'银行类'),COLOR00FF00;
保险:STKINDI('991255','0101.c1',0),COLOR00FF00;
DRAWTEXT(ALL(BARSTATUS=2,1),保险 ,' 保险'),COLOR00FF00;
电力:STKINDI('991003','0101.c1',0),ColorFFFFFA;
DRAWTEXT(ALL(BARSTATUS=2,1),电力 ,'电力'),ColorFFFFFA;
铁路基建:STKINDI('993586','0101.c1',0),COLORMAGENTA;
DRAWTEXT(ALL(BARSTATUS=2,1),铁路基建 , ' 铁路基建'),COLORMAGENTA;
化工化纤:STKINDI('991011','0101.c1',0),COLORMAGENTA;
DRAWTEXT(ALL(BARSTATUS=2,1),化工化纤 , ' 化工化纤'),COLORMAGENTA;
通信:STKINDI('991135','0101.c1',0),COLORMAGENTA;
DRAWTEXT(ALL(BARSTATUS=2,1),通信 , ' 通信'),COLORMAGENTA;
工程建筑:STKINDI('991002','0101.c1',0),COLORMAGENTA;
DRAWTEXT(ALL(BARSTATUS=2,1),工程建筑 , ' 工程建筑'),COLORMAGENTA;
A股指数:STKINDI('SH000002','0101.c1',0),LINETHICK4,color0000FF;
DRAWTEXT(ALL(BARSTATUS=2,1),A股指数,'A股指数'),color0000FF;
DRAWFLAGTEXT(CLOSE/OPEN,C,'当前线:'+STKNAME),ColorFF00FF;
DRAWFLAGTEXT(CLOSE/OPEN>1.02,C,'涨幅>2%'),Color0000ff;
DRAWFLAGTEXT(c/ref(c,1)<0.97,C,'跌幅>3%'),Color00ff00;
DRAWTEXT(CLOSE/OPEN>1.02,H,'↑ '),Color0000FF,ALIGN1;
DRAWTEXT(c/ref(c,1)<0.97,C,'↓'),Color00FF00,ALIGN1;
当前线:CLOSE,LINETHICK3,ColorBEF824;
DRAWTEXTREL(10,0,'板块雷达'),linethick4,ColorFF00FF;
DRAWTEXTREL(130,0,' 名称与线条颜色相对应 猎狼老头:祝您投资顺利!'),linethick2,ColorBEF824;
DRAWTEXTREL(0,900,' 最好按31回车 翻页 刷新一下 板块数据'),linethick2,ColorFFC1FA;
DRAWTEXTREL(560,960,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),LINETHICK3,ColorBEF824;