新版大智慧【板块分析 】完美版
-
相关简介:★完美就完美在作为个股的附副隋时都能了解主要行业板块的情况★ 明天是非交易日不能建立自定指敖数,所以今升级。 保留原有的说明: 很高兴看见老杨回来和朋友们携手并肩,共同迎接美好的每一天。 特献上新版大智慧【板块分析】表示祝贺。 板块指数当天数据和K线图(历史数据)不配套是分析家变大智慧后一直成在 的毛病,自己又无法纠正。这里想到的办法用自定指数解决此问题。 这里只谈指数的建立、注意事项和公式的用法。分析就靠大家体验啦! 一,〈自定指数〉只用板块中〈行业板块〉从AA01到AA32顺序建立,一个不
-
文章来源:择股网作者:股海网发布时间:2009-06-03浏览次数:
★完美就完美在作为个股的附副隋时都能了解主要行业板块的情况★
明天是非交易日不能建立自定指敖数,所以今升级。
保留原有的说明:
很高兴看见老杨回来和朋友们携手并肩,共同迎接美好的每一天。
特献上新版大智慧【板块分析】表示祝贺。
板块指数当天数据和K线图(历史数据)不配套是分析家变大智慧后一直成在
的毛病,自己又无法纠正。这里想到的办法用自定指数解决此问题。
这里只谈指数的建立、注意事项和公式的用法。分析就靠大家体验啦!
一,〈自定指数〉只用板块中〈行业板块〉从AA01到AA32顺序建立,一个不
能错,一个也不能少。首先请除原有自定指数(若有只能建立在AA32后面)
用从板块批量新建指数方法建立行业板块中32个数。(整个过程不会超过
十分钟)。
二,〈自定指数〉只有在有交易日建立。假日不要刷新指数,更不能收盘。
(当然,有什么错误从新建立也花不了多少时间)。
三,公式用在指数,也可用在个股,不同的地方:在指数中均线和靠右边
的风向标自动显示当前主图的风向标和均线。个股则用参数K调整你需
要的板块。参数P为1时显示参数对照表。(看后要归零)。
四,风向标是以10日均线为基准的。有时当日指数是涨,当日的涨跌幅反
反而向下(即当日指数与10日均线距离减少,也说明涨速减慢。)
=========================================================
- {<辅助002> 引用公式}
- C1:CLOSE;
- O1:OPEN;
- H1:HIGH;
- L1:LOW;
- C2:REF(C1,1);
- A2:REF(AMOUNT,1);
- ===========================================
- {板块分析 DZH2}
- input:RN(10,1,100),K(31,1,32),P(0,0,1) ;
- IF K=1 then BKM:='保险';
- IF K=2 then BKM:='电力';
- IF K=3 then BKM:='电力设备';
- IF K=4 then BKM:='电器';
- IF K=5 then BKM:='电子信息';
- IF K=6 then BKM:='房地产';
- IF K=7 then BKM:='纺织服装';
- IF K=8 then BKM:='钢铁';
- IF K=9 then BKM:='工程建筑';
- IF K=10 then BKM:='供水供气';
- IF K=11 then BKM:='化工化纤';
- IF K=12 then BKM:='机械';
- IF K=13 then BKM:='计算机';
- IF K=14 then BKM:='建材';
- IF K=15 then BKM:='交通设施';
- IF K=16 then BKM:='教育传媒';
- IF K=17 then BKM:='旅游酒店';
- IF K=18 then BKM:='煤炭石油';
- IF K=19 then BKM:='酿酒食品';
- IF K=20 then BKM:='农林牧渔';
- IF K=21 then BKM:='其它行业';
- IF K=22 then BKM:='汽车类';
- IF K=23 then BKM:='券商';
- IF K=24 then BKM:='商业连锁';
- IF K=25 then BKM:='通信';
- IF K=26 then BKM:='外贸';
- IF K=27 then BKM:='医药';
- IF K=28 then BKM:='仪电仪表';
- IF K=29 then BKM:='银行类';
- IF K=30 then BKM:='有色金属';
- IF K=31 then BKM:='运输物流';
- IF K=32 then BKM:='造纸印刷';
- R1:=STKINDI('AA01','辅助002.C1');
- R2:=STKINDI('AA02','辅助002.C1');
- R3:=STKINDI('AA03','辅助002.C1');
- R4:=STKINDI('AA04','辅助002.C1');
- R5:=STKINDI('AA05','辅助002.C1');
- R6:=STKINDI('AA06','辅助002.C1');
- R7:=STKINDI('AA07','辅助002.C1');
- R8:=STKINDI('AA08','辅助002.C1');
- R9:=STKINDI('AA09','辅助002.C1');
- R10:=STKINDI('AA10','辅助002.C1');
- R11:=STKINDI('AA11','辅助002.C1');
- R12:=STKINDI('AA12','辅助002.C1');
- R13:=STKINDI('AA13','辅助002.C1');
- R14:=STKINDI('AA14','辅助002.C1');
- R15:=STKINDI('AA15','辅助002.C1');
- R16:=STKINDI('AA16','辅助002.C1');
- R17:=STKINDI('AA17','辅助002.C1');
- R18:=STKINDI('AA18','辅助002.C1');
- R19:=STKINDI('AA19','辅助002.C1');
- R20:=STKINDI('AA20','辅助002.C1');
- R21:=STKINDI('AA21','辅助002.C1');
- R22:=STKINDI('AA22','辅助002.C1');
- R23:=STKINDI('AA23','辅助002.C1');
- R24:=STKINDI('AA24','辅助002.C1');
- R25:=STKINDI('AA25','辅助002.C1');
- R26:=STKINDI('AA26','辅助002.C1');
- R27:=STKINDI('AA27','辅助002.C1');
- R28:=STKINDI('AA28','辅助002.C1');
- R29:=STKINDI('AA29','辅助002.C1');
- R30:=STKINDI('AA30','辅助002.C1');
- R31:=STKINDI('AA31','辅助002.C1');
- R32:=STKINDI('AA32','辅助002.C1');
- RR1:=(R1-REF(R1,1))/REF(R1,1)*100;
- RR2:=(R2-REF(R2,1))/REF(R2,1)*100;
- RR3:=(R3-REF(R3,1))/REF(R3,1)*100;
- RR4:=(R4-REF(R4,1))/REF(R4,1)*100;
- RR5:=(R5-REF(R5,1))/REF(R5,1)*100;
- RR6:=(R6-REF(R6,1))/REF(R6,1)*100;
- RR7:=(R7-REF(R7,1))/REF(R7,1)*100;
- RR8:=(R8-REF(R8,1))/REF(R8,1)*100;
- RR9:=(R9-REF(R9,1))/REF(R9,1)*100;
- RR10:=(R10-REF(R10,1))/REF(R10,1)*100;
- RR11:=(R11-REF(R11,1))/REF(R11,1)*100;
- RR12:=(R12-REF(R12,1))/REF(R12,1)*100;
- RR13:=(R13-REF(R13,1))/REF(R13,1)*100;
- RR14:=(R14-REF(R14,1))/REF(R14,1)*100;
- RR15:=(R15-REF(R15,1))/REF(R15,1)*100;
- RR16:=(R16-REF(R16,1))/REF(R16,1)*100;
- RR17:=(R17-REF(R17,1))/REF(R17,1)*100;
- RR18:=(R18-REF(R18,1))/REF(R18,1)*100;
- RR19:=(R19-REF(R19,1))/REF(R19,1)*100;
- RR20:=(R20-REF(R20,1))/REF(R20,1)*100;
- RR21:=(R21-REF(R21,1))/REF(R21,1)*100;
- RR22:=(R22-REF(R22,1))/REF(R22,1)*100;
- RR23:=(R23-REF(R23,1))/REF(R23,1)*100;
- RR24:=(R24-REF(R24,1))/REF(R24,1)*100;
- RR25:=(R25-REF(R25,1))/REF(R25,1)*100;
- RR26:=(R26-REF(R26,1))/REF(R26,1)*100;
- RR27:=(R27-REF(R27,1))/REF(R27,1)*100;
- RR28:=(R28-REF(R28,1))/REF(R28,1)*100;
- RR29:=(R29-REF(R29,1))/REF(R29,1)*100;
- RR30:=(R30-REF(R30,1))/REF(R30,1)*100;
- RR31:=(R31-REF(R31,1))/REF(R31,1)*100;
- RR32:=(R32-REF(R32,1))/REF(R32,1)*100;
- RR32:=(R32-REF(R32,1))/REF(R32,1)*100;
- AR1:MAX(RR1,RR2,RR3,RR4,RR5,RR6,RR7,RR8,RR9,RR10,RR11,RR12,RR13,RR14,RR15,RR16),LINETHICK0;
- AR2:MAX(RR17,RR18,RR19,RR20,RR21,RR22,RR23,RR24,RR25,RR26,RR27,RR28,RR29,RR30,RR31,RR32),LINETHICK0;
- ARR:=MAX(AR1,AR2);
- SR1:MIN(RR1,RR2,RR3,RR4,RR5,RR6,RR7,RR8,RR9,RR10,RR11,RR12,RR13,RR14,RR15,RR16),LINETHICK0;
- SR2:MIN(RR17,RR18,RR19,RR20,RR21,RR22,RR23,RR24,RR25,RR26,RR27,RR28,RR29,RR30,RR31,RR32),LINETHICK0;
- SRR:=MIN(SR1,SR2);
- RX:=NUMTOSTR(K+100 );
- KX:=STRRIGHT(RX,2);
- KKX:='AA'+KX;
- AKX:=STKINDI(KKX,'辅助002.C1');
- ARX:=IF(CATEGORY=0,(C-REF(C,1))/REF(C,1)*100,(AKX-REF(AKX,1))/REF(AKX,1)*100);
- if BARSTATUS=2 then begin;
- if RR2>=0 then T2:='↑'; ELSE T2:='↓';
- if RR5>=0 then T5:='↑'; ELSE T5:='↓';
- if RR6>=0 then T6:='↑'; ELSE T6:='↓';
- if RR8>=0 then T8:='↑'; ELSE T8:='↓';
- if RR9>=0 then T9:='↑'; ELSE T9:='↓';
- if RR12>=0 then T12:='↑'; ELSE T12:='↓';
- if RR14>=0 then T14:='↑'; ELSE T14:='↓';
- if RR18>=0 then T18:='↑'; ELSE T18:='↓';
- if RR20>=0 then T20:='↑'; ELSE T20:='↓';
- if RR22>=0 then T22:='↑'; ELSE T22:='↓';
- if RR25>=0 then T25:='↑'; ELSE T25:='↓';
- if RR27>=0 then T27:='↑'; ELSE T27:='↓';
- if RR29>=0 then T29:='↑'; ELSE T29:='↓';
- if RR30>=0 then T30:='↑'; ELSE T30:='↓';
- if ARX>=0 then TX:='↑';ELSE TX:='↓';
- END;
- BK1:=IF(ARR=RR1,1,IF(ARR=RR2,2,IF(ARR=RR3,3,IF(ARR=RR4,4,IF(ARR=RR5,5,IF(ARR=RR6,6
- ,IF(ARR=RR7,7,IF(ARR=RR8,8,IF(ARR=RR9,9,IF(ARR=RR10,10,IF(ARR=RR11,11,IF(ARR=RR12,12
- ,IF(ARR=RR13,13,IF(ARR=RR14,14,IF(ARR=RR15,15,IF(ARR=RR16,16,0))))))))))))))));
- BK2:=IF(ARR=RR17,17,IF(ARR=RR18,18,IF(ARR=RR19,19,IF(ARR=RR20,20,IF(ARR=RR21,21,IF(ARR=RR22,22
- ,IF(ARR=RR23,23,IF(ARR=RR24,24,IF(ARR=RR25,25,IF(ARR=RR26,26,IF(ARR=RR27,27
- ,IF(ARR=RR28,28,IF(ARR=RR29,29,IF(ARR=RR30,30,IF(ARR=RR31,31,IF(ARR=RR32,32
- ,0))))))))))))))));
- SK1:=IF(SRR=RR1,1,IF(SRR=RR2,2,IF(SRR=RR3,3,IF(SRR=RR4,4,IF(SRR=RR5,5,IF(SRR=RR6,6
- ,IF(SRR=RR7,7,IF(SRR=RR8,8,IF(SRR=RR9,9,IF(SRR=RR10,10,IF(SRR=RR11,11,IF(SRR=RR12,12
- ,IF(SRR=RR13,13,IF(SRR=RR14,14,IF(SRR=RR15,15,IF(SRR=RR16,16,0))))))))))))))));
- SK2:=IF(SRR=RR17,17,IF(SRR=RR18,18,IF(SRR=RR19,19,IF(SRR=RR20,20,IF(SRR=RR21,21,IF(SRR=RR22,22
- ,IF(SRR=RR23,23,IF(SRR=RR24,24,IF(SRR=RR25,25,IF(SRR=RR26,26,IF(SRR=RR27,27
- ,IF(SRR=RR28,28,IF(SRR=RR29,29,IF(SRR=RR30,30,IF(SRR=RR31,31,IF(SRR=RR32,32
- ,0))))))))))))))));
- BBK1:=MAX(BK2,BK1);
- BBK:=IF(BARSTATUS=2,BBK1,0);
- BKK1:=NUMTOSTR(BBK+100 );
- BKK:=STRRIGHT(BKK1,2);
- BKKK:='AA'+BKK;
- SBK1:=MAX(SK2,SK1);
- SBK:=IF(BARSTATUS=2,SBK1,0);
- SKK1:=NUMTOSTR(SBK+100 );
- SKK:=STRRIGHT(SKK1,2);
- SKKK:='AA'+SKK;
- IF BBK=1 then BBKM:='保险';
- IF BBK=2 then BBKM:='电力';
- IF BBK=3 then BBKM:='电力设备';
- IF BBK=4 then BBKM:='电器';
- IF BBK=5 then BBKM:='电子信息';
- IF BBK=6 then BBKM:='房地产';
- IF BBK=7 then BBKM:='纺织服装';
- IF BBK=8 then BBKM:='钢铁';
- IF BBK=9 then BBKM:='工程建筑';
- IF BBK=10 then BBKM:='供水供气';
- IF BBK=11 then BBKM:='化工化纤';
- IF BBK=12 then BBKM:='机械';
- IF BBK=13 then BBKM:='计算机';
- IF BBK=14 then BBKM:='建材';
- IF BBK=15 then BBKM:='交通设施';
- IF BBK=16 then BBKM:='教育传媒';
- IF BBK=17 then BBKM:='旅游酒店';
- IF BBK=18 then BBKM:='煤炭石油';
- IF BBK=19 then BBKM:='酿酒食品';
- IF BBK=20 then BBKM:='农林牧渔';
- IF BBK=21 then BBKM:='其它行业';
- IF BBK=22 then BBKM:='汽车类';
- IF BBK=23 then BBKM:='券商';
- IF BBK=24 then BBKM:='商业连锁';
- IF BBK=25 then BBKM:='通信';
- IF BBK=26 then BBKM:='外贸';
- IF BBK=27 then BBKM:='医药';
- IF BBK=28 then BBKM:='仪电仪表';
- IF BBK=29 then BBKM:='银行类';
- IF BBK=30 then BBKM:='有色金属';
- IF BBK=31 then BBKM:='运输物流';
- IF BBK=32 then BBKM:='造纸印刷';
- IF SBK=1 then SBKM:='保险';
- IF SBK=2 then SBKM:='电力';
- IF SBK=3 then SBKM:='电力设备';
- IF SBK=4 then SBKM:='电器';
- IF SBK=5 then SBKM:='电子信息';
- IF SBK=6 then SBKM:='房地产';
- IF SBK=7 then SBKM:='纺织服装';
- IF SBK=8 then SBKM:='钢铁';
- IF SBK=9 then SBKM:='工程建筑';
- IF SBK=10 then SBKM:='供水供气';
- IF SBK=11 then SBKM:='化工化纤';
- IF SBK=12 then SBKM:='机械';
- IF SBK=13 then SBKM:='计算机';
- IF SBK=14 then SBKM:='建材';
- IF SBK=15 then SBKM:='交通设施';
- IF SBK=16 then SBKM:='教育传媒';
- IF SBK=17 then SBKM:='旅游酒店';
- IF SBK=18 then SBKM:='煤炭石油';
- IF SBK=19 then SBKM:='酿酒食品';
- IF SBK=20 then SBKM:='农林牧渔';
- IF SBK=21 then SBKM:='其它行业';
- IF SBK=22 then SBKM:='汽车类';
- IF SBK=23 then SBKM:='券商';
- IF SBK=24 then SBKM:='商业连锁';
- IF SBK=25 then SBKM:='通信';
- IF SBK=26 then SBKM:='外贸';
- IF SBK=27 then SBKM:='医药';
- IF SBK=28 then SBKM:='仪电仪表';
- IF SBK=29 then SBKM:='银行类';
- IF SBK=30 then SBKM:='有色金属';
- IF SBK=31 then SBKM:='运输物流';
- IF SBK=32 then SBKM:='造纸印刷';
- VAR1:=STKINDI('AA02','辅助002.C1');
- VAR2:=STKINDI('AA05','辅助002.C1');
- VAR3:=STKINDI('AA06','辅助002.C1');
- VAR4:=STKINDI('AA08','辅助002.C1');
- VAR5:=STKINDI('AA09','辅助002.C1');
- VAR6:=STKINDI('AA12','辅助002.C1');
- VAR7:=STKINDI('AA14','辅助002.C1');
- VAR8:=STKINDI('AA18','辅助002.C1');
- VAR9:=STKINDI('AA20','辅助002.C1');
- VAR10:=STKINDI('AA22','辅助002.C1');
- VAR11:=STKINDI('AA25','辅助002.C1');
- VAR12:=STKINDI('AA27','辅助002.C1');
- VAR13:=STKINDI('AA29','辅助002.C1');
- VAR14:=STKINDI('AA30','辅助002.C1');
- KK1:=NUMTOSTR(K+100 );
- KK:=STRRIGHT(KK1,2);
- KKK:='AA'+KK;
- VAR15A:=STKINDI(KKK,'辅助002.C1');
- VAR15B:=C;
- VAR15:=IF(CATEGORY=0,VAR15B,VAR15A);
- TA:=(VAR15-REF(VAR15,1))/REF(VAR15,1)*100;
- var100:='K板块=:'+'1保险'+' 2 电力'+' 3电设'+' 4电器'+' 5电息'+' 6房地'
- +' 7纺织'+' 8钢铁'+' 9工程'+' 10供水'+' 11化工';
- var101:='12机械'+' 13计算'+' 14建材'+' 15交通'+' 16教育'
- +' 17旅游'+' 18煤炭'+' 19酿酒'+' 20农牧'+' 21其它';
- var102:='22汽车'+' 23券商'+' 24商业'+' 25通信'+' 26外贸'+' 27医药'+' 28仪电'
- +' 29银行'+' 30有色'+' 31运输'+' 32造纸';
- 电力:=SUM((VAR1/REF(VAR1,1)-1)*100,0)*10;
- 电息:=SUM((VAR2/REF(VAR2,1)-1)*100,0)*10;
- 房地:=SUM((VAR3/REF(VAR3,1)-1)*100,0)*10;
- 钢铁:=SUM((VAR4/REF(VAR4,1)-1)*100,0)*10;
- 工程:=SUM((VAR5/REF(VAR5,1)-1)*100,0)*10;
- 机械:=SUM((VAR6/REF(VAR6,1)-1)*100,0)*10;
- 建材:=SUM((VAR7/REF(VAR7,1)-1)*100,0)*10;
- 煤炭:=SUM((VAR8/REF(VAR8,1)-1)*100,0)*10;
- 农牧:=SUM((VAR9/REF(VAR9,1)-1)*100,0)*10;
- 汽车:=SUM((VAR10/REF(VAR10,1)-1)*100,0)*10;
- 通信:=SUM((VAR11/REF(VAR11,1)-1)*100,0)*10;
- 医药:=SUM((VAR12/REF(VAR12,1)-1)*100,0)*10;
- 银行:=SUM((VAR13/REF(VAR13,1)-1)*100,0)*10;
- 有色:=SUM((VAR14/REF(VAR14,1)-1)*100,0)*10;
- 运输:SUM((VAR15/REF(VAR15,1)-1)*100,0)*10,LINETHICK2,COLOR0000FF;
- MA3:MA(运输,3);
- MA10:MA(运输,10);
- MA20:MA(运输,20);
- DRAWTEXT(BARSTATUS=2 AND C<200,运输,BKM),COLOR0000FF;
- DRAWTEXT(BARSTATUS=2 AND C>200,运输,STKNAME),COLOR0000FF;
- VAR16:=MA(电力,RN);
- VAR17:=MA(电息,RN);
- VAR18:=MA(房地,RN);
- VAR19:=MA(钢铁,RN);
- VAR20:=MA(工程,RN);
- VAR21:=MA(机械,RN);
- VAR22:=MA(建材,RN);
- VAR23:=MA(煤炭,RN);
- VAR24:=MA(农牧,RN);
- VAR25:=MA(汽车,RN);
- VAR26:=MA(通信,RN);
- VAR27:=MA(医药,RN);
- VAR28:=MA(银行,RN);
- VAR29:=MA(有色,RN);
- VAR30:=MA(运输,RN);
- 电力A:=(电力-VAR16);
- 电力D:=REF(电力A,1);
- 电力C:=(电力A-电力D);
- 电息A:=(电息-VAR17);
- 电息D:=REF(电息A,1);
- 电息C:=(电息A-电息D);
- 房地A:=(房地-VAR18);
- 房地D:=REF(房地A,1);
- 房地C:=(房地A-房地D);
- 钢铁A:=(钢铁-VAR19);
- 钢铁D:=REF(钢铁A,1);
- 钢铁C:=(钢铁A-钢铁D);
- 工程A:=(工程-VAR20);
- 工程D:=REF(工程A,1);
- 工程C:=(工程A-工程D);
- 机械A:=(机械-VAR21);
- 机械D:=REF(机械A,1);
- 机械C:=(机械A-机械D);
- 建材A:=(建材-VAR22);
- 建材D:=REF(建材A,1);
- 建材C:=(建材A-建材D);
- 煤炭A:=(煤炭-VAR23);
- 煤炭D:=REF(煤炭A,1);
- 煤炭C:=(煤炭A-煤炭D);
- 农牧A:=(农牧-VAR24);
- 农牧D:=REF(农牧A,1);
- 农牧C:=(农牧A-农牧D);
- 汽车A:=(汽车-VAR25);
- 汽车D:=REF(汽车A,1);
- 汽车C:=(汽车A-汽车D);
- 通信A:=(通信-VAR26);
- 通信D:=REF(通信A,1);
- 通信C:=(通信A-通信D);
- 医药A:=(医药-VAR27);
- 医药D:=REF(医药A,1);
- 医药C:=(医药A-医药D);
- 银行A:=(银行-VAR28);
- 银行D:=REF(银行A,1);
- 银行C:=(银行A-银行D);
- 有色A:=(有色-VAR29);
- 有色D:=REF(有色A,1);
- 有色C:=(有色A-有色D);
- 运输A:=(运输-VAR30);
- 运输D:=REF(运输A,1);
- 运输C:=(运输A-运输D);
- DRAWRECTREL(45,500-电力C*5,75,500,RGB(55,55,55));
- DRAWRECTREL(50,500-电力A*5,70,500,RGB(255,255,0));
- DRAWRECTREL(55,500-电力D*5,65,500,RGB(255,0,0));
- DRAWRECTREL(95,500-电息C*5,125,500,RGB(55,55,55));
- DRAWRECTREL(100,500-电息A*5,120,500,RGB(255,255,0));
- DRAWRECTREL(105,500-电息D*5,115,500,RGB(255,0,0));
- DRAWRECTREL(145,500-房地C*5,175,500,RGB(55,55,55));
- DRAWRECTREL(150,500-房地A*5,170,500,RGB(255,255,0));
- DRAWRECTREL(155,500-房地D*5,165,500,RGB(255,0,0));
- DRAWRECTREL(195,500-钢铁C*5,225,500,RGB(55,55,55));
- DRAWRECTREL(200,500-钢铁A*5,220,500,RGB(255,255,0));
- DRAWRECTREL(205,500-钢铁D*5,215,500,RGB(255,0,0));
- DRAWRECTREL(245,500-工程C*5,275,500,RGB(55,55,55));
- DRAWRECTREL(250,500-工程A*5,270,500,RGB(255,255,0));
- DRAWRECTREL(255,500-工程D*5,265,500,RGB(255,0,0));
- DRAWRECTREL(295,500-机械C*5,325,500,RGB(55,55,55));
- DRAWRECTREL(300,500-机械A*5,320,500,RGB(255,255,0));
- DRAWRECTREL(305,500-机械D*5,315,500,RGB(255,0,0));
- DRAWRECTREL(345,500-建材C*5,375,500,RGB(55,55,55));
- DRAWRECTREL(350,500-建材A*5,370,500,RGB(255,255,0));
- DRAWRECTREL(355,500-建材D*5,365,500,RGB(255,0,0));
- DRAWRECTREL(395,500-煤炭C*5,425,500,RGB(55,55,55));
- DRAWRECTREL(400,500-煤炭A*5,420,500,RGB(255,255,0));
- DRAWRECTREL(405,500-煤炭D*5,415,500,RGB(255,0,0));
- DRAWRECTREL(445,500-农牧C*5,475,500,RGB(55,55,55));
- DRAWRECTREL(450,500-农牧A*5,470,500,RGB(255,255,0));
- DRAWRECTREL(455,500-农牧D*5,465,500,RGB(255,0,0));
- DRAWRECTREL(495,500-汽车C*5,525,500,RGB(55,55,55));
- DRAWRECTREL(500,500-汽车A*5,520,500,RGB(255,255,0));
- DRAWRECTREL(505,500-汽车D*5,515,500,RGB(255,0,0));
- DRAWRECTREL(545,500-通信C*5,575,500,RGB(55,55,55));
- DRAWRECTREL(550,500-通信A*5,570,500,RGB(255,255,0));
- DRAWRECTREL(555,500-通信D*5,565,500,RGB(255,0,0));
- DRAWRECTREL(595,500-医药C*5,625,500,RGB(55,55,55));
- DRAWRECTREL(600,500-医药A*5,620,500,RGB(255,255,0));
- DRAWRECTREL(605,500-医药D*5,615,500,RGB(255,0,0));
- DRAWRECTREL(645,500-银行C*5,675,500,RGB(55,55,55));
- DRAWRECTREL(650,500-银行A*5,670,500,RGB(255,255,0));
- DRAWRECTREL(655,500-银行D*5,665,500,RGB(255,0,0));
- DRAWRECTREL(695,500-有色C*5,725,500,RGB(55,55,55));
- DRAWRECTREL(700,500-有色A*5,720,500,RGB(255,255,0));
- DRAWRECTREL(705,500-有色D*5,715,500,RGB(255,0,0));
- DRAWRECTREL(745,500-运输C*5,775,500,RGB(55,55,55));
- DRAWRECTREL(750,500-运输A*5,770,500,RGB(255,255,0));
- DRAWRECTREL(755,500-运输D*5,765,500,RGB(255,0,0));
- DRAWTEXTREL(45,900,'电力'),COLOR00FFFF;
- DRAWTEXTREL(95,900,'电息'),COLOR00FFFF;
- DRAWTEXTREL(145,900,'房地'),COLOR00FFFF;
- DRAWTEXTREL(195,900,'钢铁'),COLOR00FFFF;
- DRAWTEXTREL(245,900,'工程'),COLOR00FFFF;
- DRAWTEXTREL(295,900,'机械'),COLOR00FFFF;
- DRAWTEXTREL(345,900,'建材'),COLOR00FFFF;
- DRAWTEXTREL(395,900,'煤炭'),COLOR00FFFF;
- DRAWTEXTREL(445,900,'农牧'),COLOR00FFFF;
- DRAWTEXTREL(495,900,'汽车'),COLOR00FFFF;
- DRAWTEXTREL(545,900,'通信'),COLOR00FFFF;
- DRAWTEXTREL(595,900,'医药'),COLOR00FFFF;
- DRAWTEXTREL(645,900,'银行'),COLOR00FFFF;
- DRAWTEXTREL(695,900,'有色'),COLOR00FFFF;
- if CATEGORY=0 then
- DRAWTEXTREL(745,900,STKNAME),COLOR0000FF;
- ELSE
- DRAWTEXTREL(745,900,BKM);
- DRAWTEXTREL(45,800,'AA02'+T2),COLOR00FFFF;
- DRAWTEXTREL(95,800,'AA05'+T5),COLOR00FFFF;
- DRAWTEXTREL(145,800,'AA06'+T6),COLOR00FFFF;
- DRAWTEXTREL(195,800,'AA08'+T8),COLOR00FFFF;
- DRAWTEXTREL(245,800,'AA09'+T9),COLOR00FFFF;
- DRAWTEXTREL(295,800,'AA12'+T12),COLOR00FFFF;
- DRAWTEXTREL(345,800,'AA14'+T14),COLOR00FFFF;
- DRAWTEXTREL(395,800,'AA18'+T18),COLOR00FFFF;
- DRAWTEXTREL(445,800,'AA20'+T20),COLOR00FFFF;
- DRAWTEXTREL(495,800,'AA22'+T22),COLOR00FFFF;
- DRAWTEXTREL(545,800,'A25'+T25),COLOR00FFFF;
- DRAWTEXTREL(595,800,'AA27'+T27),COLOR00FFFF;
- DRAWTEXTREL(645,800,'AA29'+T29),COLOR00FFFF;
- DRAWTEXTREL(695,800,'AA30'+T30),COLOR00FFFF;
- if CATEGORY=0 then
- DRAWTEXTREL(745,800,STKLABEL+TX),COLOR0000FF;
- ELSE
- DRAWTEXTREL(745,800,KKK+TX);
- IF P=1 then begin
- DRAWRECTREL(00,20,950,850,RGB(50,50,50));
- DRAWTEXTREL(400,400,'参数对照表'),LINETHICK4,ColorFF00FF;
- DRAWTEXTREL(20,30,var100),ColorFFFFFF;
- DRAWTEXTREL(20,230,var101),ColorFFFFFF;
- DRAWTEXTREL(20,700,var102),ColorFFFFFF;
- END;
- DRAWTEXTREL(800,800,' 领跌:'+SKKK+' '+SBKM),ColorFFFF00;
- DRAWTEXTREL(800,900,' 领涨:'+BKKK+' '+BBKM),ColorFFFFFF;
|