常听说有量才有价,量在价先,云云.......
究竟怎么看成交量,找了不少指标,还是看不明白,罢了,自己搞吧,于是,就有了下面的自用成交分级图,拿出来与同学分享:
{成交量分级-普通版}这个版本大概是通用的。
HV:=HHV(VOL,0);
DV:=LLV(VOL,0);
CE:=HV-DV;
VA:IF(V>HV-CE/5,VOL,0),COLORYELLOW,STICK,LINETHICK4;
VB:IF(RANGE(V,HV-CE/5*2,HV-CE/5),VOL,0),COLORMAGENTA,STICK,LINETHICK4;
VC:IF(RANGE(V,HV-CE/5*3,HV-CE/5*2),VOL,0),COLORBROWN,STICK,LINETHICK4;
VD:IF(RANGE(V,HV-CE/5*4,HV-CE/5*3),VOL,0),COLORBLUE,STICK,LINETHICK4;
VE:IF(RANGE(V,HV-CE/5*5,HV-CE/5*4),VOL,0),COLORWHITE,STICK,LINETHICK1;
VF:IF(V<=HV-CE/5*5,VOL,0),COLORGREEN,STICK,LINETHICK6;
{成交量分级-同花顺立体版}
hV=HHV(VOL,0);
dv=LLV(VOL,0);
CE=hV-dv;
aAv:=IF(V>hV-ce/5,VOL,NULL),coloryellow,STICK,Linethick4;
bBv:=IF(RANGE(V,hV-ce/5*2,hV-ce/5),VOL,NULL),colormagenta,STICK,Linethick4;
cCV:=IF(RANGE(V,hV-ce/5*3,hV-ce/5*2),VOL,NULL),colorbrown,STICK,Linethick4;
dDV:=IF(RANGE(V,hV-ce/5*4,hV-ce/5*3),VOL,NULL),colorblue,STICK,Linethick4;
eEV:=IF(RANGE(V,hV-ce/5*5,hV-ce/5*4),VOL,NULL),colorwhite,STICK,Linethick1;
ffv:=IF(V<=HV-CE/5*5,VOL,NULL),colorgreen,STICK,LINETHICK6;
STICKLINE(ffv>0,0,VOL,10,0),Color9E7001;
STICKLINE(ffv>0,0,VOL,8,0), ColorBE8601;
STICKLINE(ffv>0,0,VOL,6,0), ColorDE9C01;
STICKLINE(ffv>0,0,VOL,5,0), ColorFEB301;
STICKLINE(ffv>0,0,VOL,4,0), ColorFEBC21;
STICKLINE(ffv>0,0,VOL,3,0), ColorFEC641;
STICKLINE(ffv>0,0,VOL,2,0), ColorFECF61;
STICKLINE(ffv>0,0,VOL,1,0), ColorFED981;
STICKLINE(eEV>0,0,VOL,10,0),Color4F4F4F;
STICKLINE(eEV>0,0,VOL,8,0),Color5F5F5F;
STICKLINE(eEV>0,0,VOL,6,0),Color6F6F6F;
STICKLINE(eEV>0,0,VOL,5,0),Color7F7F7F;
STICKLINE(eEV>0,0,VOL,4,0),Color8F8F8F;
STICKLINE(eEV>0,0,VOL,3,0),Color9F9F9F;
STICKLINE(eEV>0,0,VOL,2,0),ColorAFAFAF;
STICKLINE(eEV>0,0,VOL,1,0),ColorC0C0C0;
STICKLINE(ccV>0,0,VOL,10,0),Color9F009F;
STICKLINE(ccV>0,0,VOL,8,0),ColorBF00BF;
STICKLINE(ccV>0,0,VOL,6,0),ColorDF00DF;
STICKLINE(ccV>0,0,VOL,5,0),ColorFF00FF;
STICKLINE(ccV>0,0,VOL,4,0),ColorFF20FF;
STICKLINE(ccV>0,0,VOL,3,0),ColorFF40FF;
STICKLINE(ccV>0,0,VOL,2,0),ColorFF60FF;
STICKLINE(ccV>0,0,VOL,1,0),ColorFF80FF;
STICKLINE(ddV>0,0,VOL,10,0),Color009F00;
STICKLINE(ddV>0,0,VOL,8,0),Color00BF00;
STICKLINE(ddV>0,0,VOL,6,0),Color00DF00;
STICKLINE(ddV>0,0,VOL,5,0),Color00FF00;
STICKLINE(ddV>0,0,VOL,4,0),Color20FF20;
STICKLINE(ddV>0,0,VOL,3,0),Color40FF40;
STICKLINE(ddV>0,0,VOL,2,0),Color60FF60;
STICKLINE(ddV>0,0,VOL,1,0),Color80FF80;
STICKLINE(bBv>0,0,VOL,10,0),Color00009F;
STICKLINE(bBv>0,0,VOL,8,0),Color0000BF;
STICKLINE(bBv>0,0,VOL,6,0),Color0000DF;
STICKLINE(bBv>0,0,VOL,5,0),Color0000FF;
STICKLINE(bBv>0,0,VOL,4,0),Color2020FF;
STICKLINE(bBv>0,0,VOL,3,0),Color4040FF;
STICKLINE(bBv>0,0,VOL,2,0),Color6060FF;
STICKLINE(bBv>0,0,VOL,1,0),Color8080FF;
STICKLINE(aAv>0,0,VOL,10,0),Color009Fff;
STICKLINE(aAv>0,0,VOL,8,0),Color00BFff;
STICKLINE(aAv>0,0,VOL,6,0),Color00DFff;
STICKLINE(aAv>0,0,VOL,5,0),Color00FFff;
STICKLINE(aAv>0,0,VOL,4,0),Color20FFff;
STICKLINE(aAv>0,0,VOL,3,0),Color40FFff;
STICKLINE(aAv>0,0,VOL,2,0),Color60FFff;
STICKLINE(aAv>0,0,VOL,1,0),Color80FFff;
{成交量分级-通信达立体版}
HV:=HHV(VOL,0);
DV:=LLV(VOL,0);
CE:=HV-DV;
AAV:=IF(V>HV-CE/5,VOL,0),COLORYELLOW,STICK,LINETHICK4;
BBV:=IF(RANGE(V,HV-CE/5*2,HV-CE/5),VOL,0),COLORMAGENTA,STICK,LINETHICK4;
CCV:=IF(RANGE(V,HV-CE/5*3,HV-CE/5*2),VOL,0),COLORBROWN,STICK,LINETHICK4;
DDV:=IF(RANGE(V,HV-CE/5*4,HV-CE/5*3),VOL,0),COLORBLUE,STICK,LINETHICK4;
EEV:=IF(RANGE(V,HV-CE/5*5,HV-CE/5*4),VOL,0),COLORWHITE,STICK,LINETHICK1;
FFV:=IF(V<=HV-CE/5*5,VOL,0),COLORGREEN,STICK,LINETHICK6;
STICKLINE(FFV>0,0,VOL,3,0),COLOR9E7001;
STICKLINE(FFV>0,0,VOL,2.4,0), COLORBE8601;
STICKLINE(FFV>0,0,VOL,1.8,0), COLORDE9C01;
STICKLINE(FFV>0,0,VOL,1.2,0), COLORFEB301;
STICKLINE(FFV>0,0,VOL,0.6,0), COLORFEBC21;
STICKLINE(FFV>0,0,VOL,0.4,0), COLORFEC641;
STICKLINE(FFV>0,0,VOL,0.2,0), COLORFECF61;
STICKLINE(FFV>0,0,VOL,0.1,0), COLORFED981;
STICKLINE(EEV>0,0,VOL,3,0),COLOR4F4F4F;
STICKLINE(EEV>0,0,VOL,2.4,0),COLOR5F5F5F;
STICKLINE(EEV>0,0,VOL,1.8,0),COLOR6F6F6F;
STICKLINE(EEV>0,0,VOL,1.2,0),COLOR7F7F7F;
STICKLINE(EEV>0,0,VOL,0.6,0),COLOR8F8F8F;
STICKLINE(EEV>0,0,VOL,0.4,0),COLOR9F9F9F;
STICKLINE(EEV>0,0,VOL,0.2,0),COLORAFAFAF;
STICKLINE(EEV>0,0,VOL,0.1,0),COLORC0C0C0;
STICKLINE(CCV>0,0,VOL,3,0),COLOR9F009F;
STICKLINE(CCV>0,0,VOL,2.4,0),COLORBF00BF;
STICKLINE(CCV>0,0,VOL,1.8,0),COLORDF00DF;
STICKLINE(CCV>0,0,VOL,1.2,0),COLORFF00FF;
STICKLINE(CCV>0,0,VOL,0.6,0),COLORFF20FF;
STICKLINE(CCV>0,0,VOL,0.4,0),COLORFF40FF;
STICKLINE(CCV>0,0,VOL,0.2,0),COLORFF60FF;
STICKLINE(CCV>0,0,VOL,0.1,0),COLORFF80FF;
STICKLINE(DDV>0,0,VOL,3,0),COLOR009F00;
STICKLINE(DDV>0,0,VOL,2.4,0),COLOR00BF00;
STICKLINE(DDV>0,0,VOL,1.8,0),COLOR00DF00;
STICKLINE(DDV>0,0,VOL,1.2,0),COLOR00FF00;
STICKLINE(DDV>0,0,VOL,0.6,0),COLOR20FF20;
STICKLINE(DDV>0,0,VOL,0.4,0),COLOR40FF40;
STICKLINE(DDV>0,0,VOL,0.2,0),COLOR60FF60;
STICKLINE(DDV>0,0,VOL,0.1,0),COLOR80FF80;
STICKLINE(BBV>0,0,VOL,3,0),COLOR00009F;
STICKLINE(BBV>0,0,VOL,2.4,0),COLOR0000BF;
STICKLINE(BBV>0,0,VOL,1.8,0),COLOR0000DF;
STICKLINE(BBV>0,0,VOL,1.2,0),COLOR0000FF;
STICKLINE(BBV>0,0,VOL,0.6,0),COLOR2020FF;
STICKLINE(BBV>0,0,VOL,0.4,0),COLOR4040FF;
STICKLINE(BBV>0,0,VOL,0.2,0),COLOR6060FF;
STICKLINE(BBV>0,0,VOL,0.1,0),COLOR8080FF;
STICKLINE(AAV>0,0,VOL,3,0),COLOR009FFF;
STICKLINE(AAV>0,0,VOL,2.4,0),COLOR00BFFF;
STICKLINE(AAV>0,0,VOL,1.8,0),COLOR00DFFF;
STICKLINE(AAV>0,0,VOL,1.2,0),COLOR00FFFF;
STICKLINE(AAV>0,0,VOL,0.6,0),COLOR20FFFF;
STICKLINE(AAV>0,0,VOL,0.4,0),COLOR40FFFF;
STICKLINE(AAV>0,0,VOL,0.2,0),COLOR60FFFF;
STICKLINE(AAV>0,0,VOL,0.1,0),COLOR80FFFF;
|