股市风帆
-
相关简介:这是编公式中得的付加产品。 好处就在於想知道当天的领涨领跌快速、方便。 C/C++ Code 复制内容到剪贴板 {股市风帆参数RN:1,100,10} VAR1:=( 399139$C ); VAR2:=( 399190$C ); VAR3:=( 399132$C ); VAR4:=( 399150$C ); VAR5:=( 399138$C ); VAR6:=( 399200$C&q
-
文章来源:择股网作者:股海网发布时间:2009-08-20浏览次数:
这是编公式中得的付加产品。
好处就在於想知道当天的领涨领跌快速、方便。
C/C++ Code复制内容到剪贴板
- {股市风帆 参数 RN:1,100,10 }
- VAR1:=("399139$C");
- VAR2:=("399190$C");
- VAR3:=("399132$C");
- VAR4:=("399150$C");
- VAR5:=("399138$C");
- VAR6:=("399200$C");
- VAR7:=("399110$C");
- VAR8:=("399136$C");
- VAR9:=("399135$C");
- VAR10:=("399130$C");
- VAR11:=("399160$C");
- VAR12:=("999999$C");
- VAR13:=("399137$C");
- 医药:=REF(SUM((VAR1/REF(VAR1,1)-1)*100,0)*10,1);
- 金融:=REF(SUM((VAR2/REF(VAR2,1)-1)*100,0)*10,1);
- 纺织:=REF(SUM((VAR3/REF(VAR3,1)-1)*100,0)*10,1);
- 建筑:=REF(SUM((VAR4/REF(VAR4,1)-1)*100,0)*10,1);
- 机械:=REF(SUM((VAR5/REF(VAR5,1)-1)*100,0)*10,1);
- 地产:=REF(SUM((VAR6/REF(VAR6,1)-1)*100,0)*10,1);
- 农林:=REF(SUM((VAR7/REF(VAR7,1)-1)*100,0)*10,1);
- 电子:=REF(SUM((VAR8/REF(VAR8,1)-1)*100,0)*10,1);
- 石化:=REF(SUM((VAR9/REF(VAR9,1)-1)*100,0)*10,1);
- 制造:=REF(SUM((VAR10/REF(VAR10,1)-1)*100,0)*10,1);
- 运输:=REF(SUM((VAR11/REF(VAR11,1)-1)*100,0)*10,1);
- 上证:=REF(SUM((VAR12/REF(VAR12,1)-1)*100,0)*10,1);
- 金属:=REF(SUM((VAR13/REF(VAR13,1)-1)*100,0)*10,1);
- 医药A:=SUM((VAR1/REF(VAR1,1)-1)*100,0)*10;
- 金融A:=SUM((VAR2/REF(VAR2,1)-1)*100,0)*10;
- 纺织A:=SUM((VAR3/REF(VAR3,1)-1)*100,0)*10;
- 建筑A:=SUM((VAR4/REF(VAR4,1)-1)*100,0)*10;
- 机械A:=SUM((VAR5/REF(VAR5,1)-1)*100,0)*10;
- 地产A:=SUM((VAR6/REF(VAR6,1)-1)*100,0)*10;
- 农林A:=SUM((VAR7/REF(VAR7,1)-1)*100,0)*10;
- 电子A:=SUM((VAR8/REF(VAR8,1)-1)*100,0)*10;
- 石化A:=SUM((VAR9/REF(VAR9,1)-1)*100,0)*10;
- 制造A:=SUM((VAR10/REF(VAR10,1)-1)*100,0)*10;
- 运输A:=SUM((VAR11/REF(VAR11,1)-1)*100,0)*10;
- 上证A:=SUM((VAR12/REF(VAR12,1)-1)*100,0)*10;
- 金属A:=SUM((VAR13/REF(VAR13,1)-1)*100,0)*10;
- AVAR17:=CONST(MA(医药A,RN));
- AVAR18:=CONST(MA(金融A,RN));
- AVAR19:=CONST(MA(纺织A,RN));
- AVAR20:=CONST(MA(建筑A,RN));
- AVAR21:=CONST(MA(机械A,RN));
- AVAR22:=CONST(MA(地产A,RN));
- AVAR23:=CONST(MA(农林A,RN));
- AVAR24:=CONST(MA(电子A,RN));
- AVAR25:=CONST(MA(石化A,RN));
- AVAR26:=CONST(MA(制造A,RN));
- AVAR27:=CONST(MA(运输A,RN));
- AVAR28:=CONST(MA(上证A,RN));
- AVAR29:=CONST(MA(金属A,RN));
- VAR17:=CONST(MA(医药,RN));
- VAR18:=CONST(MA(金融,RN));
- VAR19:=CONST(MA(纺织,RN));
- VAR20:=CONST(MA(建筑,RN));
- VAR21:=CONST(MA(机械,RN));
- VAR22:=CONST(MA(地产,RN));
- VAR23:=CONST(MA(农林,RN));
- VAR24:=CONST(MA(电子,RN));
- VAR25:=CONST(MA(石化,RN));
- VAR26:=CONST(MA(制造,RN));
- VAR27:=CONST(MA(运输,RN));
- VAR28:=CONST(MA(上证,RN));
- VAR29:=CONST(MA(金属,RN));
- P1:=IF(BARSLAST(CURRBARSCOUNT=4+1),1,0);
- P2:=IF(BARSLAST(CURRBARSCOUNT=6+2),1,0);
- P3:=IF(BARSLAST(CURRBARSCOUNT=8+3),1,0);
- P4:=IF(BARSLAST(CURRBARSCOUNT=10+4),1,0);
- P5:=IF(BARSLAST(CURRBARSCOUNT=12+5),1,0);
- P6:=IF(BARSLAST(CURRBARSCOUNT=14+6),1,0);
- P7:=IF(BARSLAST(CURRBARSCOUNT=16+7),1,0);
- P8:=IF(BARSLAST(CURRBARSCOUNT=18+8),1,0);
- P9:=IF(BARSLAST(CURRBARSCOUNT=20+9),1,0);
- P10:=IF(BARSLAST(CURRBARSCOUNT=22+10),1,0);
- P11:=IF(BARSLAST(CURRBARSCOUNT=24+11),1,0);
- P12:=IF(BARSLAST(CURRBARSCOUNT=26+12),1,0);
- P13:=IF(BARSLAST(CURRBARSCOUNT=28+13),1,0);
- P14:=IF(BARSLAST(CURRBARSCOUNT=2),1,0);
- 医药B:=(CONST(医药A)-(AVAR17))-(CONST(医药)-(VAR17));
- 金融B:=(CONST(金融A)-(AVAR18))-(CONST(金融)-(VAR18));
- 纺织B:=(CONST(纺织A)-(AVAR19))-(CONST(纺织)-(VAR19));
- 建筑B:=(CONST(建筑A)-(AVAR20))-(CONST(建筑)-(VAR20));
- 机械B:=(CONST(机械A)-(AVAR21))-(CONST(机械)-(VAR21));
- 地产B:=(CONST(地产A)-(AVAR22))-(CONST(地产)-(VAR22));
- 农林B:=(CONST(农林A)-(AVAR23))-(CONST(农林)-(VAR23));
- 电子B:=(CONST(电子A)-(AVAR24))-(CONST(电子)-(VAR24));
- 石化B:=(CONST(石化A)-(AVAR25))-(CONST(石化)-(VAR25));
- 制造B:=(CONST(制造A)-(AVAR26))-(CONST(制造)-(VAR26));
- 运输B:=(CONST(运输A)-(AVAR27))-(CONST(运输)-(VAR27));
- 上证B:=(CONST(上证A)-(AVAR28))-(CONST(上证)-(VAR28));
- 金属B:=(CONST(金属A)-(AVAR29))-(CONST(金属)-(VAR29));
- STICKLINE(医药,0,IF(P2-P1,CONST(医药B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(金融,0,IF(P3-P2,CONST(金融B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(纺织,0,IF(P4-P3,CONST(纺织B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(建筑,0,IF(P5-P4,CONST(建筑B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(机械,0,IF(P6-P5,CONST(机械B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(地产,0,IF(P7-P6,CONST(地产B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(农林,0,IF(P8-P7,CONST(农林B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(电子,0,IF(P9-P8,CONST(电子B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(石化,0,IF(P10-P9,CONST(石化B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(制造,0,IF(P11-P10,CONST(制造B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(运输,0,IF(P12-P11,CONST(运输B),DRAWNULL),8,0),COLOR999999;
- {STICKLINE(上证,0,IF(P1-P14,CONST(上证B),DRAWNULL),8,0),COLOR999999;}
- STICKLINE(金属,0,IF(P13-P12,CONST(金属B),DRAWNULL),8,0),COLOR999999;
- STICKLINE(医药,0,IF(P2-P1,CONST(医药A)-(AVAR17),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(金融,0,IF(P3-P2,CONST(金融A)-(AVAR18),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(纺织,0,IF(P4-P3,CONST(纺织A)-(AVAR19),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(建筑,0,IF(P5-P4,CONST(建筑A)-(AVAR20),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(机械,0,IF(P6-P5,CONST(机械A)-(AVAR21),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(地产,0,IF(P7-P6,CONST(地产A)-(AVAR22),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(农林,0,IF(P8-P7,CONST(农林A)-(AVAR23),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(电子,0,IF(P9-P8,CONST(电子A)-(AVAR24),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(石化,0,IF(P10-P9,CONST(石化A)-(AVAR25),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(制造,0,IF(P11-P10,CONST(制造A)-(AVAR26),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(运输,0,IF(P12-P11,CONST(运输A)-(AVAR27),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(上证,0,IF(P1-P14,CONST(上证A)-(AVAR28),DRAWNULL),6.5,-1),COLORFF00FF;
- STICKLINE(金属,0,IF(P13-P12,CONST(金属A)-(AVAR29),DRAWNULL),6.5,-2),COLORFF00FF;
- STICKLINE(医药,0,IF(P2-P1,CONST(医药)-(VAR17),DRAWNULL),4,0),COLORFF00FF;
- STICKLINE(金融,0,IF(P3-P2,CONST(金融)-(VAR18),DRAWNULL),4,0),COLORFF00FF;
- STICKLINE(纺织,0,IF(P4-P3,CONST(纺织)-(VAR19),DRAWNULL),4,0),COLORFF00FF;
- STICKLINE(建筑,0,IF(P5-P4,CONST(建筑)-(VAR20),DRAWNULL),4,0),COLORFF00FF;
- STICKLINE(机械,0,IF(P6-P5,CONST(机械)-(VAR21),DRAWNULL),4,0),COLORFF00FF;
- STICKLINE(地产,0,IF(P7-P6,CONST(地产)-(VAR22),DRAWNULL),4,0),COLORFF00FF;
- STICKLINE(农林,0,IF(P8-P7,CONST(农林)-(VAR23),DRAWNULL),4,0),COLORFF00FF;
- STICKLINE(电子,0,IF(P9-P8,CONST(电子)-(VAR24),DRAWNULL),4,0),COLORFF00FF;
- STICKLINE(石化,0,IF(P10-P9,CONST(石化)-(VAR25),DRAWNULL),4,0),COLORFF00FF;
- STICKLINE(制造,0,IF(P11-P10,CONST(制造)-(VAR26),DRAWNULL),4,0),COLORFF00FF;
- STICKLINE(运输,0,IF(P12-P11,CONST(运输)-(VAR27),DRAWNULL),4,0),COLORFF00FF;
- {STICKLINE(上证,0,IF(P1-P14,CONST(上证)-(VAR28),DRAWNULL),4,0),COLORFF00FF;}
- STICKLINE(金属,0,IF(P13-P12,CONST(金属)-(VAR29),DRAWNULL),4,0),COLORFF00FF;
- DRAWTEXT(P2-P1,-2,' 医药'),COLORYELLOW;
- DRAWTEXT(P3-P2,-2,' 金融'),COLORYELLOW;
- DRAWTEXT(P4-P3,-2,' 纺织'),COLORYELLOW;
- DRAWTEXT(P5-P4,-2,' 建筑'),COLORYELLOW;
- DRAWTEXT(P6-P5,-2,' 机械'),COLORYELLOW;
- DRAWTEXT(P7-P6,-2,' 地产'),COLORYELLOW;
- DRAWTEXT(P8-P7,-2,' 农林'),COLORYELLOW;
- DRAWTEXT(P9-P8,-2,' 电子'),COLORYELLOW;
- DRAWTEXT(P10-P9,-2,' 石化'),COLORYELLOW;
- DRAWTEXT(P11-P10,-2,' 制造'),COLORYELLOW;
- DRAWTEXT(P12-P11,-2,' 运输'),COLORYELLOW;
- DRAWTEXT(P1-P14,-2,' 上证'),COLORYELLOW;
- DRAWTEXT(P13-P12,-2,' 金属'),COLORYELLOW;
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:通达信随时见底源码公式
下一篇:有提示买卖点,有趋势,有波段,但是没有未来函数