您現(xiàn)在的位置: 南方財富網 >> 股票知識 >> 股票公式 >> 正文
南財搜索

大智慧股票公式之一線炒股

2012/8/31 14:41:21   來源:本站原創(chuàng)   佚名
    

  大智慧股票公式之一線炒股

  {一線炒股}

  {疊加大盤線}

  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;

[1] [2] 下一頁

(南方財富網SOUTHMONEY.COM)
    南方財富網聲明:股市資訊來源于合作媒體及機構,屬作者個人觀點,僅供投資者參考,并不構成投資建議。投資者據此操作,風險自擔。
延伸閱讀
商務進行時
每日必讀
學院24小時排行
證券導讀
熱圖推薦

關于南方財富網 -版權聲明誠聘英才廣告服務網站地圖友情鏈接
特此聲明:廣告商的言論與行為均與南方財富網無關
rmkc.cn
南方財富網 © 版權所有 閩ICP備09035581號