由负转正买入由正转负卖出
obv:sum(if(close>ref(close,1),vol,if(close<ref(close,1),-vol,0)),0),linethick2,colorgreen;
b1:=ref(obv,1);
b2:=ref(obv,2);
b3:=ref(obv,3);
b4:=ref(obv,4);
cmax:=max(max(max(obv,b1),b2),b3);
cmin:=min(min(min(obv,b1),b2),b3);
持股:=stickline(obv=cmax and (b1>=b2 or b1>=b3) or b1=cmax and (b2=cmin or b3=cmin) and obv>=b2 or
b2=cmax and b3=cmin and obv>=b1 or b3=cmax and obv>=b1 and obv>=b2,b1,obv,3,0),colormagenta;
变盘:stickline(obv=cmax and b1=cmin,b2,obv,3,0),colorffffff;
下跌:=stickline(obv=cmin and (b1<b2 or b1<b3) or b1=cmin and (b2=cmax or b3=cmax) and obv<b2 or
b2=cmin and b3=cmax and obv<b1 or b3=cmin and obv<b1 and obv<b2,b1,obv,8,1),color00ff00;
stickline(b1=cmax and obv=cmin,b2,obv,3,0),color009900 ;
买入:stickline(b1=cmin and obv>=b2 or (b2=cmin and b1<=b3 or
b3=cmin and b1<=b2) and b2<b4 and obv>=b1,b1,b2,3,0),colorred;
抛售:stickline(b1=cmax and obv<b2 or (b2=cmax and b1>b3 or
b3=cmax and b1>b2) and b2>=b4 and obv<b1,b1,b2,3,0),colorblue{color00ffff};
v1:hhv(obv,0);
v3:=hhv(obv,5);
if(obv=v3,obv,drawnull),coloryellow,linethick3;
if(obv=v1,obv,drawnull),colorred,linethick3;
ma(obv,7),colorwhite;
ma(obv,21),colorliblue;
{好公式网-最好的股票公式网站 www.goodgongshi.com}
{drawtext(((((count((close < ref(close,1)),30) > 18) and (count((close < ref(close,1)),3) = 3)) and ((count((obv > ref(obv,1)),30) > 18) and (count((obv > ref(obv,1)),3) = 3))) and ((count((vol > ref(vol,1)),30) > 3) and ((vol / capital) <= (10 / 100)))),obv,'买盘较强');
drawtext(((((count((close > ref(close,1)),30) > 18) and (count((close > ref(close,1)),3) = 3)) and ((count((obv > ref(obv,1)),30) > 18) and (count((obv > ref(obv,1)),3) = 3))) and ((count((vol > ref(vol,1)),30) > 3) and ((vol / capital) <= (10 / 100)))),obv,'买盘逐渐加强');}
drawtext((((count((close > ref(close,1)),30) > 18) and (count((close > ref(close,1)),3) = 3)) and ((count((obv < ref(obv,1)),30) > 18) or (count((obv < ref(obv,1)),3) = 3))),obv,'买盘无力');
drawtext((cross(obv,0) and (count((ref(obv,1) < 0),3) = 3)),obv,'由负转正买入');
drawtext((cross(0,obv) and (count((ref(obv,1) > 0),3) = 3)),obv,'由正转负卖出。');
drawtext(((hhv(high,20) = high) and not((hhv(obv,20) = obv))),obv,'顶背离卖'),colorgreen;
drawtext(((llv(low,20) = low) and not((llv(obv,20) = obv))),obv,'底背离买'),colorred;
drawtext((((abs((obv - ref(obv,1))) / abs(ma(obv,5))) > 0.07) and (obv > ref(obv,1))),obv,'异常');
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自用的极品指标---由负转正买入由正转负卖出下载 通达信极品指标仅供学习研究。