歡迎來到技術分析軟件——贏家江恩官網(wǎng)

當前位置:股票軟件 > 投資知識 > 股票知識 > 正文

【股票知識】VOL地量指標公式源碼解說

編輯:贏家江恩

2016-11-17 10:28:08

  量、價、時、空是分析股票價格以及行情發(fā)展的四大因素,其中量能和價格是最重要的兩個判斷因素,投資者可以通過股票走勢軟件進行個股分析,那么當成交量出現(xiàn)地量的時候應該怎樣分析,可以借助vol地量指標的股票公式進行分析。

  在個股的日線走勢圖中,每一根K線都對應一根量柱,通過量價分析,研判股價的的上漲趨勢與形態(tài),其VOL地量指標公式如下:

  {V1:=CLOSE/REF(CLOSE,3)>=1.1;

  V2:=BACKSET(V1,2);}

  {紅柱信號:V2 AND COUNT(V2,2)=1;

  DRAWTEXT(V2 AND COUNT(V2,2)=1,0.5,'紅柱信號為1'),COLORFFFF00;}

  VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);{模擬量}

  STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0;

  VOL,VOLSTICK;

  倍量:(VOL/REF(VOL,1)>2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>2),COLORFF00FF;

  STICKLINE(倍量,0,V,3,0),COLORFF00FF;

  地量:LLV(VOL,15)=VOL,COLORWHITE;

  STICKLINE(地量,0,V,1,0),COLORWHITE;

  三十地:LLV(VOL,30)=VOL,COLORFFDE00;

  STICKLINE(三十地,0,V,3,0),COLOR008800;

  倍縮量:VOL/REF(VOL,1)<0.5,COLORYELLOW;

  STICKLINE(倍縮量,0,V,3,0),COLORYELLOW;

  縮量漲:COUNT(C>REF(C,1),2)=2 AND COUNT(VOL

  STICKLINE(縮量漲,0,V,3,0),COLORGREEN;

  黑跳: IF(LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1),0.5,0),COLORFF0080;

  STICKLINE(黑跳,0,V,3,0),COLORFF0080;

  紅跳:IF(LOW>REF(HIGH,1) AND COUNT(OPEN

  STICKLINE(紅跳,0,V,3,0),COLOR8000FF;

  真陽或假陰:=C>O OR C>REF(C,1);

  收陽:= REF(真陽或假陰,3);

  倍量1:=REF(倍量,3);

  高量:=REF(V,3)>=HHV(V,7);

  三日不破:= LLV(C,3)>=REF(L,3);

  價升:=COUNT(C>=REF(C,1),3)=3;{收盤價逐升}

  量縮:=COUNT(V<=REF(V,1),3)=3;

  連陽:= COUNT(真陽或假陰,3)=3;

  倍量將軍柱:= 倍量1 AND 三日不破 AND 收陽;

  高量將軍柱:= 高量 AND 三日不破 AND 收陽;

  將軍柱:= 倍量將軍柱 OR 高量將軍柱;

  黃金柱:將軍柱 AND 價升 AND 量縮 AND 連陽 ,COLOR0077FF;

  DRAWICON(黃金柱,V+0.1,1);

  長陰短柱:C/REF(C,1)<=0.96 AND V<hhv(v,30) p="" 1.9;<="">

  DRAWTEXT(長陰短柱 ,V,'!'),COLORLICYAN;

  XGX7:=ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04 AND

  VOL>1.8*REF(VOL,2) AND

  REF(VOL,1)<ref(vol,7) p="" and<="">

  REF(VOL,2)<ref(vol,7) p="" and<="">

  REF(VOL,3)<ref(vol,7) p="" and<="">

  REF(VOL,(7-3))<ref(vol,7) p="" and<="">

  REF(VOL,(7-2))<ref(vol,7) p="" and<="">

  REF(VOL,(7-1))

  XGX8:=ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04 AND

  VOL>1.8*REF(VOL,2) AND

  REF(VOL,1)<ref(vol,8) p="" and<="">

  REF(VOL,2)<ref(vol,8) p="" and<="">

  REF(VOL,3)<ref(vol,8) p="" and<="">

  REF(VOL,(8-3))<ref(vol,8) p="" and<="">

  REF(VOL,(8-2))<ref(vol,8) p="" and<="">

  REF(VOL,(8-1))

  XGX9:=ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04 AND

  VOL>1.8*REF(VOL,2) AND

  REF(VOL,1)<ref(vol,9) p="" and<="">

  REF(VOL,2)<ref(vol,9) p="" and<="">

  REF(VOL,3)<ref(vol,9) p="" and<="">

  REF(VOL,(9-3))<ref(vol,9) p="" and<="">

  REF(VOL,(9-2))<ref(vol,9) p="" and<="">

  REF(VOL,(9-1))

  XGX10:=ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04 AND

  VOL>1.8*REF(VOL,2) AND

  REF(VOL,1)<ref(vol,10) p="" and<="">

  REF(VOL,2)<ref(vol,10) p="" and<="">

  REF(VOL,3)<ref(vol,10) p="" and<="">

  REF(VOL,(10-3))<ref(vol,10) p="" and<="">

  REF(VOL,(10-2))<ref(vol,10) p="" and<="">

  REF(VOL,(10-1))

  XGX11:=ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04 AND

  VOL>1.8*REF(VOL,2) AND

  REF(VOL,1)<ref(vol,11) p="" and<="">

  REF(VOL,2)<ref(vol,11) p="" and<="">

  REF(VOL,3)<ref(vol,11) p="" and<="">

  REF(VOL,(11-3))<ref(vol,11) p="" and<="">

  REF(VOL,(11-2))<ref(vol,11) p="" and<="">

  REF(VOL,(11-1))

  XGX12:=ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04 AND

  VOL>1.8*REF(VOL,2) AND

  REF(VOL,1)<ref(vol,12) p="" and<="">

  REF(VOL,2)<ref(vol,12) p="" and<="">

  REF(VOL,3)<ref(vol,12) p="" and<="">

  REF(VOL,(12-3))<ref(vol,12) p="" and<="">

  REF(VOL,(12-2))<ref(vol,12) p="" and<="">

  REF(VOL,(12-1))

  DRAWTEXT(XGX7,V,'7日平量柱'),COLORFFFF00;

  DRAWTEXT(XGX8,V,'8日平量柱'),COLORFFFF00;

  DRAWTEXT(XGX9,V,'9日平量柱'),COLORFFFF00;

  DRAWTEXT(XGX10,V,'10日平量柱'),COLORFFFF00;

  DRAWTEXT(XGX11,V,'11日平量柱'),COLORFFFF00;

  DRAWTEXT(XGX12,V,'12日平量柱'),COLORFFFF00;

  百日地量:LLV(VOL,100)=VOL,COLORWHITE;

  STICKLINE(百日地量,0,V,3,0),COLORWHITE;

  V1:=CLOSE/REF(CLOSE,3)>=1.1;

  V2:=BACKSET(V1,2);

  V3:=REF(CLOSE,3)*1.1;

  V4:=CROSS(C,V3);

  STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,3,0),COLOR00007D;

  STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,2.4,0),COLOR0000A6;

  STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,2,0),COLOR0000BB;

  STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,1.4,0),COLOR0000DD;

  STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,0.8,0),COLOR0000FF;

  M5:MA(VOL,5),COLORFFFFFF;

  M20:MA(VOL,20);

  M55:MA(VOL,55),COLORGREEN,LINETHICK2;

  DRAWICON(CROSS(V,M5) AND CROSS(V,M20) AND C > O,L*0.95,5);

  從以上的源碼中能夠看出,成交量柱有平量柱,將軍柱、倍量柱、百日地量群,等等,當形成百日地量群的時候,個股的走勢可能是處于吸籌的狀態(tài),其中的操作技巧,希望投資者能夠把握好其中的操作機會。更多的精彩內(nèi)容或者想要學習一套完善的操作體系,請點擊江恩理論,進行研究學習。


贏家江恩財富網(wǎng)  m.artbyhelenh.com