{4S专用OBV指标}
M:=30;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),COLORWHITE,LINETHICK4;
MAOBV:MA(OBV,M),COLOR00FF00,LINETHICK1.999;
DRAWBAND(OBV,RGB(50,50,120),MAOBV,RGB(00,50,00));
UPOBV:=IF(OBV>=REF(OBV,1) AND OBV>=MAOBV,OBV,DRAWNULL);
DRAWBAND(UPOBV,RGB(50,20,20),MAOBV,RGB(00,50,00));
HIGHN:=5;
LOWN:=HIGHN;
AA:=REF(OBV,HIGHN)=HHV(OBV,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND OBV=HHV(OBV,HIGHN+1);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(OBV,DDD),OBV);{顶部}
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=CONST(DINGBUTS1);
DINGBU2:=REF(DINGBU1,DDD+1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,OBV,CURRBARSCOUNT=GDCS1,OBV,1),COLORGREEN,LINETHICK1,DOTLINE;
AA1:=REF(OBV,LOWN)=LLV(OBV,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND OBV=LLV(OBV,LOWN+1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(OBV,DD1),OBV);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,OBV,CURRBARSCOUNT=DDCS1,OBV,1),COLORRED,LINETHICK1,DOTLINE;
DRAWLINE(CURRBARSCOUNT=GDCS2,OBV,ISLASTBAR,REF(OBV,GDCS2-1),1),COLORFFFFFF,LINETHICK1.999,DOTLINE;
DRAWLINE(CURRBARSCOUNT=GDCS1,OBV,ISLASTBAR,REF(OBV,GDCS1-1),1),COLORCYAN,LINETHICK1.999,DOTLINE;
N:=10;
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
A1:=REF(OBV1,N)=HHV(OBV1,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);
T线:REF(OBV,BARSLAST(D1)),COLORFF00FF,LINETHICK0;
STICKLINE(C>0,T线,T线,6,0),COLORFF6600;
BDGD:=CROSS(0.8,H=HHV(H,4));
GDSJ:=BARSLAST(BDGD)+1;
波峰:=REF(H,GDSJ),COLOR00FF00,POINTDOT;
BDDD:=CROSS(0.8,L=LLV(L,4));
DDSJ:=BARSLAST(BDDD)+1;
波谷:=REF(L,DDSJ),COLORFF00FF,POINTDOT;
STICKLINE(OBV<=REF(OBV,波峰) AND H>REF(H,波峰),OBV,MAOBV,1,0),COLORCYAN;
STICKLINE(OBV>=REF(OBV,波峰) AND H<REF(H,波峰),OBV,MAOBV,1,0),COLORFF66FF;
IF(OBV>=REF(OBV,1) AND L<REF(L,1),OBV,DRAWNULL),COLORLIRED,LINETHICK4;
IF(OBV>=REF(OBV,波谷) AND L<REF(L,波谷),OBV,DRAWNULL),COLORRED,LINETHICK4;
HBL:=HHV(H,10);
HOBV:=HHV(OBV,10);
STICKLINE(OBV>=REF(OBV,HBL) AND H<REF(H,HBL),OBV,MAOBV,1,0),COLORFF33FF;
STICKLINE(OBV<=REF(OBV,HBL) AND H>REF(H,HBL),OBV,MAOBV,1,0),COLORCYAN;
STICKLINE(OBV>=HOBV AND H<HBL,OBV,MAOBV,1,0),COLORFF22FF;
STICKLINE(OBV<=HOBV AND H>HBL,OBV,MAOBV,1,0),COLORLIBLUE;
STICKLINE(OBV>=REF(OBV,1) AND H<REF(H,1),OBV,MAOBV,1,1),COLORLIRED;
STICKLINE(OBV<=REF(OBV,1) AND H>REF(H,1),OBV,MAOBV,1,1),COLORCYAN;
特别提示:本信息由相关用户自行提供,真实性未证实,仅供参考。请谨慎采用,风险自负。
0 条相关评论
相关最新动态
推荐最新动态
点击排行
- 1001EV晨报 | “宝宝巴士”极氪MIX今日上市;花旗预计比亚迪三季度盈利超百亿,11月销量有望突破50万辆
- 1002SD-WebUI插件推荐-提示词扩展
- 1003史上最全东丽碳纤维型号与参数
- 1004艾瑞银行营销报告:把握银行营销数字化底层需求,全面实现技术与业务的深度融合
- 1005清澈的爱 只为人民——大型话剧《张富清》恩施巡演侧记
- 1006抖音号实名认证怎么找回?抖音实名认证好处有哪些?
- 1007北京四日游最佳路线 北京4天时间怎么玩 北京四天三夜旅游攻略
- 1008哪些人需要粉妍片?玫琳凯怡日健粉妍片多少钱?成份作用有什么效果?2019年1月促销活动!
- 1009什么是淘宝关键词搜索规则?搞懂淘宝的搜索规则
(c)2008-现在 迅易阁版权所有 网站地图