“兵馬未動(dòng)糧草先行”任何一個(gè)涉足股市的人都會(huì)關(guān)注成交量!莊家可以使用任意一個(gè)技術(shù)指標(biāo)騙線,唯獨(dú)成交量做不了假。昨日在解答問(wèn)題中看到一個(gè)公式對(duì)量的描述,感覺(jué)還不錯(cuò),就把它做成通達(dá)信劃線主圖與大家分享,個(gè)中的買賣密碼自己好好參詳。
T:=DYNAINFO(8)>0; VO:=VOL=LLV(VOL,100) AND T; 地量柱:=T AND VO,COLORBLUE; STICKLINE(地量柱,C,O,2.5,0),COLORAAAA00; STICKLINE(地量柱,L,H,0,0),COLORAAAA00; DRAWLINE(地量柱,L,REF(地量柱,1),REF(L,1),1),COLORAAAA00; DRAWTEXT(地量柱,C,'地量柱'),COLORAAAA00; BLZ:=VOL>REF(V,1)*1.9; STICKLINE(BLZ,C,O,2.5,0),COLORYELLOW; STICKLINE(BLZ,L,H,0,0),COLORYELLOW; 倍量柱:=BLZ,COLORYELLOW; DRAWLINE(倍量柱,L,REF(倍量柱,1),REF(L,1),1),COLORYELLOW; DRAWTEXT(倍量柱,C*0.95,'倍量'),COLORYELLOW; HJZ:=(3*C+H+L+O)/6; HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36; HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O; 黃金柱:=FILTER(HJZ3,5),LINETHICK0; STICKLINE(黃金柱,C,O,2.5,0),COLORRED; STICKLINE(黃金柱,L,H,0,0),COLORRED; DRAWLINE(黃金柱,L,REF(黃金柱,1),REF(L,1),1),COLORRED; DRAWTEXT(黃金柱,C,'黃金柱'),COLORRED; FLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02; STICKLINE(FLZ,C,O,2.5,0),COLORMAGENTA; STICKLINE(FLZ,L,H,0,0),COLORMAGENTA; 平量柱:=FLZ,COLORMAGENTA; DRAWLINE(平量柱,L,REF(平量柱,1),REF(L,1),1),COLORMAGENTA; DRAWTEXT(FLZ,C,'平量'),COLORMAGENTA;
======================= {副圖} VOLUME:VOL,VOLSTICK; TT:=COUNT(C>REF(C,1),2)=2 AND COUNT(V<REF(V,1),2)=2; STICKLINE(TT,0,V,2.5,0),COLORGREEN; DRAWTEXT(TT,VOL+80000,'降'),COLORGREEN; T:=DYNAINFO(8)>0; VO:VOL=LLV(VOL,100) AND T; 地量柱:T AND VO,COLORBLUE; STICKLINE(地量柱,0,V,2.5,0),COLORBLUE; DRAWTEXT(地量柱,VOL+80000,'地'),COLORBLUE; BLZ:=VOL>REF(V,1)*1.9; BLZ1:=VOL<REF(LLV(VOL,13),1); BLZ2:=VOL<REF(LLV(VOL,55),1); STICKLINE(BLZ,0,V,2.5,0),COLORYELLOW; 倍量柱:BLZ,COLORYELLOW; DRAWTEXT(倍量柱,VOL+80000,'倍'),COLORYELLOW; HJZ:=(3*C+H+L+O)/6; HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36; HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O; 黃金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4; STICKLINE(黃金柱,0,V,2.5,0),COLORRED; DRAWTEXT(黃金柱,VOL+150000,'黃'),COLORRED; 價(jià)漲量縮:TT,COLORGREEN; FLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02; STICKLINE(FLZ,0,V,2.5,0),COLORMAGENTA; DRAWTEXT(FLZ,VOL+80000,'平'),COLORMAGENTA; 平量柱:FLZ,COLORMAGENTA;
[ 本帖最后由 鄭云2009 于 2012-2-5 20:57 編輯 ]
|