自用备份指标--obv+解盘<<需新版通达信可用 原码 主副图 贴图>>
obv+解盘 自己合成
va:=if(close>ref(close,1),vol,-vol);
obv:sum(if(close=ref(close,1),0,va),0),coloraaaaaa;
maobv:ma(obv,15),color000099;
maobv2:ma(obv,30),color00aaaa;
{箱顶:hhv( obv,21),color0000ff;
箱底:llv( obv,21),color00ff00;}
upper:maobv+2*std(obv,30),colorffff00,pointdot;
lower:maobv-2*std(obv,30),colorff0000,pointdot;
tt:=240/fromopen;
比:=tt;
促进指数mfl:=(high-low)*1000000/(vol*比),colorred;
ay2:=ema(close,12)-ema(close,26);
az2:=ema(ay2,9);
lt2:=(ay2-az2);
l211:=if(lt2,llv(l,21),drawnull),color217158,circledot;
zgd:=hhv(h,80)*0.99;
zgd2:=const(zgd);
zdd:=llv(l211,80);
zdd2:=const(zdd);
yya4:=ma(close,20);
yya5:=(close > ma(close,5));
yya6:=(ma(close,5) > ma(close,10));
yya7:=(close > ma(close,10));
yya8:=(ma(close,5) > ma(close,20));
yya9:=(close > ma(close,20));
yya10:=ref(yya4,1);
yya11:=(yya4 > yya10);
yyavx:=(((((if(yya5,10,(0 - 10)) + if(yya6,10,(0 - 10))) + if(yya7,10,(0 - 10))) + if(yya8,10,(0 - 10))) + if(yya9,10,(0 - 10))) + if(yya11,10,(0 - 10)));
dslx:=(close / indexc);
dslx1:=ma(dslx,5);
dslx2:=ma(dslx,10);
yyv1:=ma(vol,5);
yyv2:=ma(vol,10);
j1:=const(if( yyavx > 0,200,100));
j2:=const(if( yyavx > 0,00,100));
j3:=const(if( yyavx > 0,100,100));
zgd3:=zgd2;
zdd3:=zdd2;
zgd4:=zgd2;
情况1:=const(if(((cross(yyavx,1) and (yyv1 >= yyv2)) and (dslx >= dslx1)),1,0));
情况2:=const(if(((cross(yyavx,1) and (yyv1 < yyv2)) and (dslx >= dslx1)),1,0));
情况3:=const(if(((cross(yyavx,1) and (yyv1 > yyv2)) and (dslx < dslx1)),1,0));
情况4:=const(if(((cross(yyavx,1) and (yyv1 <= yyv2)) and (dslx < dslx1)),1,0));
情况5:=const(if(((cross(1,yyavx) and (yyv1 >= yyv2)) and (dslx >= dslx1)),1,0));
情况6:=const(if(((cross(1,yyavx) and (yyv1 < yyv2)) and (dslx >= dslx1)),1,0));
情况7:=const(if(((cross(1,yyavx) and (yyv1 >= yyv2)) and (dslx < dslx1)),1,0));
情况8:=const(if(((cross(1,yyavx) and (yyv1 < yyv2)) and (dslx < dslx1)),1,0));
情况9:=const(if(((((yyavx >= 1) and (ref(yyavx,1) > 0)) and (yyv1 >= yyv2)) and (dslx >= dslx1)),1,0));
情况10:=const(if(((((yyavx >= 1) and (ref(yyavx,1) > 0)) and (yyv1 < yyv2)) and (dslx >= dslx1)),1,0));
情况11:=const(if(((((yyavx >= 1) and (ref(yyavx,1) > 0)) and (yyv1 >= yyv2)) and (dslx < dslx1)),1,0)),nodraw;
情况12:=const(if(((((yyavx >= 1) and (ref(yyavx,1) > 0)) and (yyv1 < yyv2)) and (dslx < dslx1)),1,0));
情况13:=const(if(((((yyavx < 1) and (ref(yyavx,1) < 0)) and (yyv1 >= yyv2)) and (dslx >= dslx1)),1,0));
情况14:=const(if(((((yyavx < 1) and (ref(yyavx,1) < 0)) and (yyv1 < yyv2)) and (dslx >= dslx1)),1,0));
情况15:=const(if(((((yyavx < 1) and (ref(yyavx,1) < 0)) and (yyv1 >= yyv2)) and (dslx < dslx1)),1,0));
情况16:=const(if(((((yyavx < 1) and (ref(yyavx,1) < 0)) and (yyv1 < yyv2)) and (dslx < dslx1)),1,0));
大盘1:=const(if((cross(yyavx,1) and (yyv1 >= yyv2)),1,0));
大盘2:=const(if((cross(yyavx,1) and (yyv1 < yyv2)),1,0));
大盘3:=const(if((cross(1,yyavx) and (yyv1 >= yyv2)),1,0));
大盘4:=const(if((cross(1,yyavx) and (yyv1 < yyv2)),1,0));
大盘5:=const(if((((yyavx >= 1) and (ref(yyavx,1) > 0)) and (yyv1 >= yyv2)),1,0));
大盘6:=const(if((((yyavx >= 1) and (ref(yyavx,1) > 0)) and (yyv1 < yyv2)),1,0));
大盘7:=const(if((((yyavx < 1) and (ref(yyavx,1) < 0)) and (yyv1 >= yyv2)),1,0));
大盘8:=const(if((((yyavx < 1) and (ref(yyavx,1) < 0)) and (yyv1 < yyv2)),1,0));
mfi:=(high-low)*1000000/(vol*比);
绿灯:=mfi>=ref(mfi,1)and vol*比>=ref(vol,1);
mmm1:=const(绿灯);
衰退:=mfi<ref(mfi,1)and vol*比<ref(vol,1);
mmm2:=const(衰退);
伪装:=mfi>=ref(mfi,1)and vol*比<ref(vol,1);
mmm3:=const(伪装);
蛰伏:=mfi<ref(mfi,1)and vol*比>=ref(vol,1);
mmm4:=const(蛰伏);
ts1:=if(情况1=1,0.06+0.06,0.06);
ts2:=if(情况2=1,ts1+0.18,ts1);
ts3:=if(情况3=1,ts2+0.18,ts2);
ts4:=if(情况4=1,ts3+0.18,ts3);
ts5:=if(情况5=1,ts4+0.18,ts4);
ts6:=if(情况6=1,ts5+0.18,ts5);
ts7:=if(情况7=1,ts6+0.18,ts6);
ts8:=if(情况8=1,ts7+0.18,ts7);
ts9:=if(情况9=1,ts8+0.18,ts8);
ts10:=if(情况10=1,ts9+0.18,ts9);
ts11:=if(情况11=1,ts10+0.18,ts10);
ts12:=if(情况12=1,ts11+0.18,ts11);
ts13:=if(情况13=1,ts12+0.18,ts12);
ts14:=if(情况14=1,ts13+0.18,ts13);
ts15:=if(情况15=1,ts14+0.18,ts14);
ts16:=if(情况16=1,ts15+0.18,ts15);
ts17:=if(大盘1=1,ts16+0.18,ts16);
ts18:=if(大盘2=1,ts17+0.18,ts17);
ts19:=if(大盘3=1,ts18+0.18,ts18);
ts20:=if(大盘4=1,ts19+0.18,ts19);
ts21:=if(大盘5=1,ts20+0.18,ts20);
ts22:=if(大盘6=1,ts21+0.18,ts21);
ts23:=if(大盘7=1,ts22+0.18,ts22);
ts24:=if(大盘8=1,ts23+0.18,ts23);
ts25:=if(mmm1=1,ts24+0.18,ts24);
ts26:=if(mmm2=1,ts25+0.18,ts25);
ts27:=if(mmm3=1,ts26+0.18,ts26);
ts28:=if(mmm4=1,ts27+0.18,ts27);
drawtext_fix(情况1=1 ,0.06,ts1,0,'量能理想,明显走强,中线参与,仓位在2/3左右'),colorff00ff;
drawtext_fix(情况2=1 ,0.06,ts2,0,'走势趋强量能不足,短线进场,仓位在1/2左右'),colorff00ff;
drawtext_fix(情况3=1 ,0.06,ts3,0,'量价良好,并没有明显走强,短线进场,仓位1/2左右。'),colorff00ff;
drawtext_fix(情况4=1 ,0.06,ts4,0,'形态尚可,量能不足,未完全走强,短线参与,仓位1/3左右。'),colorff00ff;
drawtext_fix(情况5=1 ,0.06,ts5,0,'形态变坏,走势尚可,重仓减大半,清仓者观望。'),color00ffff;
drawtext_fix(情况6=1 ,0.06,ts6,0,'随大盘一起下跌,明显缩量走势,考虑大盘风险,减持或清仓。'),color00ffff;
drawtext_fix(情况7=1 ,0.06,ts7,0,'该股放量下跌,走势明显偏弱,离场观望。'),colorffffff;
drawtext_fix(情况8=1 ,0.06,ts8,0,'该股缩量下跌,走势偏弱,离场观望。'),colorffff00;
drawtext_fix(情况9=1 ,0.06,ts9,0,'该股形态良好,强势明显,量能充足,可以继续持有。'),color00ffff;
drawtext_fix(情况10=1,0.06,ts10,0,'该股上行趋势不变,强势依然,但量能开始转弱,注意风险'),color00ffff;
drawtext_fix(情况11=1,0.06,ts11,0,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。'),colorffffff;
drawtext_fix(情况12=1,0.06,ts12,0,'该股走势趋弱,量能不足,减持大部分筹码'),colorffff00;
drawtext_fix(情况13=1,0.06,ts13,0,'该股形态不佳,注意成交量的变化,但目前不适合参与。'),colorffff00;
drawtext_fix(情况14=1,0.06,ts14,0,'该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。');
drawtext_fix(情况15=1,0.06,ts15,0,'有走强迹象,但量能不足,趋势不明,不适合操作'),colorffff00;
drawtext_fix(情况16=1,0.06,ts16,0,'该股走势太弱,没有参与价值。'),colorffffff;
drawtext_fix(大盘1,0.06,ts17,0,'总势量能理想,2/3仓位, 前一轮下跌,是否最佳买点,否则谨慎介入。'),color00ff00;
drawtext_fix(大盘2,0.06,ts18,0,'总势趋强,量能不足,若前一轮下跌,短线进场1/2,量能放大加仓。'),colorff00ff;
drawtext_fix(大盘3,0.06,ts19,0,'总势形态走坏,重仓者可以减去大部分仓位。'),coloraaaaaa;
drawtext_fix(大盘4,0.06,ts20,0,'总势缩量调整,注意风险,短线清仓观望。'),colorffffff;
drawtext_fix(大盘5,0.06,ts21,0,'总势走势良好,量能理想,可以继续持有强势股。'),color00ffff;
drawtext_fix(大盘6,0.06,ts22,0,'总势形态良好,但量能稍显不足,随时准备减仓'),color00ff00;
drawtext_fix(大盘7,0.06,ts23,0,'总势趋势不明,注意成交量变化,目前不适宜进场。'),colorffffff;
drawtext_fix(大盘8,0.06,ts24,0,'总势趋势向下,量能萎缩,不适合进场。'),colorffffff;
drawtext_fix(mmm1,0.06,ts25,0,'[绿灯]实计交易量增加。mfi促进指数增加。'),colorffffff;
drawtext_fix(mmm2,0.06,ts26,0,'[衰退]实计交易量减少。mfi促进指数减少。'),colorgreen;
drawtext_fix(mmm3,0.06,ts27,0,'[伪装]实计交易量减少。mfi促进指数增加。'),colorgreen;
drawtext_fix(mmm4,0.06,ts28,0,'[蛰伏]实计交易量增加。mfi促进指数减少。'),coloryellow
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自用备份-OBV+解盘需新版可用TDX主副图指标下载 通达信备份可用仅供学习研究。