板块KDJ 只是为了看看各板块趋势方便而已
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-01-28 09:59:00
公式简介:
大家好,发一个板块的KDJ ,因各人自设板块不同,名称也会乱的,简单的修改就是把你AA1至AA49的名称修改到 DRAWTEXT(P1,REFX(外贸[SYSPARAM(1)]/k,3),' 在这里对应你的自建板块顺序的板块名子就行了 ' +NUMTOSTR(外贸[p],2)),COLOR773777,SHIFT38; 我建了50个,多了不知道会傻样,改好后请对照一下涨幅是否一样,请自行修改。怕乱的自行取舍。
input:n(60,0,100),m(20,0,100),f(10,0,100),g(1,0,100),k(2,0,100);
DRAWGBK(CLOSE>0,COLORRGB(0,0,0),COLORRGB(0,0,0),1);
VAR1:=("aa22$CLOSE");VAR2:=("aa21$CLOSE");VAR3:=("aa10$CLOSE");VAR4:=("aa34$CLOSE");VAR5:=("aa28$CLOSE");VAR6:=("aa36$CLOSE");VAR7:=("aa33$CLOSE");VAR8:=("aa25$CLOSE");VAR9:=("aa38$CLOSE");
VAR10:=("aa49$CLOSE");VAR11:=("aa07$CLOSE");VAR12:=("aa27$CLOSE");VAR13:=("aa16$CLOSE");VAR14:=("aa03$CLOSE");VAR15:=("aa24$CLOSE");VAR16:=("aa29$CLOSE");VAR17:=("aa19$CLOSE");VAR18:=("aa37$CLOSE");
VAR19:=("aa43$CLOSE");VAR20:=("aa48$CLOSE");VAR21:=("aa05$CLOSE");VAR22:=("aa47$CLOSE");VAR23:=("aa02$CLOSE");VAR24:=("aa39$CLOSE");VAR25:=("aa23$CLOSE");VAR26:=("aa06$CLOSE");VAR27:=("aa17$CLOSE");
VAR28:=("aa13$CLOSE");VAR29:=("aa40$CLOSE");VAR30:=("aa31$CLOSE");VAR31:=("aa26$CLOSE");VAR32:=("aa01$CLOSE");VAR33:=("aa46$CLOSE");VAR34:=("aa32$CLOSE");VAR35:=("aa08$CLOSE");
VAR36:=("aa41$CLOSE");VAR37:=("aa44$CLOSE");VAR38:=("aa14$CLOSE");VAR39:=("aa30$CLOSE");VAR40:=("aa15$CLOSE");VAR41:=("aa18$CLOSE");VAR42:=("aa20$CLOSE");VAR43:=("aa42$CLOSE");
VAR44:=("aa11$CLOSE");VAR45:=("aa04$CLOSE");VAR46:=("aa45$CLOSE");VAR47:=("aa12$CLOSE");VAR48:=("aa09$CLOSE");VAR49:=("aa35$CLOSE");
六外贸:=(VAR1/REF(VAR1,N)-1)*100/n;六医药:=(VAR2/REF(VAR2,N)-1)*100/n;六电器:=(VAR3/REF(VAR3,N)-1)*100/n;六创投:=(VAR4/REF(VAR4,N)-1)*100/n;六券商:=(VAR5/REF(VAR5,N)-1)*100/n;六三G:=(VAR6/REF(VAR6,N)-1)*100/n;
六ST:=(VAR7/REF(VAR7,N)-1)*100/n;六有色:=(VAr8/REF(VAR8,N)-1)*100/n;六新材:=(VAR9/REF(VAR9,N)-1)*100/n;六创业:=(VAR10/REF(VAR10,N)-1)*100/n;六钢铁:=(VAR11/REF(VAR11,N)-1)*100/n;六稀缺:=(VAR12/REF(VAR12,N)-1)*100/n;
六农牧:=(VAR13/REF(VAR13,N)-1)*100/n;六计算机:=(VAR14/REF(VAR14,N)-1)*100/n;六仪电:=(VAR15/REF(VAR15,N)-1)*100/n;六电设:=(VAR16/REF(VAR16,N)-1)*100/n;六基金:=(VAR17/REF(VAR17,N)-1)*100/n;六航天:=(VAR18/REF(VAR18,N)-1)*100/n;
六稀土:=(VAR19/REF(VAR19,N)-1)*100/n;六中小:=(VAR20/REF(VAR20,N)-1)*100/n;六地产:=(VAR21/REF(VAR21,N)-1)*100/n;六小盘:=(VAR22/REF(VAR22,N)-1)*100/n;六电力:=(VAR23/REF(VAR23,N)-1)*100/n;六节能:=(VAR24/REF(VAR24,N)-1)*100/n;
六教育:=(VAR25/REF(VAR25,N)-1)*100/n;六纺织:=(VAR26/REF(VAR26,N)-1)*100/n;六电视:=(VAR27/REF(VAR27,N)-1)*100/n;六旅游:=(VAR28/REF(VAR28,N)-1)*100/n;六新能:=(VAR29/REF(VAR29,N)-1)*100/n;六运输:=(VAR30/REF(VAR30,N)-1)*100/n;
六造纸:=(VAR31/REF(VAR31,N)-1)*100/n;六工程:=(VAR32/REF(VAR32,N)-1)*100/n;六中盘:=(VAR33/REF(VAR33,N)-1)*100/n;六云算:=(VAR34/REF(VAR34,N)-1)*100/n;六供水:=(VAR35/REF(VAR35,N)-1)*100/n;六建材:=(VAR36/REF(VAR36,N)-1)*100/n;
六商业:=(VAR37/REF(VAR37,N)-1)*100/n;六煤油:=(VAR38/REF(VAR38,N)-1)*100/n;六通讯:=(VAR39/REF(VAR39,N)-1)*100/n;六酿酒:=(VAR40/REF(VAR40,N)-1)*100/n;六参银:=(VAR41/REF(VAR41,N)-1)*100/n;六社保:=(VAR42/REF(VAR42,N)-1)*100/n;
六游戏:=(VAR43/REF(VAR43,N)-1)*100/n;六交设:=(VAR44/REF(VAR44,N)-1)*100/n;六铁路:=(VAR45/REF(VAR45,N)-1)*100/n;六大盘:=(VAR46/REF(VAR46,N)-1)*100/n;六银行:=(VAR47/REF(VAR47,N)-1)*100/n;六化工:=(VAR48/REF(VAR48,N)-1)*100/n;
六机械:=(VAR49/REF(VAR49,N)-1)*100/n;
二外贸:=(VAR1/REF(VAR1,M)-1)*100/m;二医药:=(VAR2/REF(VAR2,M)-1)*100/m;二电器:=(VAR3/REF(VAR3,M)-1)*100/m;二创投:=(VAR4/REF(VAR4,M)-1)*100/m;二券商:=(VAR5/REF(VAR5,M)-1)*100/m;二三G:=(VAR6/REF(VAR6,M)-1)*100/m;
二ST:=(VAR7/REF(VAR7,M)-1)*100/m;二有色:=(VAr8/REF(VAR8,M)-1)*100/m;二新材:=(VAR9/REF(VAR9,M)-1)*100/m;二创业:=(VAR10/REF(VAR10,M)-1)*100/m;二钢铁:=(VAR11/REF(VAR11,M)-1)*100/m;二稀缺:=(VAR12/REF(VAR12,M)-1)*100/m;
二农牧:=(VAR13/REF(VAR13,M)-1)*100/m;二计算机:=(VAR14/REF(VAR14,M)-1)*100/m;二仪电:=(VAR15/REF(VAR15,M)-1)*100/m;二电设:=(VAR16/REF(VAR16,M)-1)*100/m;二基金:=(VAR17/REF(VAR17,M)-1)*100/m;二航天:=(VAR18/REF(VAR18,M)-1)*100/m;
二稀土:=(VAR19/REF(VAR19,M)-1)*100/m;二中小:=(VAR20/REF(VAR20,M)-1)*100/m;二地产:=(VAR21/REF(VAR21,M)-1)*100/m;二小盘:=(VAR22/REF(VAR22,M)-1)*100/m;二电力:=(VAR23/REF(VAR23,M)-1)*100/m;二节能:=(VAR24/REF(VAR24,M)-1)*100/m;
二教育:=(VAR25/REF(VAR25,M)-1)*100/m;二纺织:=(VAR26/REF(VAR26,M)-1)*100/m;二电视:=(VAR27/REF(VAR27,M)-1)*100/m;二旅游:=(VAR28/REF(VAR28,M)-1)*100/m;二新能:=(VAR29/REF(VAR29,M)-1)*100/m;二运输:=(VAR30/REF(VAR30,M)-1)*100/m;
二造纸:=(VAR31/REF(VAR31,M)-1)*100/m;二工程:=(VAR32/REF(VAR32,M)-1)*100/m;二中盘:=(VAR33/REF(VAR33,M)-1)*100/m;二云算:=(VAR34/REF(VAR34,M)-1)*100/m;二供水:=(VAR35/REF(VAR35,M)-1)*100/m;二建材:=(VAR36/REF(VAR36,M)-1)*100/m;
二商业:=(VAR37/REF(VAR37,M)-1)*100/m;二煤油:=(VAR38/REF(VAR38,M)-1)*100/m;二通讯:=(VAR39/REF(VAR39,M)-1)*100/m;二酿酒:=(VAR40/REF(VAR40,M)-1)*100/m;二参银:=(VAR41/REF(VAR41,M)-1)*100/m;二社保:=(VAR42/REF(VAR42,M)-1)*100/m;
二游戏:=(VAR43/REF(VAR43,M)-1)*100/m;二交设:=(VAR44/REF(VAR44,M)-1)*100/m;二铁路:=(VAR45/REF(VAR45,M)-1)*100/m;二大盘:=(VAR46/REF(VAR46,M)-1)*100/m;二银行:=(VAR47/REF(VAR47,M)-1)*100/m;二化工:=(VAR48/REF(VAR48,M)-1)*100/m;
二机械:=(VAR49/REF(VAR49,M)-1)*100/m;
十外贸:=(VAR1/REF(VAR1,F)-1)*100/f;十医药:=(VAR2/REF(VAR2,F)-1)*100/f;十电器:=(VAR3/REF(VAR3,F)-1)*100/f;十创投:=(VAR4/REF(VAR4,F)-1)*100/f;十券商:=(VAR5/REF(VAR5,F)-1)*100/f;十三G:=(VAR6/REF(VAR6,F)-1)*100/f;十ST:=(VAR7/REF(VAR7,F)-1)*100/f;
十有色:=(VAr8/REF(VAR8,F)-1)*100/f;十新材:=(VAR9/REF(VAR9,F)-1)*100/f;十创业:=(VAR10/REF(VAR10,F)-1)*100/f;十钢铁:=(VAR11/REF(VAR11,F)-1)*100/f;十稀缺:=(VAR12/REF(VAR12,F)-1)*100/f;十农牧:=(VAR13/REF(VAR13,F)-1)*100/f;十计算机:=(VAR14/REF(VAR14,F)-1)*100/f;
十仪电:=(VAR15/REF(VAR15,F)-1)*100/f;十电设:=(VAR16/REF(VAR16,F)-1)*100/f;十基金:=(VAR17/REF(VAR17,F)-1)*100/f;十航天:=(VAR18/REF(VAR18,F)-1)*100/f;十稀土:=(VAR19/REF(VAR19,F)-1)*100/f;十中小:=(VAR20/REF(VAR20,F)-1)*100/f;
十地产:=(VAR21/REF(VAR21,F)-1)*100/f;十小盘:=(VAR22/REF(VAR22,F)-1)*100/f;十电力:=(VAR23/REF(VAR23,F)-1)*100/f;十节能:=(VAR24/REF(VAR24,F)-1)*100/f;十教育:=(VAR25/REF(VAR25,F)-1)*100/f;十纺织:=(VAR26/REF(VAR26,F)-1)*100/f;
十电视:=(VAR27/REF(VAR27,F)-1)*100/f;十旅游:=(VAR28/REF(VAR28,F)-1)*100/f;十新能:=(VAR29/REF(VAR29,F)-1)*100/f;十运输:=(VAR30/REF(VAR30,F)-1)*100/f;十造纸:=(VAR31/REF(VAR31,F)-1)*100/f;十工程:=(VAR32/REF(VAR32,F)-1)*100/f;
十中盘:=(VAR33/REF(VAR33,F)-1)*100/f;十云算:=(VAR34/REF(VAR34,F)-1)*100/f;十供水:=(VAR35/REF(VAR35,F)-1)*100/f;十建材:=(VAR36/REF(VAR36,F)-1)*100/f;十商业:=(VAR37/REF(VAR37,F)-1)*100/f;十煤油:=(VAR38/REF(VAR38,F)-1)*100/f;
十通讯:=(VAR39/REF(VAR39,F)-1)*100/f;十酿酒:=(VAR40/REF(VAR40,F)-1)*100/f;十参银:=(VAR41/REF(VAR41,F)-1)*100/f;十社保:=(VAR42/REF(VAR42,F)-1)*100/f;十游戏:=(VAR43/REF(VAR43,F)-1)*100/f;十交设:=(VAR44/REF(VAR44,F)-1)*100/f;
十铁路:=(VAR45/REF(VAR45,F)-1)*100/f;十大盘:=(VAR46/REF(VAR46,F)-1)*100/f;十银行:=(VAR47/REF(VAR47,F)-1)*100/f;十化工:=(VAR48/REF(VAR48,F)-1)*100/f;十机械:=(VAR49/REF(VAR49,F)-1)*100/f;
外贸:=(VAR1/REF(VAR1,1)-1)*100/g;医药:=(VAR2/REF(VAR2,1)-1)*100/g;电器:=(VAR3/REF(VAR3,1)-1)*100/g;创投:=(VAR4/REF(VAR4,1)-1)*100/g;券商:=(VAR5/REF(VAR5,1)-1)*100/g;三G:=(VAR6/REF(VAR6,1)-1)*100/g;ST:=(VAR7/REF(VAR7,1)-1)*100/g;
有色:=(VAr8/REF(VAR8,1)-1)*100/g;新材:=(VAR9/REF(VAR9,1)-1)*100/g;创业:=(VAR10/REF(VAR10,1)-1)*100/g;钢铁:=(VAR11/REF(VAR11,1)-1)*100/g;稀缺:=(VAR12/REF(VAR12,1)-1)*100/g;农牧:=(VAR13/REF(VAR13,1)-1)*100/g;计算机:=(VAR14/REF(VAR14,1)-1)*100/g;
仪电:=(VAR15/REF(VAR15,1)-1)*100/g;电设:=(VAR16/REF(VAR16,1)-1)*100/g;基金:=(VAR17/REF(VAR17,1)-1)*100/g;航天:=(VAR18/REF(VAR18,1)-1)*100/g;稀土:=(VAR19/REF(VAR19,1)-1)*100/g;中小:=(VAR20/REF(VAR20,1)-1)*100/g;地产:=(VAR21/REF(VAR21,1)-1)*100/g;
小盘:=(VAR22/REF(VAR22,1)-1)*100/g;电力:=(VAR23/REF(VAR23,1)-1)*100/g;节能:=(VAR24/REF(VAR24,1)-1)*100/g;教育:=(VAR25/REF(VAR25,1)-1)*100/g;纺织:=(VAR26/REF(VAR26,1)-1)*100/g;电视:=(VAR27/REF(VAR27,1)-1)*100/g;旅游:=(VAR28/REF(VAR28,1)-1)*100/g;
新能:=(VAR29/REF(VAR29,1)-1)*100/g;运输:=(VAR30/REF(VAR30,1)-1)*100/g;造纸:=(VAR31/REF(VAR31,1)-1)*100/g;工程:=(VAR32/REF(VAR32,1)-1)*100/g;中盘:=(VAR33/REF(VAR33,1)-1)*100/g;云算:=(VAR34/REF(VAR34,1)-1)*100/g;供水:=(VAR35/REF(VAR35,1)-1)*100/g;
建材:=(VAR36/REF(VAR36,1)-1)*100/g;商业:=(VAR37/REF(VAR37,1)-1)*100/g;煤油:=(VAR38/REF(VAR38,1)-1)*100/g;通讯:=(VAR39/REF(VAR39,1)-1)*100/g;酿酒:=(VAR40/REF(VAR40,1)-1)*100/g;参银:=(VAR41/REF(VAR41,1)-1)*100/g;社保:=(VAR42/REF(VAR42,1)-1)*100/g;
游戏:=(VAR43/REF(VAR43,1)-1)*100/g;交设:=(VAR44/REF(VAR44,1)-1)*100/g;铁路:=(VAR45/REF(VAR45,1)-1)*100/g;大盘:=(VAR46/REF(VAR46,1)-1)*100/g;银行:=(VAR47/REF(VAR47,1)-1)*100/g;化工:=(VAR48/REF(VAR48,1)-1)*100/g;机械:=(VAR49/REF(VAR49,1)-1)*100/g;
最高柱:=MAX(外贸,MAX(医药,MAX(电器,MAX(创投,MAX(券商,MAX(三G,MAX(ST,MAX(有色,MAX(新材,MAX(创业,MAX(钢铁,MAX(稀缺,MAX(农牧,MAX(计算机,MAX(仪电,MAX(电设,MAX(基金,MAX(航天,MAX(稀土,MAX(中小,MAX(地产,MAX(小盘,MAX(电力,MAX(节能,MAX(教育,
MAX(纺织,MAX(电视,MAX(旅游,MAX(新能,MAX(运输,MAX(造纸,MAX(工程,MAX(中盘,MAX(云算,MAX(供水,MAX(建材,MAX(商业,MAX(煤油,MAX(通讯,MAX(酿酒,MAX(参银,MAX(社保,MAX(游戏,MAX(交设,MAX(铁路,MAX(大盘,MAX(银行,MAX(化工,机械)))))))))))))))))))
)))))))))))))))))))))))))))));
最低柱:=MIN(外贸,MIN(医药,MIN(电器,MIN(创投,MIN(券商,MIN(三G,MIN(ST,MIN(有色,MIN(新材,MIN(创业,MIN(钢铁,MIN(稀缺,MIN(农牧,MIN(计算机,MIN(仪电,MIN(电设,MIN(基金,MIN(航天,MIN(稀土,MIN(中小,MIN(地产,MIN(小盘,MIN(电力,MIN(节能,MIN(教育,
MIN(纺织,MIN(电视,MIN(旅游,MIN(新能,MIN(运输,MIN(造纸,MIN(工程,MIN(中盘,MIN(云算,MIN(供水,MIN(建材,MIN(商业,MIN(煤油,MIN(通讯,MIN(酿酒,MIN(参银,MIN(社保,MIN(游戏,MIN(交设,MIN(铁路,MIN(大盘,MIN(银行,MIN(化工,机械)))))))))))))))))))
)))))))))))))))))))))))))))));
最高柱D:最高柱[DATACOUNT]*0.55,COLOR000000;
最低柱D:最低柱[DATACOUNT]*0.55,COLOR000000;
A2坐:=SYSPARAM(2)-40;
A3坐:=SYSPARAM(3);
KS坐:=A3坐-A2坐;
Z坐:=KS坐/196;
P50:=BARPOS=A2坐+ROUND(1*Z坐);P49:=BARPOS=A2坐+ROUND(4*Z坐);P48:=BARPOS=A2坐+ROUND(8*Z坐);P47:=BARPOS=A2坐+ROUND(12*Z坐);
P46:=BARPOS=A2坐+ROUND(16*Z坐);P45:=BARPOS=A2坐+ROUND(20*Z坐);P44:=BARPOS=A2坐+ROUND(24*Z坐);P43:=BARPOS=A2坐+ROUND(28*Z坐);
P42:=BARPOS=A2坐+ROUND(32*Z坐);P41:=BARPOS=A2坐+ROUND(36*Z坐);P40:=BARPOS=A2坐+ROUND(40*Z坐);P39:=BARPOS=A2坐+ROUND(44*Z坐);
P38:=BARPOS=A2坐+ROUND(48*Z坐);P37:=BARPOS=A2坐+ROUND(52*Z坐);P36:=BARPOS=A2坐+ROUND(56*Z坐);P35:=BARPOS=A2坐+ROUND(60*Z坐);
P34:=BARPOS=A2坐+ROUND(64*Z坐);P33:=BARPOS=A2坐+ROUND(68*Z坐);P32:=BARPOS=A2坐+ROUND(72*Z坐);P31:=BARPOS=A2坐+ROUND(76*Z坐);
P30:=BARPOS=A2坐+ROUND(80*Z坐);P29:=BARPOS=A2坐+ROUND(84*Z坐);P28:=BARPOS=A2坐+ROUND(88*Z坐);P27:=BARPOS=A2坐+ROUND(92*Z坐);
P26:=BARPOS=A2坐+ROUND(96*Z坐);P25:=BARPOS=A2坐+ROUND(100*Z坐);P24:=BARPOS=A2坐+ROUND(104*Z坐);P23:=BARPOS=A2坐+ROUND(108*Z坐);
P22:=BARPOS=A2坐+ROUND(112*Z坐);P21:=BARPOS=A2坐+ROUND(116*Z坐);P20:=BARPOS=A2坐+ROUND(120*Z坐);P19:=BARPOS=A2坐+ROUND(124*Z坐);
P18:=BARPOS=A2坐+ROUND(128*Z坐);P17:=BARPOS=A2坐+ROUND(132*Z坐);P16:=BARPOS=A2坐+ROUND(136*Z坐);P15:=BARPOS=A2坐+ROUND(140*Z坐);
P14:=BARPOS=A2坐+ROUND(144*Z坐);p13:=BARPOS=A2坐+ROUND(148*Z坐);P12:=BARPOS=A2坐+ROUND(152*Z坐);P11:=BARPOS=A2坐+ROUND(156*Z坐);
P10:=BARPOS=A2坐+ROUND(160*Z坐);P9:=BARPOS=A2坐+ROUND(164*Z坐);P8:=BARPOS=A2坐+ROUND(168*Z坐);P7:=BARPOS=A2坐+ROUND(172*Z坐);
P6:=BARPOS=A2坐+ROUND(176*Z坐);P5:=BARPOS=A2坐+ROUND(180*Z坐);P4:=BARPOS=A2坐+ROUND(184*Z坐);P3:=BARPOS=A2坐+ROUND(188*Z坐);
P2:=BARPOS=A2坐+ROUND(192*Z坐);P1:=BARPOS=A2坐+ROUND(196*Z坐);
STICKLINE(P1,0,IF(1,REFX(六外贸[SYSPARAM(1)],3),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P2,0,IF(1,REFX(六医药[SYSPARAM(1)],5),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P3,0,IF(1,REFX(六电器[SYSPARAM(1)],7),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P4,0,IF(1,REFX(六创投[SYSPARAM(1)],9),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P5,0,IF(1,REFX(六券商[SYSPARAM(1)],11),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P6,0,IF(1,REFX(六三G[SYSPARAM(1)],13),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P7,0,IF(1,REFX(六st[SYSPARAM(1)],15),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P8,0,IF(1,REFX(六有色[SYSPARAM(1)],17),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P9,0,IF(1,REFX(六新材[SYSPARAM(1)],19),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P10,0,IF(1,REFX(六创业[SYSPARAM(1)],21),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P11,0,IF(1,REFX(六钢铁[SYSPARAM(1)],23),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P12,0,IF(1,REFX(六稀缺[SYSPARAM(1)],25),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P13,0,IF(1,REFX(六农牧[SYSPARAM(1)],27),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P14,0,IF(1,REFX(六计算机[SYSPARAM(1)],29),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P15,0,IF(1,REFX(六仪电[SYSPARAM(1)],31),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P16,0,IF(1,REFX(六电设[SYSPARAM(1)],33),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P17,0,IF(1,REFX(六基金[SYSPARAM(1)],35),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P18,0,IF(1,REFX(六航天[SYSPARAM(1)],37),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P19,0,IF(1,REFX(六稀土[SYSPARAM(1)],39),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P20,0,IF(1,REFX(六中小[SYSPARAM(1)],41),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P21,0,IF(1,REFX(六地产[SYSPARAM(1)],43),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P22,0,IF(1,REFX(六小盘[SYSPARAM(1)],45),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P23,0,IF(1,REFX(六电力[SYSPARAM(1)],47),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P24,0,IF(1,REFX(六节能[SYSPARAM(1)],49),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P25,0,IF(1,REFX(六教育[SYSPARAM(1)],51),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P26,0,IF(1,REFX(六纺织[SYSPARAM(1)],53),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P27,0,IF(1,REFX(六电视[SYSPARAM(1)],55),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P28,0,IF(1,REFX(六旅游[SYSPARAM(1)],57),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P29,0,IF(1,REFX(六新能[SYSPARAM(1)],59),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P30,0,IF(1,REFX(六运输[SYSPARAM(1)],61),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P31,0,IF(1,REFX(六造纸[SYSPARAM(1)],63),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P32,0,IF(1,REFX(六工程[SYSPARAM(1)],65),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P33,0,IF(1,REFX(六中盘[SYSPARAM(1)],67),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P34,0,IF(1,REFX(六云算[SYSPARAM(1)],69),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P35,0,IF(1,REFX(六供水[SYSPARAM(1)],71),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P36,0,IF(1,REFX(六建材[SYSPARAM(1)],73),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P37,0,IF(1,REFX(六商业[SYSPARAM(1)],75),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P38,0,IF(1,REFX(六煤油[SYSPARAM(1)],77),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P39,0,IF(1,REFX(六通讯[SYSPARAM(1)],79),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P40,0,IF(1,REFX(六酿酒[SYSPARAM(1)],81),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P41,0,IF(1,REFX(六参银[SYSPARAM(1)],83),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P42,0,IF(1,REFX(六社保[SYSPARAM(1)],85),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P43,0,IF(1,REFX(六游戏[SYSPARAM(1)],87),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P44,0,IF(1,REFX(六交设[SYSPARAM(1)],89),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P45,0,IF(1,REFX(六铁路[SYSPARAM(1)],91),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P46,0,IF(1,REFX(六大盘[SYSPARAM(1)],93),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P47,0,IF(1,REFX(六银行[SYSPARAM(1)],95),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P48,0,IF(1,REFX(六化工[SYSPARAM(1)],97),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P49,0,IF(1,REFX(六机械[SYSPARAM(1)],99),0),Z坐*34,1)COLOR204600,SHIFT39;
STICKLINE(P1,0,IF(1,REFX(二外贸[SYSPARAM(1)],3),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P2,0,IF(1,REFX(二医药[SYSPARAM(1)],5),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P3,0,IF(1,REFX(二电器[SYSPARAM(1)],7),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P4,0,IF(1,REFX(二创投[SYSPARAM(1)],9),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P5,0,IF(1,REFX(二券商[SYSPARAM(1)],11),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P6,0,IF(1,REFX(二三G[SYSPARAM(1)],13),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P7,0,IF(1,REFX(二st[SYSPARAM(1)],15),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P8,0,IF(1,REFX(二有色[SYSPARAM(1)],17),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P9,0,IF(1,REFX(二新材[SYSPARAM(1)],19),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P10,0,IF(1,REFX(二创业[SYSPARAM(1)],21),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P11,0,IF(1,REFX(二钢铁[SYSPARAM(1)],23),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P12,0,IF(1,REFX(二稀缺[SYSPARAM(1)],25),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P13,0,IF(1,REFX(二农牧[SYSPARAM(1)],27),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P14,0,IF(1,REFX(二计算机[SYSPARAM(1)],29),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P15,0,IF(1,REFX(二仪电[SYSPARAM(1)],31),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P16,0,IF(1,REFX(二电设[SYSPARAM(1)],33),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P17,0,IF(1,REFX(二基金[SYSPARAM(1)],35),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P18,0,IF(1,REFX(二航天[SYSPARAM(1)],37),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P19,0,IF(1,REFX(二稀土[SYSPARAM(1)],39),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P20,0,IF(1,REFX(二中小[SYSPARAM(1)],41),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P21,0,IF(1,REFX(二地产[SYSPARAM(1)],43),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P22,0,IF(1,REFX(二小盘[SYSPARAM(1)],45),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P23,0,IF(1,REFX(二电力[SYSPARAM(1)],47),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P24,0,IF(1,REFX(二节能[SYSPARAM(1)],49),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P25,0,IF(1,REFX(二教育[SYSPARAM(1)],51),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P26,0,IF(1,REFX(二纺织[SYSPARAM(1)],53),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P27,0,IF(1,REFX(二电视[SYSPARAM(1)],55),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P28,0,IF(1,REFX(二旅游[SYSPARAM(1)],57),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P29,0,IF(1,REFX(二新能[SYSPARAM(1)],59),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P30,0,IF(1,REFX(二运输[SYSPARAM(1)],61),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P31,0,IF(1,REFX(二造纸[SYSPARAM(1)],63),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P32,0,IF(1,REFX(二工程[SYSPARAM(1)],65),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P33,0,IF(1,REFX(二中盘[SYSPARAM(1)],67),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P34,0,IF(1,REFX(二云算[SYSPARAM(1)],69),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P35,0,IF(1,REFX(二供水[SYSPARAM(1)],71),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P36,0,IF(1,REFX(二建材[SYSPARAM(1)],73),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P37,0,IF(1,REFX(二商业[SYSPARAM(1)],75),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P38,0,IF(1,REFX(二煤油[SYSPARAM(1)],77),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P39,0,IF(1,REFX(二通讯[SYSPARAM(1)],79),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P40,0,IF(1,REFX(二酿酒[SYSPARAM(1)],81),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P41,0,IF(1,REFX(二参银[SYSPARAM(1)],83),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P42,0,IF(1,REFX(二社保[SYSPARAM(1)],85),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P43,0,IF(1,REFX(二游戏[SYSPARAM(1)],87),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P44,0,IF(1,REFX(二交设[SYSPARAM(1)],89),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P45,0,IF(1,REFX(二铁路[SYSPARAM(1)],91),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P46,0,IF(1,REFX(二大盘[SYSPARAM(1)],93),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P47,0,IF(1,REFX(二银行[SYSPARAM(1)],95),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P48,0,IF(1,REFX(二化工[SYSPARAM(1)],97),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P49,0,IF(1,REFX(二机械[SYSPARAM(1)],99),0),Z坐*26,0)COLOR000026,SHIFT39;
STICKLINE(P1,0,IF(1,REFX(十外贸[SYSPARAM(1)],3),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P2,0,IF(1,REFX(十医药[SYSPARAM(1)],5),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P3,0,IF(1,REFX(十电器[SYSPARAM(1)],7),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P4,0,IF(1,REFX(十创投[SYSPARAM(1)],9),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P5,0,IF(1,REFX(十券商[SYSPARAM(1)],11),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P6,0,IF(1,REFX(十三G[SYSPARAM(1)],13),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P7,0,IF(1,REFX(十st[SYSPARAM(1)],15),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P8,0,IF(1,REFX(十有色[SYSPARAM(1)],17),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P9,0,IF(1,REFX(十新材[SYSPARAM(1)],19),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P10,0,IF(1,REFX(十创业[SYSPARAM(1)],21),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P11,0,IF(1,REFX(十钢铁[SYSPARAM(1)],23),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P12,0,IF(1,REFX(十稀缺[SYSPARAM(1)],25),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P13,0,IF(1,REFX(十农牧[SYSPARAM(1)],27),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P14,0,IF(1,REFX(十计算机[SYSPARAM(1)],29),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P15,0,IF(1,REFX(十仪电[SYSPARAM(1)],31),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P16,0,IF(1,REFX(十电设[SYSPARAM(1)],33),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P17,0,IF(1,REFX(十基金[SYSPARAM(1)],35),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P18,0,IF(1,REFX(十航天[SYSPARAM(1)],37),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P19,0,IF(1,REFX(十稀土[SYSPARAM(1)],39),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P20,0,IF(1,REFX(十中小[SYSPARAM(1)],41),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P21,0,IF(1,REFX(十地产[SYSPARAM(1)],43),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P22,0,IF(1,REFX(十小盘[SYSPARAM(1)],45),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P23,0,IF(1,REFX(十电力[SYSPARAM(1)],47),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P24,0,IF(1,REFX(十节能[SYSPARAM(1)],49),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P25,0,IF(1,REFX(十教育[SYSPARAM(1)],51),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P26,0,IF(1,REFX(十纺织[SYSPARAM(1)],53),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P27,0,IF(1,REFX(十电视[SYSPARAM(1)],55),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P28,0,IF(1,REFX(十旅游[SYSPARAM(1)],57),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P29,0,IF(1,REFX(十新能[SYSPARAM(1)],59),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P30,0,IF(1,REFX(十运输[SYSPARAM(1)],61),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P31,0,IF(1,REFX(十造纸[SYSPARAM(1)],63),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P32,0,IF(1,REFX(十工程[SYSPARAM(1)],65),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P33,0,IF(1,REFX(十中盘[SYSPARAM(1)],67),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P34,0,IF(1,REFX(十云算[SYSPARAM(1)],69),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P35,0,IF(1,REFX(十供水[SYSPARAM(1)],71),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P36,0,IF(1,REFX(十建材[SYSPARAM(1)],73),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P37,0,IF(1,REFX(十商业[SYSPARAM(1)],75),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P38,0,IF(1,REFX(十煤油[SYSPARAM(1)],77),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P39,0,IF(1,REFX(十通讯[SYSPARAM(1)],79),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P40,0,IF(1,REFX(十酿酒[SYSPARAM(1)],81),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P41,0,IF(1,REFX(十参银[SYSPARAM(1)],83),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P42,0,IF(1,REFX(十社保[SYSPARAM(1)],85),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P43,0,IF(1,REFX(十游戏[SYSPARAM(1)],87),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P44,0,IF(1,REFX(十交设[SYSPARAM(1)],89),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P45,0,IF(1,REFX(十铁路[SYSPARAM(1)],91),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P46,0,IF(1,REFX(十大盘[SYSPARAM(1)],93),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P47,0,IF(1,REFX(十银行[SYSPARAM(1)],95),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P48,0,IF(1,REFX(十化工[SYSPARAM(1)],97),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P49,0,IF(1,REFX(十机械[SYSPARAM(1)],99),0),Z坐*18,1)COLOR004046,SHIFT39;
STICKLINE(P1,0,IF(1,REFX(外贸[SYSPARAM(1)]/k,3),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P2,0,IF(1,REFX(医药[SYSPARAM(1)]/k,5),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P3,0,IF(1,REFX(电器[SYSPARAM(1)]/k,7),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P4,0,IF(1,REFX(创投[SYSPARAM(1)]/k,9),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P5,0,IF(1,REFX(券商[SYSPARAM(1)]/k,11),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P6,0,IF(1,REFX(三G[SYSPARAM(1)]/k,13),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P7,0,IF(1,REFX(st[SYSPARAM(1)]/k,15),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P8,0,IF(1,REFX(有色[SYSPARAM(1)]/k,17),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P9,0,IF(1,REFX(新材[SYSPARAM(1)]/k,19),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P10,0,IF(1,REFX(创业[SYSPARAM(1)]/k,21),0),Z坐*6,0)COLOr100036,SHIFT39;
STICKLINE(P11,0,IF(1,REFX(钢铁[SYSPARAM(1)]/k,23),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P12,0,IF(1,REFX(稀缺[SYSPARAM(1)]/k,25),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P13,0,IF(1,REFX(农牧[SYSPARAM(1)]/k,27),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P14,0,IF(1,REFX(计算机[SYSPARAM(1)]/k,29),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P15,0,IF(1,REFX(仪电[SYSPARAM(1)]/k,31),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P16,0,IF(1,REFX(电设[SYSPARAM(1)]/k,33),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P17,0,IF(1,REFX(基金[SYSPARAM(1)]/k,35),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P18,0,IF(1,REFX(航天[SYSPARAM(1)]/k,37),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P19,0,IF(1,REFX(稀土[SYSPARAM(1)]/k,39),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P20,0,IF(1,REFX(中小[SYSPARAM(1)]/k,41),0),Z坐*6,0)COLOr100036,SHIFT39;
STICKLINE(P21,0,IF(1,REFX(地产[SYSPARAM(1)]/k,43),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P22,0,IF(1,REFX(小盘[SYSPARAM(1)]/k,45),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P23,0,IF(1,REFX(电力[SYSPARAM(1)]/k,47),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P24,0,IF(1,REFX(节能[SYSPARAM(1)]/k,49),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P25,0,IF(1,REFX(教育[SYSPARAM(1)]/k,51),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P26,0,IF(1,REFX(纺织[SYSPARAM(1)]/k,53),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P27,0,IF(1,REFX(电视[SYSPARAM(1)]/k,55),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P28,0,IF(1,REFX(旅游[SYSPARAM(1)]/k,57),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P29,0,IF(1,REFX(新能[SYSPARAM(1)]/k,59),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P30,0,IF(1,REFX(运输[SYSPARAM(1)]/k,61),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P31,0,IF(1,REFX(造纸[SYSPARAM(1)]/k,63),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P32,0,IF(1,REFX(工程[SYSPARAM(1)]/k,65),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P33,0,IF(1,REFX(中盘[SYSPARAM(1)]/k,67),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P34,0,IF(1,REFX(云算[SYSPARAM(1)]/k,69),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P35,0,IF(1,REFX(供水[SYSPARAM(1)]/k,71),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P36,0,IF(1,REFX(建材[SYSPARAM(1)]/k,73),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P37,0,IF(1,REFX(商业[SYSPARAM(1)]/k,75),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P38,0,IF(1,REFX(煤油[SYSPARAM(1)]/k,77),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P39,0,IF(1,REFX(通讯[SYSPARAM(1)]/k,79),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P40,0,IF(1,REFX(酿酒[SYSPARAM(1)]/k,81),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P41,0,IF(1,REFX(参银[SYSPARAM(1)]/k,83),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P42,0,IF(1,REFX(社保[SYSPARAM(1)]/k,85),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P43,0,IF(1,REFX(游戏[SYSPARAM(1)]/k,87),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P44,0,IF(1,REFX(交设[SYSPARAM(1)]/k,89),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P45,0,IF(1,REFX(铁路[SYSPARAM(1)]/k,91),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P46,0,IF(1,REFX(大盘[SYSPARAM(1)]/k,93),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P47,0,IF(1,REFX(银行[SYSPARAM(1)]/k,95),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P48,0,IF(1,REFX(化工[SYSPARAM(1)]/k,97),0),Z坐*6,0)COLOR100036,SHIFT39;
STICKLINE(P49,0,IF(1,REFX(机械[SYSPARAM(1)]/k,99),0),Z坐*6,0)COLOR100036,SHIFT39;
DRAWTEXTEX(CLOSE>0,1,500,0,'■六十日'),Color204600;
DRAWTEXTEX(CLOSE>0,1,500,0,' ■二十日'),Color000046;
DRAWTEXTEX(CLOSE>0,1,500,0,' ■十日'),Color005066;
DRAWTEXTEX(CLOSE>0,1,500,0,' ■当日'),Color600066;
板块总a:=(VAR1+VAR2+VAR3+VAR4+VAR5+VAR6+VAR7+VAR8+VAR9+VAR10+VAR11+VAR12+VAR13+VAR14+VAR15+VAR16+VAR17+VAR18+VAR19+VAR20+VAR21+VAR22+VAR23+VAR24+VAR25+VAR26+VAR27+VAR28+VAR29
+VAR30+VAR31+VAR32+VAR33+VAR34+VAR35+VAR36+VAR37+VAR38+VAR39+VAR40+VAR41+VAR42+VAR43+VAR44+VAR45+VAR46+VAR47+VAR48+VAR49)/49;
周RSV:=(板块总a-LLV(板块总a,45))/(HHV(板块总a,45)-LLV(板块总a,45))*2-1;
周板块总K:=sMA(周RSV,15,1);
周板块总D:=SMA(周板块总K,15,1);
周板块总j:=(3*周板块总K-2*周板块总D);
PARTLINE( 1,周板块总j),Color000057,LINETHICK2,SHIFT0;
PARTLINE(周板块总j<ref(周板块总j,1) ,周板块总j),Color555500,LINETHICK2,SHIFT0;
板块总:=ma((板块总a/REF(板块总a,f)-1)*100/f,1),Color0000ff;
RSV:=(板块总a-LLV(板块总a,9))/(HHV(板块总a,9)-LLV(板块总a,9))*2-1;
板块总K:=sMA(RSV,3,1);
板块总D:=SMA(板块总K,3,1);
板块总j:=(3*板块总K-2*板块总D);
PARTLINE(1,板块总K),Color007700,SHIFT0;
PARTLINE( 1,板块总d),Color007777,SHIFT0;
PARTLINE( 1,板块总j),Color000077,SHIFT0;
1,Color333333,SHIFT42;
-1,Color333333,SHIFT42;
板块总比:=ema(板块总,5),Color770077;
板块总比5:=ema(板块总,10),Color000077;
总比五日的力度:=板块总比-(ma((板块总比*6.67)+(ref(板块总比,1)*3.33),5))/5,Color003479,LINEDOT;
总比五日的力度5:=ma(总比五日的力度,4),Color007777,LINEDOT;
ZTJ2:=BACKSET(ISLASTBAR,36);//36
PARTLINE( ZTJ2,板块总),Color770077,SHIFT40;
PARTLINE( ZTJ2,板块总比5),Color000077,SHIFT40;
PARTLINE( ZTJ2,总比五日的力度),Color003077,SHIFT40,LINEDOT;
PARTLINE( ZTJ2,总比五日的力度5),Color007077,SHIFT40,LINEDOT;
DRAWTEXT(BARSTATUS=2,板块总比,' --趋 \n \n 势'),ALIGN0,Color790079,SHIFT41;
DRAWTEXT( BARSTATUS=2,总比五日的力度5,'-力 \n \n 度'),ALIGN0,Color007777,SHIFT41;
P:=SYSPARAM(1);
DRAWTEXT(P1,REFX(外贸[SYSPARAM(1)]/k,3),' 外\n \n 贸\n \n'+NUMTOSTR(外贸[p],2)),COLOR773777,SHIFT38;//,ALIGN1
DRAWTEXT(P2,REFX(医药[SYSPARAM(1)]/k,5),' 医\n \n 药\n \n'+NUMTOSTR(医药[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P3,REFX(电器[SYSPARAM(1)]/k,7),' 电\n \n 器\n \n'+NUMTOSTR(电器[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P4,REFX(创投[SYSPARAM(1)]/k,9),' 创\n \n 投\n \n'+NUMTOSTR(创投[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P5,REFX(券商[SYSPARAM(1)]/k,11),' 券\n \n 商\n \n'+NUMTOSTR(券商[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P6,REFX(三G[SYSPARAM(1)]/k,13),' 三\n \n G\n \n'+NUMTOSTR(三G[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P7,REFX(ST[SYSPARAM(1)]/k,15),' S\n \n T\n \n'+NUMTOSTR(ST[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P8,REFX(有色[SYSPARAM(1)]/k,17),' 有\n \n 色\n \n'+NUMTOSTR(有色[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P9,REFX(新材[SYSPARAM(1)]/k,19),' 新\n \n 材\n \n'+NUMTOSTR(新材[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P10,REFX(创业[SYSPARAM(1)]/k,21),' 创\n \n 业\n \n'+NUMTOSTR(创业[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P11,REFX(钢铁[SYSPARAM(1)]/k,23),' 钢\n \n 铁\n \n'+NUMTOSTR(钢铁[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P12,REFX(稀缺[SYSPARAM(1)]/k,25),' 稀\n \n 缺\n \n'+NUMTOSTR(稀缺[p],2)),COLOR777777,,SHIFT38;
DRAWTEXT(P13,REFX(农牧[SYSPARAM(1)]/k,27),' 农\n \n 牧\n \n'+NUMTOSTR(农牧[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P14,REFX(计算机[SYSPARAM(1)]/k,29),' 计\n 算 \n 机\n \n'+NUMTOSTR(计算机[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P15,REFX(仪电[SYSPARAM(1)]/k,31),' 仪\n \n 电\n \n'+NUMTOSTR(仪电[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P16,REFX(电设[SYSPARAM(1)]/k,33),' 电\n \n 设\n \n'+NUMTOSTR(电设[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P17,REFX(基金[SYSPARAM(1)]/k,35),' 基\n \n 金\n \n'+NUMTOSTR(基金[p],2)),COLOR773777,,SHIFT38;
DRAWTEXT(P18,REFX(航天[SYSPARAM(1)]/k,37),' 航\n \n 天\n \n'+NUMTOSTR(航天[p],2)),COLOR777777,,SHIFT38;
DRAWTEXT(P19,REFX(稀土[SYSPARAM(1)]/k,39),' 稀\n \n 土\n \n'+NUMTOSTR(稀土[p],2)),COLOR773777,SHIFT38;;
DRAWTEXT(P20,REFX(中小[SYSPARAM(1)]/k,41),' 中\n \n 小\n \n'+NUMTOSTR(中小[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P21,REFX(地产[SYSPARAM(1)]/k,43),' 地\n \n 产\n \n'+NUMTOSTR(地产[p],2)),COLOR773777,,SHIFT38;
DRAWTEXT(P22,REFX(小盘[SYSPARAM(1)]/k,45),' 小\n \n 盘\n \n'+NUMTOSTR(小盘[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P23,REFX(电力[SYSPARAM(1)]/k,47),' 电\n \n 力\n \n'+NUMTOSTR(电力[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P24,REFX(节能[SYSPARAM(1)]/k,49),' 节\n \n 能\n \n'+NUMTOSTR(节能[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P25,REFX(教育[SYSPARAM(1)]/k,51),' 教\n \n 育\n \n'+NUMTOSTR(教育[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P26,REFX(纺织[SYSPARAM(1)]/k,53),' 纺\n \n 织\n \n'+NUMTOSTR(纺织[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P27,REFX(电视[SYSPARAM(1)]/k,55),' 电\n \n 视\n \n'+NUMTOSTR(电视[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P28,REFX(旅游[SYSPARAM(1)]/k,57),' 旅\n \n 游\n \n'+NUMTOSTR(旅游[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P29,REFX(新能[SYSPARAM(1)]/k,59),' 新\n \n 能\n \n'+NUMTOSTR(新能[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P30,REFX(运输[SYSPARAM(1)]/k,61),' 运\n \n 输\n \n'+NUMTOSTR(运输[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P31,REFX(造纸[SYSPARAM(1)]/k,63),' 造\n \n 纸\n \n'+NUMTOSTR(造纸[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P32,REFX(工程[SYSPARAM(1)]/k,65),' 工\n \n 程\n \n'+NUMTOSTR(工程[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P33,REFX(中盘[SYSPARAM(1)]/k,67),' 中\n \n 盘\n \n'+NUMTOSTR(中盘[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P34,REFX(云算[SYSPARAM(1)]/k,69),' 云\n 计 \n 算\n \n'+NUMTOSTR(云算[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P35,REFX(供水[SYSPARAM(1)]/k,71),' 供\n \n 水\n \n'+NUMTOSTR(供水[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P36,REFX(建材[SYSPARAM(1)]/k,73),' 建\n \n 材\n \n'+NUMTOSTR(建材[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P37,REFX(商业[SYSPARAM(1)]/k,75),' 商\n \n 业\n \n'+NUMTOSTR(商业[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P38,REFX(煤油[SYSPARAM(1)]/k,77),' 煤\n \n 油\n \n'+NUMTOSTR(煤油[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P39,REFX(通讯[SYSPARAM(1)]/k,79),' 通\n \n 讯\n \n'+NUMTOSTR(通讯[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P40,REFX(酿酒[SYSPARAM(1)]/k,81),' 酿\n \n 酒\n \n'+NUMTOSTR(酿酒[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P41,REFX(参银[SYSPARAM(1)]/k,83),' 参\n \n 银\n \n'+NUMTOSTR(参银[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P42,REFX(社保[SYSPARAM(1)]/k,85),' 社\n \n 保\n \n'+NUMTOSTR(社保[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P43,REFX(游戏[SYSPARAM(1)]/k,87),' 游\n \n 戏\n \n'+NUMTOSTR(游戏[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P44,REFX(交设[SYSPARAM(1)]/k,89),' 交\n \n 设\n \n'+NUMTOSTR(交设[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P45,REFX(铁路[SYSPARAM(1)]/k,91),' 铁\n \n 路\n \n'+NUMTOSTR(铁路[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P46,REFX(大盘[SYSPARAM(1)]/k,93),' 大\n \n 盘\n \n'+NUMTOSTR(大盘[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P47,REFX(银行[SYSPARAM(1)]/k,95),' 银\n \n 行\n \n'+NUMTOSTR(银行[p],2)),COLOR773777,SHIFT38;
DRAWTEXT(P48,REFX(化工[SYSPARAM(1)]/k,97),' 化\n \n 工\n \n'+NUMTOSTR(化工[p],2)),COLOR777777,SHIFT38;
DRAWTEXT(P49,REFX(机械[SYSPARAM(1)]/k,99),' 机\n \n 械\n \n'+NUMTOSTR(机械[p],2)),COLOR773777,SHIFT38;
[url=http://www.goodgupiao.com/gupiaogongshi/17527.html][B]板块KDJ 只是为了看看各板块趋势方便而已[/B][/url]