首頁 > 股票投資 > 股票技術(shù)指標(biāo)公式 > 正文

解說會(huì)心主圖指標(biāo)公式的源碼含義

來源:【贏家江恩】責(zé)任編輯:fanxiaonan添加時(shí)間:2016-09-06 10:15:50
  我們知道在分析個(gè)股走勢(shì)形態(tài)的時(shí)候,不僅僅是K線圖、分時(shí)圖的走勢(shì)形態(tài),還需要通過籌碼峰的變化,漲停形態(tài)的分析,那么在股市的分析中,必然就離不開會(huì)心主圖的指標(biāo)公式分析,其中包含的有籌碼圖——文字指標(biāo)——漲停K線——跌停K線,從4個(gè)不同的方面闡述股票技術(shù)指標(biāo)公式的使用技巧。

  【籌碼圖】

  通過籌碼的變化,了解主力的持倉變化,而且籌碼峰的變化形態(tài),也是股市成交變化的不同走勢(shì);

  DA1:=IF(280>TOTALBARSCOUNT,TOTALBARSCOUNT,280);

  DA:=IF(CURRBARSCOUNT>DA1,0,DA1);

  HI:=REFDATE(HHV(H,DA),DATE);

  LO:=REFDATE(LLV(L,DA),DATE);

  C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);

  GZ:=EXP(LN(HI/LO)/10);

  LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);

  LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);

  LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA);

  LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA);

  LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA);

  LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA);

  LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA);

  LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA);

  LH9:=SUM(IF(C1>=(LO*GZ) AND C1

  LH10:=SUM(IF(C1>=LO AND C1

  L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;

  L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;

  L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;

  L4:=REFDATE(HHV(LH4,DA),DATE);

  L5:=REFDATE(HHV(LH5,DA),DATE);

  L6:=REFDATE(HHV(LH6,DA),DATE);

  L7:=REFDATE(HHV(LH7,DA),DATE);

  L8:=REFDATE(HHV(LH8,DA),DATE);

  L9:=REFDATE(HHV(LH9,DA),DATE);

  L10:=REFDATE(HHV(LH10,DA),DATE);

  SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);

  STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*99/100,HI/GZ,9,0)COLOR3C3C3A,LINETHICK3;

  STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*99/100,HI/POW(GZ,2),9,0)COLOR3C3C3A,LINETHICK3;

  STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*99/100,HI/POW(GZ,3),9,0)COLOR3C3C3A,LINETHICK3;

  STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*99/100,HI/POW(GZ,4),9,0)COLOR3C3C3A,LINETHICK3;

  STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*99/100,HI/POW(GZ,5),9,0)COLOR3C3C3A,LINETHICK3;

  STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*99/100,HI/POW(GZ,6),9,0)COLOR3C3C3A,LINETHICK3;

  STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*99/100,HI/POW(GZ,7),9,0)COLOR3C3C3A,LINETHICK3;

  STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)*99/100,9,0)COLOR3C3C3A,LINETHICK3;

  STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)*99/100,9,0)COLOR3C3C3A,LINETHICK3;

  STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)*99/100,9,0)COLOR3C3C3A,LINETHICK3;

  DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

籌碼圖

  從基本的籌碼變化,來分析不同的K線走勢(shì)形態(tài),從中分別籌碼的高低變化;

  【文字指標(biāo)】

  所屬板塊:=STRCAT('所屬板塊: ',STRCAT(STRCAT(STRCAT('[行業(yè)]-',HYBLOCK),STRCAT(' [地域]-',DYBLOCK)),STRCAT(' [概念]-',GNBLOCK)));

  總股本:=STRCAT(STRCAT('總股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'億');

  流通盤:=STRCAT(STRCAT(' 流通盤: ',CON2STR(CAPITAL/1000000,2)),'億');

  全流通:=STRCAT(' 全流通: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));

  市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'億');

  上市天數(shù):=STRCAT(' 上市天數(shù): ',CON2STR(FINANCE(42),0));

  {上市日期:=STRCAT(' 上市日期: ',CON2STR(HHV((BARSCOUNT(C)=0)*(DATE+19000000),0),0));}

  股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(STRCAT(總股本,流通盤),全流通),市值),

  上市天數(shù)));

  市盈率:=STRCAT('市盈率: ',CON2STR(C/FINANCE(33),2));

  市銷率:=STRCAT(' 市銷率: ',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));

  市凈率:=STRCAT(' 市凈率: ',CON2STR(C/FINANCE(34),2));

  凈資收益率:=STRCAT(' 凈資收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2));

  毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));

  凈利潤率:=STRCAT(' 凈利潤率 ',CON2STR(FINANCE(30)/FINANCE(20)*100,2));

  主營利潤率:=STRCAT(' 主營利潤率 ',CON2STR(FINANCE(23)/FINANCE(20)*100,2));

  當(dāng)前業(yè)績:=STRCAT('當(dāng)前業(yè)績: ',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(市盈率,市銷率)

  ,市凈率),凈資收益率),毛利率),凈利潤率),主營利潤率));

  X1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;

  X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;{盈余公積用資本公積金代替};

  X3:=FINANCE(23)/FINANCE(10)*3.3;

  X4:=FINANCE(19)/FINANCE(15)*0.6;{缺長期負(fù)債或負(fù)債總額}

  X5:=FINANCE(20)/FINANCE(15)*0.999;

  Z值:=X1+X2+X3+X4+X5;

  預(yù)警:=IF(Z值<1.2,'重警',IF(Z值>=1.2 AND Z值<2.6,'輕警','無警'));

  財(cái)務(wù)預(yù)警:=STRCAT('財(cái)務(wù)預(yù)警: ',STRCAT(預(yù)警,STRCAT('-Z值: ',CON2STR(Z值,3))));

  優(yōu)質(zhì)資產(chǎn)率:=STRCAT(' 優(yōu)質(zhì)資產(chǎn)率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/

  FINANCE(19),2));{理論上越大越好但不同行業(yè)有不同標(biāo)準(zhǔn)};

  現(xiàn)金負(fù)債比:=STRCAT(' 現(xiàn)金負(fù)債比: ',CON2STR(FINANCE(25)/FINANCE(15),3));{缺長期負(fù)債或負(fù)債總額,理論上越大越好但不同行業(yè)有不同標(biāo)準(zhǔn)};

  財(cái)務(wù)系數(shù):=STRCAT('風(fēng)險(xiǎn)系數(shù): ',STRCAT(STRCAT(財(cái)務(wù)預(yù)警,優(yōu)質(zhì)資產(chǎn)率),現(xiàn)金負(fù)債比));

  DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,所屬板塊),COLORYELLOW;

  DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,股本市值),COLORGRAY;

  DRAWTEXT_FIX(ISLASTBAR,0.005,0.12,0,當(dāng)前業(yè)績),COLORGRAY;

  DRAWTEXT_FIX(ISLASTBAR,0.005,0.18,0,財(cái)務(wù)系數(shù)),COLORGRAY;

  A1:=EMA(C,17);

  A2:=SMA(C,17,1);

  DRAWBAND(A2,RGB(0,120,120),A1,RGB(250,20,250));

  DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

文字指標(biāo)

  依據(jù)股市中不同的板塊,以及財(cái)務(wù)情況進(jìn)行研究分析,選擇合適的板塊進(jìn)行操作;

  【漲停K線圖】

  立樁量:=IF(NAMELIKE('S') OR NAMELIKE('*'),(C-REF(C,1))/REF(C,1)*100>4.95,

  (C-REF(C,1))/REF(C,1)*100>9.88);

  STICKLINE(立樁量,O,C,3.0,0),COLOR0000BB;

  STICKLINE(立樁量,O,C,2.7,0),COLOR0000CC;

  STICKLINE(立樁量,O,C,2.4,0),COLOR0011CC;

  STICKLINE(立樁量,O,C,2.0,0),COLOR1122DD;

  STICKLINE(立樁量,O,C,1.7,0),COLOR2233DD;

  STICKLINE(立樁量,O,C,1.3,0),COLOR3344EE;

  STICKLINE(立樁量,O,C,1,0),COLOR4455EE;

  STICKLINE(立樁量,O,C,0.6,0),COLOR5566FF;

  STICKLINE(立樁量,O,C,0.3,0),COLOR6677FF;

漲停K線

  【跌停K線圖】

  VAR3K:=IF(NAMELIKE('S') OR NAMELIKE('*'),(C-REF(C,1))/REF(C,1)*100<-4.95,

  (C-REF(C,1))/REF(C,1)*100<-9.88);

  STICKLINE(VAR3K,C,O,3,0),COLOR009900;

  STICKLINE(VAR3K,C,O,2.2,0),COLOR00BB00;

  STICKLINE(VAR3K,C,O,1.5,0),COLOR00DD00;

  STICKLINE(VAR3K,C,O,0.5,0),COLOR00FF00;

  A11:EMA(C,17),NODRAW;

  A22:SMA(C,17,1),COLORWHITE,LINETHICK2;

  彩帶倍數(shù):A11/A22,NODRAW;

  一號(hào):MA(C,80),COLORGREEN,LINETHICK3;

  IF(一號(hào)>=REF(一號(hào),1),一號(hào),DRAWNULL),LINETHICK3,COLORRED;

  IF(一號(hào)>=REF(一號(hào),1) AND REF(一號(hào),1)

  二號(hào):MA(C,189),COLORBLUE,LINETHICK3;

  IF(二號(hào)>=REF(二號(hào),1),二號(hào),DRAWNULL),LINETHICK3,COLORYELLOW;

  IF(二號(hào)>=REF(二號(hào),1) AND REF(二號(hào),1)

跌停K線

  {會(huì)心原創(chuàng)-頂?shù)讅

  AA1:=(C-REF(C,1))/REF(C,1)*100;

  AA2:=(C-O)/C*100;

  DRAWTEXT(((AA1>3 AND AA2<-5) OR (AA2<-10 AND AA1>-9))

  AND BARSCOUNT(2) AND REF(C,1)>REF(O,1) AND V=HHV(V,30),H+0.3,'←【頂】')

  ,COLORCYAN;

  DRAWTEXT((AA2>12 AND BARSCOUNT(2) AND V=HHV(V,30)) OR (AA2>16 AND V

  ,H+0.3,'←【逃】'),COLORGREEN;

  BY1:=((AA1>3 AND AA2<-5) OR (AA2<-10 AND AA1>-9)) AND BARSCOUNT(2) AND REF

  (C,1)>REF(O,1) AND V=HHV(V,30);

  下突破:REF(C,BARSLAST(BY1)),COLORMAGENTA,CROSSDOT,LINETHICK2;

  上突破:REF(O,BARSLAST(BY1)),COLORMAGENTA,CROSSDOT,LINETHICK2;

  DRAWICON(CROSS(C,上突破) AND REF(EVERY(C<上突破,30),1),H+0.3,13);

  DRAWTEXT(CROSS(C,上突破) AND REF(EVERY(C<上突破,30),1),H+0.5,'突破'),COLORYELLOW;

  DRAWTEXT(OMA(C,5)

  AND C>MA(C,10) AND C>MA(C,20) AND C>MA(C,30),L*0.99,'四線合一'),COLORLIGREEN;

  DRAWICON(OMA(C,5)

  AND C>MA(C,10) AND C>MA(C,20) AND C>MA(C,30) AND EXIST(CROSS(MA(C,20),MA(C,30)),3),L*0.98,13);

  VAR1:=(2*CLOSE+HIGH+LOW)/4;

  VAR2:=LLV(LOW,5);

  VAR3:=HHV(HIGH,5);

  VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);

  MA1:=MA(VAR4,2);

  VAR1Z:=(C+O+L+H)/4;

  收:=C-VAR1Z;

  XG:=VAR4>50 AND MA1<50 AND OMA(C,10) AND C>EMA(C,17) AND

  EMA(C,17)>SMA(C,17,1) AND SMA(C,17,1)>MA(C,80) AND MA(C,80)>MA(C,189) AND 收>MACD;

  STICKLINE(XG,O,C,2.8,0),COLOR335555;

  STICKLINE(XG,O,C,2,0),COLOR338888;

  STICKLINE(XG,O,C,1.5,0),COLOR33AAAA;

  STICKLINE(XG,O,C,1,0),COLOR33CCCC;

  STICKLINE(XG,O,C,0,0),COLOR33EEEE;

  A10:MA(C,10),LINETHICK2,COLORAA0000;

  IF(A10>REF(SMA(A10,3,1),1),A10,DRAWNULL),COLOR0000AA,LINETHICK2;

會(huì)心指標(biāo)主圖

  通過K線的漲停形態(tài)和跌停形態(tài)進(jìn)行研究和分析,講解不同的公式源碼以及在實(shí)戰(zhàn)中的操作形態(tài),如果您還想要了解更加專業(yè)的指標(biāo)公式講解,請(qǐng)點(diǎn)擊:kdj參數(shù)設(shè)置多少合適。

鄭州亨瑞軟件開發(fā)有限公司
版權(quán)所有

服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:efofrzj.cn

銷售熱線:0371-65350319
技術(shù)支持:13333833889

注冊(cè)下載;