软件名称:[B]一线炒股(源码 贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:20.0 KB
官方主页:Home Page
更新时间:2011-04-13 04:31:25
软件简介:
{一线抄月殳}
{叠加大盘线}
TC:=STRCMP(STRLEFT(MARKETLABEL,2),'SZ');
DPSH:="SH000001$CLOSE"/HHV(STKINDI('SH000001','分超引用.昨收#DAY'),0);
DPSZ:="399001$CLOSE"/HHV(STKINDI('399001','分超引用.昨收#DAY'),0);
DPC:=IF(INBLOCK('A股板块'),DYNAINFO(3)*IF(TC=0,DPSZ,DPSH),C);
POLYLINE(C>0,DPC),LINETHICK1,LAYER0,COLORFF00FF;
最新:C,LINETHICK0,PRECIS2,LAYER0,COLORWHITE;
AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
BB:=BETWEEN(C/AA,C+H,C-H);
均线:IF(BB=0,MA(C,BARSCOUNT(C)),AA),COLOR00FFFF,LINETHICK1,PRECIS1;
超级线:EMA(C,N),LINETHICK2,COLOR00FF00;
PARTLINE(超级线,超级线>REF(超级线,1),RGB(255,0,0)),LINETHICK2;
STICKLINE(c>=o and o<>0,HIGH,LOW,0.5,0),color0000CD;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,8,0),color070084;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,7,0),color0000A3;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,6,0),color0000B7;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,5,0),color0000CD;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,4,0),color0000E9;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,2,0),color0754E9;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,0.5,0),Color5555FF;
STICKLINE(c<o and o<>0,HIGH,LOW,0.5,0),colorFFBE00;
STICKLINE(CLOSE<OPEN and OPEN<>0,HIGH,LOW,0.5,0),colorFFBE00;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,8,0),ColorCA6500;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,7,0),ColorE17100;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,6,0),ColorF27900;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,5,0),ColorFF850B;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,4,0),ColorFF9326;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,2,0),ColorFFA851;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,0.5,0),colorFFFF00;
{14}
TODAY:="ddx.ddx"=0;{判断是否有正版数据}
TODAY1:="LXDDX.DDX";{判断是否有理想数据}
{比例}
主单买:=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(1,2),SELFDATA('特大买入')+SELFDATA('大单买入')),bigorder(1,2));
主单卖:=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(2,2),SELFDATA('特大卖出')+SELFDATA('大单卖出')),bigorder(2,2));
特单买:=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(1,3),SELFDATA('特大买入')),bigorder(1,3));
特单卖:=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(2,3),SELFDATA('特大卖出')),bigorder(2,3));
大单买:=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(1,2)-"DDEDATA@BIGORDER"(1,3)),SELFDATA('大单买入')),(bigorder(1,2)-bigorder(1,3)));
大单卖:=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(2,2)-"DDEDATA@BIGORDER"(2,3)),SELFDATA('大单卖出')),(bigorder(2,2)-bigorder(2,3)));
中单买:=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(1,1)-"DDEDATA@BIGORDER"(1,2)),SELFDATA('中单买入')),(bigorder(1,1)-bigorder(1,2)));
中单卖:=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(2,1)-"DDEDATA@BIGORDER"(2,2)),SELFDATA('中单卖出')),(bigorder(2,1)-bigorder(2,2)));
散单买:=IF(TODAY,IF(TODAY1,1-("DDEDATA@BIGORDER"(1,1)),1-(SELFDATA('特大买入')+SELFDATA('大单买入')+SELFDATA('中单买入'))),1-(bigorder(1,1)));
散单卖:=IF(TODAY,IF(TODAY1,1-("DDEDATA@BIGORDER"(2,1)),1-(SELFDATA('特大卖出')+SELFDATA('大单卖出')+SELFDATA('中单卖出'))),1-(bigorder(2,1)));
{28}
主力买入:=SUM((AMOUNT*主单买)/10000,1);
主力买出:=SUM((AMOUNT*主单卖)/10000,1);
主净:主力买入-主力买出,LINETHICK0,PRECIS2,COLOR00FFFF;
超大买入:=SUM((AMOUNT*特单买)/10000,1);
超大卖出:=SUM((AMOUNT*特单卖)/10000,1);
超净:超大买入-超大卖出,LINETHICK0,PRECIS2,COLOR0000FF;
大单买入:=SUM((AMOUNT*大单买)/10000,1);
大单卖出:=SUM((AMOUNT*大单卖)/10000,1);
大净:大单买入-大单卖出,LINETHICK0,PRECIS2,COLORFFFF00;
中单买入:=SUM((AMOUNT*中单买)/10000,1);
中单卖出:=SUM((AMOUNT*中单卖)/10000,1);
中净:中单买入-中单卖出,LINETHICK0,PRECIS2,COLOR00FF00;
散单买入:=SUM((AMOUNT*散单买)/10000,1);
散单卖出:=SUM((AMOUNT*散单卖)/10000,1);
散净:散单买入-散单卖出,LINETHICK0,PRECIS2,COLOR00FF00;
外盘:=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;
内盘:=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;
主动率:=(外盘-内盘)/(内盘+外盘)*100;
单数比:=DYNAINFO(92)/DYNAINFO(91);
通吃率:=((DYNAINFO(95)+DYNAINFO(94))-(DYNAINFO(98)+DYNAINFO(97)))*VOL/VOL*100;
DRAWTEXTABS(440,5,'主动率:'+ NUMTOSTRN(主动率,2)+' 单数比:'+ NUMTOSTRN(单数比,2)+' 通吃率:'+ NUMTOSTRN(通吃率,2)),COLOR00FFFF;
DRAWTEXTABS(110,5,'上涨家数:'+NUMTOSTRN(DYNAINFO(69),0)+'家'),COLOR0000FF;
DRAWTEXTABS(220,5,'平盘家数:'+NUMTOSTRN(DYNAINFO(71),0)+'家'),COLORFFFFFF;
DRAWTEXTABS(330,5,'下跌家数:'+NUMTOSTRN(DYNAINFO(70),0)+'家'),COLOR00FF00;
{画柱图};
最大值:=400/(MAX(主力买入,主力买出,超大买入,超大卖出,大单买入,大单卖出,中单买入,中单卖出,散单买入,散单卖出,散净,中净,大净,超净,主净));
主力买:=600-(主力买入*最大值);
主力卖:=600-(主力买出*最大值);
超大买:=600-(超大买入*最大值);
超大卖:=600-(超大卖出*最大值);
大户买:=600-(大单买入*最大值);
大户卖:=600-(大单卖出*最大值);
中户买:=600-(中单买入*最大值);
中户卖:=600-(中单卖出*最大值);
散户买:=600-(散单买入*最大值);
散户卖:=600-(散单卖出*最大值);
散户净买:=600-(ABS(散净)*最大值);
中户净买:=600-(ABS(中净)*最大值);
大户净买:=600-(ABS(大净)*最大值);
超大净买:=600-(ABS(超净)*最大值);
主力净买:=600-(ABS(主净)*最大值);
{各单增减比例显示}
量比:=(VOL/CAPITAL)*100;{%}
ZLB:=主单买*量比;
ZLS:=主单卖*量比;
主增:=ZLB-ZLS;
TDB:=特单买*量比;
TDS:=特单卖*量比;
超增:=TDB-TDS;
DDB:=大单买*量比;
DDS:=大单卖*量比;
大增:=DDB-DDS;
ZDB:=中单买*量比;
ZDS:=中单卖*量比;
中增:=ZDB-ZDS;
XDB:=散单买*量比;
XDS:=散单卖*量比;
散增:=XDB-XDS;
DRAWRECTREL(330,主力买,350,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(350,主力卖,370,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(370,主力净买,390,610,(IF((主净 >= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;
DRAWRECTREL(445,超大买,465,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(465,超大卖,485,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(485,超大净买,505,610,(IF((超净 >= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;
DRAWRECTREL(560,大户买,580,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(580,大户卖,600,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(600,大户净买,620,610,(IF((大净 >= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;
DRAWRECTREL(675,中户买,695,610,RGB(200,0,0)),COLOR000000,LAYER5;
DRAWRECTREL(695,中户卖,715,610,RGB(0,200,0)),COLOR000000,LAYER5;
DRAWRECTREL(715,中户净买,735,610,(IF((中净 >= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;
DRAWRECTREL
[url=http://www.70822.com/soft/sort013/sort03/down-32641.html]一线炒股(源码 贴图)[/url]