{一線(xiàn)炒股}
{疊加大盤(pán)線(xiàn)}
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);
均線(xiàn):IF(BB=0,MA(C,BARSCOUNT(C)),AA),COLOR00FFFF,LINETHICK1,PRECIS1;
超級線(xiàn):EMA(C,N),LINETHICK2,COLOR00FF00;
PARTLINE(超級線(xiàn),超級線(xiàn)》REF(超級線(xiàn),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”;{判斷是否有理想數據}
{比例}
主單買(mǎi):=IF(TODAY,IF(TODAY1,“DDEDATA@BIGORDER”(1,2),SELFDATA(‘特大買(mǎi)入’)+SELFDATA(‘大單買(mǎi)入’)),bigorder(1,2));
主單賣(mài):=IF(TODAY,IF(TODAY1,“DDEDATA@BIGORDER”(2,2),SELFDATA(‘特大賣(mài)出’)+SELFDATA(‘大單賣(mài)出’)),bigorder(2,2));
特單買(mǎi):=IF(TODAY,IF(TODAY1,“DDEDATA@BIGORDER”(1,3),SELFDATA(‘特大買(mǎi)入’)),bigorder(1,3));
特單賣(mài):=IF(TODAY,IF(TODAY1,“DDEDATA@BIGORDER”(2,3),SELFDATA(‘特大賣(mài)出’)),bigorder(2,3));
大單買(mǎi):=IF(TODAY,IF(TODAY1,(“DDEDATA@BIGORDER”(1,2)-“DDEDATA@BIGORDER”(1,3)),SELFDATA(‘大單買(mǎi)入’)),(bigorder(1,2)-bigorder(1,3)));
大單賣(mài):=IF(TODAY,IF(TODAY1,(“DDEDATA@BIGORDER”(2,2)-“DDEDATA@BIGORDER”(2,3)),SELFDATA(‘大單賣(mài)出’)),(bigorder(2,2)-bigorder(2,3)));
中單買(mǎi):=IF(TODAY,IF(TODAY1,(“DDEDATA@BIGORDER”(1,1)-“DDEDATA@BIGORDER”(1,2)),SELFDATA(‘中單買(mǎi)入’)),(bigorder(1,1)-bigorder(1,2)));
中單賣(mài):=IF(TODAY,IF(TODAY1,(“DDEDATA@BIGORDER”(2,1)-“DDEDATA@BIGORDER”(2,2)),SELFDATA(‘中單賣(mài)出’)),(bigorder(2,1)-bigorder(2,2)));
散單買(mǎi):=IF(TODAY,IF(TODAY1,1-(“DDEDATA@BIGORDER”(1,1)),1-(SELFDATA(‘特大買(mǎi)入’)+SELFDATA(‘大單買(mǎi)入’)+SELFDATA(‘中單買(mǎi)入’))),1-(bigorder(1,1)));
散單賣(mài):=IF(TODAY,IF(TODAY1,1-(“DDEDATA@BIGORDER”(2,1)),1-(SELFDATA(‘特大賣(mài)出’)+SELFDATA(‘大單賣(mài)出’)+SELFDATA(‘中單賣(mài)出’))),1-(bigorder(2,1)));
{28}
主力買(mǎi)入:=SUM((AMOUNT*主單買(mǎi))/10000,1);
主力買(mǎi)出:=SUM((AMOUNT*主單賣(mài))/10000,1);
主凈:主力買(mǎi)入-主力買(mǎi)出,LINETHICK0,PRECIS2,COLOR00FFFF;
超大買(mǎi)入:=SUM((AMOUNT*特單買(mǎi))/10000,1);
超大賣(mài)出:=SUM((AMOUNT*特單賣(mài))/10000,1);
超凈:超大買(mǎi)入-超大賣(mài)出,LINETHICK0,PRECIS2,COLOR0000FF;
大單買(mǎi)入:=SUM((AMOUNT*大單買(mǎi))/10000,1);
大單賣(mài)出:=SUM((AMOUNT*大單賣(mài))/10000,1);
大凈:大單買(mǎi)入-大單賣(mài)出,LINETHICK0,PRECIS2,COLORFFFF00;
中單買(mǎi)入:=SUM((AMOUNT*中單買(mǎi))/10000,1);
中單賣(mài)出:=SUM((AMOUNT*中單賣(mài))/10000,1);
中凈:中單買(mǎi)入-中單賣(mài)出,LINETHICK0,PRECIS2,COLOR00FF00;
散單買(mǎi)入:=SUM((AMOUNT*散單買(mǎi))/10000,1);
散單賣(mài)出:=SUM((AMOUNT*散單賣(mài))/10000,1);
散凈:散單買(mǎi)入-散單賣(mài)出,LINETHICK0,PRECIS2,COLOR00FF00;
外盤(pán):=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;
內盤(pán):=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;
主動(dòng)率:=(外盤(pán)-內盤(pán))/(內盤(pán)+外盤(pán))*100;
單數比:=DYNAINFO(92)/DYNAINFO(91);
通吃率:=((DYNAINFO(95)+DYNAINFO(94))-(DYNAINFO(98)+DYNAINFO(97)))*VOL/VOL*100;
DRAWTEXTABS(440,5,‘主動(dòng)率:’+ NUMTOSTRN(主動(dòng)率,2)+‘ 單數比:’+ NUMTOSTRN(單數比,2)+‘ 通吃率:’+ NUMTOSTRN(通吃率,2)),COLOR00FFFF;
DRAWTEXTABS(110,5,‘上漲家數:’+NUMTOSTRN(DYNAINFO(69),0)+‘家’),COLOR0000FF;
DRAWTEXTABS(220,5,‘平盤(pán)家數:’+NUMTOSTRN(DYNAINFO(71),0)+‘家’),COLORFFFFFF;
DRAWTEXTABS(330,5,‘下跌家數:’+NUMTOSTRN(DYNAINFO(70),0)+‘家’),COLOR00FF00;
(南方財富網(wǎng)SOUTHMONEY.COM)