a=23; b=45; d=67; e=90;
c1:=(h+l+o+c)/4;
obv:=sum(if(c>ref(c1,1),vol,if(c<ref(c1,1),-vol,0)),0)/100000000,colorwhite;
obv1:=sma(obv,a,1),colorgreen;
obv2:=sma(obv,b,1),coloryellow;
obv3:=sma(obv,d,1),colorcyan;
obv4:=sma(obv,e,1),colormagenta;
x:=(obv+obv1+obv2+obv3+obv4)*c1;
m=23;
rsv=(x-llv(x,m*2))/(hhv(x,m)-llv(x,m*2))*1;
k:sma(rsv,6,1),coloryellow;
d1:sma(k,5,1),colorcyan;
j:sma(3*k-2*d1,3,1),colorlimagenta,linethick2;
j1:sma(j,6,1),colorgreen;
macd:2.4*(k-d1),colorstick; macd1:sma(macd,4,1),colorblue,linethick2;
z:0,colorcyan;
//drawicon(cross(j,k),j*0.95,14);www.goodgongshi.com
//drawicon(cross(k,j),j*1.05,13);
x1:=zig(1,n),coloryellow;
x2:=zig(2,1*n),colorgreen;
x3:=zig(3,1*n),colorcyan;
{drawnumber(cross(x1,ref(x1,1)),j*0.9,tostring(o,2)),colorgreen;} //103
{drawnumber(cross(ref(x1,1),x1),j*1.1,tostring(o,2)),colorlired;} //103
drawtext(cross(zig(3,13),ref(zig(3,13),1)),j*0.97,'bu□') ,linethick1,colorred;
drawtext(cross(ref(zig(3,13),1),zig(3,13)),j*1.03,'■sel'),colorgreen;
tiptext(cross(x3,ref(x3,1)),j*0.85,tostring(o,2)) ,linethick1,coloryellow;
tiptext(cross(ref(x3,1),x3),j*1.17,tostring(c,2)),colorgreen;
tiptext(cross(x2,ref(x2,1)),j*0.8,tostring(o,2)) ,linethick1,colorlired;
tiptext(cross(ref(x2,1),x2),j*1.2,tostring(c,2)),colormagenta;
stickline(macd>0 and macd>=sma(macd,4,1),0,-0.05,6,0),coloryellow;
百分率6:=tostring(c-ma(c,5),2);
drawtext_fix(islastbar,0.9,0.05,0,百分率6),colorwhite;
百分率7:=tostring(c-ma(c,12),2);
drawtext_fix(islastbar,0.95,0.05,0,百分率7),coloryellow;
百分率8:=tostring(c-ma(c,20),2);
drawtext_fix(islastbar,0.9,0.1,0,百分率8),colorgreen;
百分率9:=tostring(c-ma(c,34),2);
drawtext_fix(islastbar,0.95,0.1,0,百分率9),colorcyan;
百分率10:=tostring(c-ma(c,45),2);
drawtext_fix(islastbar,0.9,0.15,0,百分率10),coloryellow;
百分率11:=tostring(c-ma(c,67),2);
drawtext_fix(islastbar,0.95,0.15,0,百分率11),colormagenta;
百分率12:=tostring(c-ma(c,90),2);
drawtext_fix(islastbar,0.9,0.20,0,百分率12),colorliblue;
百分率13:=tostring(c-ma(c,265),2);
drawtext_fix(islastbar,0.95,0.20,0,百分率13),colorgreen;
s1:=tostring((h+l+c+o)/4,2);
drawtext_fix(islastbar,0.8,0.00,0,s1),coloryellow;
s2:=tostring(c-(h+l+c+o)/4,3);
drawtext_fix(islastbar,0.83,0.05,0,s2),colorgreen;
s3:=tostring((h[1]+l[1]+c[1]+o[1])/4,2);
drawtext_fix(islastbar,0.8,0.10,0,s3),coloryellow;
s4:=tostring(c-(h[1]+l[1]+c[1]+o[1])/4,3);
drawtext_fix(islastbar,0.83,0.15,0,s4),colorgreen;
s5:=tostring((h[2]+l[2]+c[2]+o[2])/4,2);
drawtext_fix(islastbar,0.8,0.20,0,s5),coloryellow;
s6:=tostring(c-(h[2]+l[2]+c[2]+o[2])/4,3);
drawtext_fix(islastbar,0.83,0.25,0,s6),colorgreen;
s7:=tostring((h[3]+l[3]+c[3]+o[3])/4,2);
drawtext_fix(islastbar,0.8,0.30,0,s7),coloryellow;
s8:=tostring(c-(h[3]+l[3]+c[3]+o[3])/4,3);
drawtext_fix(islastbar,0.83,0.35,0,s8),colorgreen;
s9:=tostring((h[4]+l[4]+c[4]+o[4])/4,2);
drawtext_fix(islastbar,0.8,0.4,0,s9),coloryellow;
上一指标公式:DATA3指标公式详解 同花顺DATA3
下一指标公式:主力资金强度分析指标公式详解 同花顺主力资金
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文OBVB指标公式详解 同花顺OBVB仅供学习研究。