VAR0:=("999999$C");VAR1:=("399110$C");VAR2:=("399120$C"); VAR3:=("399130$C");
VAR4:=("399131$C");VAR5:=("399132$C"); VAR6:=("399133$C"); VAR7:=("399134$C");
VAR8:=("399135$C");VAR9:=("399136$C"); VAR10:=("399137$C");VAR11:=("399138$C");
VAR12:=("399139$C");VAR13:=("399140$C");VAR14:=("399150$C");VAR15:=("399160$C");
VAR16:=("399170$C");VAR17:=("399180$C");VAR18:=("399190$C");VAR19:=("399200$C");
VAR20:=("399210$C");VAR21:=("399220$C");
上证1:=(VAR0-REF(VAR0,1))/REF(VAR0,1)*100;
农林1:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*100;
采掘1:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
制造1:=(VAR3-REF(VAR3,1))/REF(VAR3,1)*100;
食品1:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;
纺织1:=(VAR5-REF(VAR5,1))/REF(VAR5,1)*100;
木材1:=(VAR6-REF(VAR6,1))/REF(VAR6,1)*100;
造纸1:=(VAR7-REF(VAR7,1))/REF(VAR7,1)*100;
石化1:=(VAR8-REF(VAR8,1))/REF(VAR8,1)*100;
电子1:=(VAR9-REF(VAR9,1))/REF(VAR9,1)*100;
金属1:=(VAR10-REF(VAR10,1))/REF(VAR10,1)*100;
机械1:=(VAR11-REF(VAR11,1))/REF(VAR11,1)*100;
医药1:=(VAR12-REF(VAR12,1))/REF(VAR12,1)*100;
水电1:=(VAR13-REF(VAR13,1))/REF(VAR13,1)*100;
建筑1:=(VAR14-REF(VAR14,1))/REF(VAR14,1)*100;
运输1:=(VAR15-REF(VAR15,1))/REF(VAR15,1)*100;
IT业1:=(VAR16-REF(VAR16,1))/REF(VAR16,1)*100;
批零1:=(VAR17-REF(VAR17,1))/REF(VAR17,1)*100;
金融1:=(VAR18-REF(VAR18,1))/REF(VAR18,1)*100;
地产1:=(VAR19-REF(VAR19,1))/REF(VAR19,1)*100;
服务1:=(VAR20-REF(VAR20,1))/REF(VAR20,1)*100;
传播1:=(VAR21-REF(VAR21,1))/REF(VAR21,1)*100;
MAX1:=MAX(农林1,采掘1);
MAX2:=MAX(制造1,MAX1);
MAX3:=MAX(建筑1,MAX2);
MAX4:=MAX(食品1,MAX3);
MAX5:=MAX(纺织1,MAX4);
MAX6:=MAX(木材1,MAX5);
MAX7:=MAX(造纸1,MAX6);
MAX8:=MAX(石化1,MAX7);
MAX9:=MAX(电子1,MAX8);
MAX10:=MAX(金属1,MAX9);
MAX11:=MAX(机械1,MAX10);
MAX12:=MAX(医药1,MAX11);
MAX13:=MAX(水电1,MAX12);
MAX14:=MAX(建筑1,MAX13);
MAX15:=MAX(运输1,MAX14);
MAX16:=MAX(IT业1,MAX15);
MAX17:=MAX(批零1,MAX16);
MAX18:=MAX(金融1,MAX17);
MAX19:=MAX(地产1,MAX18);
MAX20:=MAX(服务1,MAX19);
MAX21:=MAX(传播1,MAX20);
A1:=IF(农林1=MAX21,0,农林1);
A2:=IF(采掘1=MAX21,0,采掘1);
A3:=IF(制造1=MAX21,0,制造1);
A4:=IF(食品1=MAX21,0,食品1);
A5:=IF(纺织1=MAX21,0,纺织1);
A6:=IF(木材1=MAX21,0,木材1);
A7:=IF(造纸1=MAX21,0,造纸1);
A8:=IF(石化1=MAX21,0,石化1);
A9:=IF(电子1=MAX21,0,电子1);
A10:=IF(金属1=MAX21,0,金属1);
A11:=IF(机械1=MAX21,0,机械1);
A12:=IF(医药1=MAX21,0,医药1);
A13:=IF(水电1=MAX21,0,水电1);
A14:=IF(建筑1=MAX21,0,建筑1);
A15:=IF(运输1=MAX21,0,运输1);
A16:=IF(IT业1=MAX21,0,IT业1);
A17:=IF(批零1=MAX21,0,批零1);
A18:=IF(金融1=MAX21,0,金融1);
A19:=IF(地产1=MAX21,0,地产1);
A20:=IF(服务1=MAX21,0,服务1);
A21:=IF(传播1=MAX21,0,传播1);
MAXA1:=MAX(A1,A2);
MAXA2:=MAX(A3,MAXA1);
MAXA3:=MAX(A4,MAXA2);
MAXA4:=MAX(A5,MAXA3);
MAXA5:=MAX(A6,MAXA4);
MAXA6:=MAX(A7,MAXA5);
MAXA7:=MAX(A8,MAXA6);
MAXA8:=MAX(A9,MAXA7);
MAXA9:=MAX(A10,MAXA8);
MAXA10:=MAX(A11,MAXA9);
MAXA11:=MAX(A12,MAXA10);
MAXA12:=MAX(A13,MAXA11);
MAXA13:=MAX(A14,MAXA12);
MAXA14:=MAX(A15,MAXA13);
MAXA15:=MAX(A16,MAXA14);
MAXA16:=MAX(A17,MAXA15);
MAXA17:=MAX(A18,MAXA16);
MAXA18:=MAX(A19,MAXA17);
MAXA19:=MAX(A20,MAXA18);
MAXA20:=MAX(A21,MAXA19);
上证涨幅:上证1,COLORRED;
涨幅榜首:MAX21,COLORYELLOW,NODRAW;
涨幅次位:MAXA20,COLORC0C0C0,NODRAW;
STICKLINE(MAX21 AND MAX21>0,0,MAX21,2,1),COLORYELLOW;
STICKLINE(MAXA20 AND MAXA20>0,0,MAXA20,0.1,0),COLORC0C0C0;
DRAWTEXT(农林1=MAX21 AND 农林1>0,0-1,'①农林'),COLORCYAN;
DRAWTEXT(采掘1=MAX21 AND 采掘1>0,0-1,'①采掘'),COLORCYAN;
DRAWTEXT(制造1=MAX21 AND 制造1>0,0-1,'①制造'),COLORLIGRAY;
DRAWTEXT(食品1=MAX21 AND 食品1>0,0-1,'①食品'),COLORLIGRAY;
DRAWTEXT(纺织1=MAX21 AND 纺织1>0,0-1,'①纺织'),COLORBLUE;
DRAWTEXT(木材1=MAX21 AND 木材1>0,0-1,'①木材'),COLORBLUE;
DRAWTEXT(造纸1=MAX21 AND 造纸1>0,0-1,'①造纸'),COLORBLUE;
DRAWTEXT(石化1=MAX21 AND 石化1>0,0-1,'①石化'),COLORBLUE;
DRAWTEXT(电子1=MAX21 AND 电子1>0,0-1,'①电子'),COLORBROWN;
DRAWTEXT(金属1=MAX21 AND 金属1>0,0-1,'①金属'),COLORLIBLUE;
DRAWTEXT(机械1=MAX21 AND 机械1>0,0-1,'①机械'),COLORRED;
DRAWTEXT(医药1=MAX21 AND 医药1>0,0-1,'①医药'),COLORYELLOW;
DRAWTEXT(水电1=MAX21 AND 水电1>0,0-1,'①电力'),COLORYELLOW;
DRAWTEXT(建筑1=MAX21 AND 建筑1>0,0-1,'①建筑'),COLORWHITE;
DRAWTEXT(运输1=MAX21 AND 运输1>0,0-1,'①运输'),COLORLICYAN;
DRAWTEXT(IT业1=MAX21 AND IT业1>0,0-1,'①IT业'),COLORLICYAN;
DRAWTEXT(批零1=MAX21 AND 批零1>0,0-1,'①批零'),COLORLICYAN;
DRAWTEXT(金融1=MAX21 AND 金融1>0,0-1,'①金融'),COLORLIGREEN;
DRAWTEXT(地产1=MAX21 AND 地产1>0,0-1,'①地产'),COLORGREEN;
DRAWTEXT(服务1=MAX21 AND 服务1>0,0-1,'①服务'),COLORMAGENTA;
DRAWTEXT(传播1=MAX21 AND 传播1>0,0-1,'①传播'),COLORMAGENTA;
DRAWTEXT(农林1=MAXA20 AND 农林1>0,0-2,'②农林'),COLORCYAN;
DRAWTEXT(采掘1=MAXA20 AND 采掘1>0,0-2,'②采掘'),COLORCYAN;
DRAWTEXT(制造1=MAXA20 AND 制造1>0,0-2,'②制造'),COLORLIGRAY;
DRAWTEXT(食品1=MAXA20 AND 食品1>0,0-2,'②食品'),COLORLIGRAY;
DRAWTEXT(纺织1=MAXA20 AND 纺织1>0,0-2,'②纺织'),COLORBLUE;
DRAWTEXT(木材1=MAXA20 AND 木材1>0,0-2,'②木材'),COLORBLUE;
DRAWTEXT(造纸1=MAXA20 AND 造纸1>0,0-2,'②造纸'),COLORBLUE;
DRAWTEXT(石化1=MAXA20 AND 石化1>0,0-2,'②石化'),COLORBLUE;
DRAWTEXT(电子1=MAXA20 AND 电子1>0,0-2,'②电子'),COLORBROWN;
DRAWTEXT(金属1=MAXA20 AND 金属1>0,0-2,'②金属'),COLORLIBLUE;
DRAWTEXT(机械1=MAXA20 AND 机械1>0,0-2,'②机械'),COLORRED;
DRAWTEXT(医药1=MAXA20 AND 医药1>0,0-2,'②医药'),COLORYELLOW;
DRAWTEXT(水电1=MAXA20 AND 水电1>0,0-2,'②电力'),COLORYELLOW;
DRAWTEXT(建筑1=MAXA20 AND 建筑1>0,0-2,'②建筑'),COLORWHITE;
DRAWTEXT(运输1=MAXA20 AND 运输1>0,0-2,'②运输'),COLORLICYAN;
DRAWTEXT(IT业1=MAXA20 AND IT业1>0,0-2,'②IT业'),COLORLICYAN;
DRAWTEXT(批零1=MAXA20 AND 批零1>0,0-2,'②批零'),COLORLICYAN;
DRAWTEXT(金融1=MAXA20 AND 金融1>0,0-2,'②金融'),COLORLIGREEN;
DRAWTEXT(地产1=MAXA20 AND 地产1>0,0-2,'②地产'),COLORGREEN;
DRAWTEXT(服务1=MAXA20 AND 服务1>0,0-2,'②服务'),COLORMAGENTA;
DRAWTEXT(传播1=MAXA20 AND 传播1>0,0-2,'②传播'),COLORMAGENTA; |