量价擒庄,通达信副图源码,贴图说明,通用源码
继成本三线后,再发重量级指标,量价擒庄。此指标版权为本人所拥有,对能量潮的改进,并叠加了成交量柱。
VV:=VOL/10000;
VV*10,VOLSTICK;
重心:=(2*C+H+L)/4;
YC:=(重心+C*10)/11;
JC:=(重心-REF(重心,1)+C-REF(C,1)+2*(C-重心))/4;
OBV:=SUM(IF(JC>0,VV,IF(JC<0,-VV,0)),63),COLORWHITE;
OBV2:=EMA(OBV,2);
OBV3:=EMA(OBV,3);
OBV4:=EMA(OBV,4);
OBV5:=EMA(OBV,5);
OBV6:=EMA(OBV,6);
OBV7:=EMA(OBV,7);
OBV8:=EMA(OBV,8);
OBV9:=EMA(OBV,9);
OBV10:=EMA(OBV,10);
OBVJ:=(OBV2+OBV3+OBV4+OBV5+OBV6+OBV7+OBV8+OBV9+OBV10)/9;
DOBV:=MAX(OBV2,MAX(OBV3,MAX(OBV4,MAX(OBV5,MAX(OBV6,MAX(OBV7,MAX(OBV8,MAX(OBV9,OBV10))))))));
XOBV:=MIN(OBV2,MIN(OBV3,MIN(OBV4,MIN(OBV5,MIN(OBV6,MIN(OBV7,MIN(OBV8,MIN(OBV9,OBV10))))))));
OBVB:EMA(((OBVJ+2*DOBV)/3+(XOBV+5*DOBV)/6)/2,1),COLORWHITE,LINETHICK1;
{分析家公式网WWW.88GS.COM}
GV1:=HHV(EMA(OBV,6),18);
GV2:=HHV(EMA(OBV,9),27);
GV3:=HHV(EMA(OBV,12),36);
GV4:=HHV(EMA(OBV,15),45);
GV5:=HHV(EMA(OBV,18),54);
GV6:=HHV(EMA(OBV,21),63);
GV7:=HHV(EMA(OBV,24),72);
GV8:=HHV(EMA(OBV,27),81);
GV9:=HHV(EMA(OBV,30),90);
XGV:=(GV1+GV2+GV3+GV4+GV5+GV6+GV7+GV8+GV9)/9;
马线:((GV1+GV2+GV3+GV4+GV5+GV6)/6+XGV)/2,COLOR00CCCC,LINETHICK2;
GV11:=HHV(EMA(OBV,18),54);
GV12:=HHV(EMA(OBV,27),81);
GV13:=HHV(EMA(OBV,36),108);
GV14:=HHV(EMA(OBV,45),135);
GV15:=HHV(EMA(OBV,54),162);
GV16:=HHV(EMA(OBV,63),189);
GV17:=HHV(EMA(OBV,72),216);
GV18:=HHV(EMA(OBV,81),243);
GV19:=HHV(EMA(OBV,90),270);
ZGV:=(GV11+GV12+GV13+GV14+GV15+GV16+GV17+GV18+GV19)/9;
GV21:=HHV(EMA(OBV,54),162);
GV22:=HHV(EMA(OBV,81),243);
GV23:=HHV(EMA(OBV,108),405);
GV24:=HHV(EMA(OBV,135),486);
GV25:=HHV(EMA(OBV,162),486);
GV26:=HHV(EMA(OBV,189),567);
GV27:=HHV(EMA(OBV,216),648);
GV28:=HHV(EMA(OBV,243),729);
GV29:=HHV(EMA(OBV,270),810);
DGV:=(GV21+GV22+GV23+GV24+GV25+GV26+GV27+GV28+GV29)/9;
VTD:=MAX(XGV,MAX(ZGV,DGV));
VTX:=MIN(XGV,MIN(ZGV,DGV));
VTZ:=(XGV+ZGV+DGV)/3;
鉴线:EMA(((VTZ+2*VTD)/3+(VTX+5*VTD)/6)/2,9),COLORFAABEC,COLOR7F00FF,LINETHICK1;
LV1:=LLV(EMA(OBV,6),18);
LV2:=LLV(EMA(OBV,9),27);
LV3:=LLV(EMA(OBV,12),36);
LV4:=LLV(EMA(OBV,15),45);
LV5:=LLV(EMA(OBV,18),54);
LV6:=LLV(EMA(OBV,21),63);
LV7:=LLV(EMA(OBV,24),72);
LV8:=LLV(EMA(OBV,27),81);
LV9:=LLV(EMA(OBV,30),90);
LV:=(LV1+LV2+LV3+LV4+LV5+LV6+LV7+LV8+LV9)/9;
熊线:((LV1+LV2+LV3+LV4+LV5+LV6)/6+LV)/2,COLOR00BB00,LINETHICK2;
HOBV:REF(HHV(OBVB,63),1),COLORBROWN,DOTLINE;
LOBV:REF(LLV(OBVB,63),1),COLORAAAA00,DOTLINE;
- 上一篇:通达信大主力指标公式 2016/9/6
- 下一篇:吃肉喝血(源码 副图/选股 通达信 贴图)! 2016/9/6