阴阳乾坤主图
参数n自己设定:
{买入卖出}
var3:=llv(high,240);
var4:=100*(close-var3)/var3;
var5:=(close-llv(low,528))/(hhv(high,528)-llv(low,528))*100;
var6:=(close-llv(close,530))/(hhv(close,530)-llv(close,530))*100;
var7:=0;
var8:=sma(max(close-ref(close,1),0),34,1)/sma(abs(close-ref(close,1)),7,1)*100;
var9:=sma(max(close-ref(close,1),0),13,1)/sma(abs(close-ref(close,1)),13,1)*100;
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var12:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var14:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var16:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
var19:=ema(close,2)-ema(close,150);
买1:=var10;
买2:=(var11+var13+var15+var17);
卖1:=(var12+var14+var16+var18);
drawtext(买1>0 or 买2>0,low*1,'←买入'),crossdot,linethick1,colorred;
drawtext(卖1>0,high*1,'←卖出'),crossdot,linethick1,colorgreen;
a74:=ma(close,20);
a75:=(close > ma(close,5));
a76:=(ma(close,5) > ma(close,10));
a77:=(close > ma(close,10));
a78:=(ma(close,5) > ma(close,20));
a79:=(close > ma(close,20));
a710:=ref(a74,1);
a711:=(a74 > a710);
avx:=(((((if(a75,10,(0 - 10)) + if(a76,10,(0 - 10))) + if(a77,10,(0 - 10))) + if(a78,10,(0 - 10))) + if(a79,10,(0 - 10))) + if(a711,10,(0 - 10)));
dslx:=(close / indexc);
dslx1:=ma(dslx,5);
dslx2:=ma(dslx,10);
v1:=ma(vol,5);
v2:=ma(vol,10);t := barslast(dispstatus=1)+1;
t := barslast(dispstatus=1)+1;
hhg := hhv(h, t);
ddg := llv(l, t);
{hk := ll-hh; g12 := ll-hk*1.55; }
if barstatus=2 and c<200 and ((cross(avx,1) and (v1 >= v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。 '),color0000ff,linethick3;
if barstatus=2 and c<200 and ((cross(avx,1) and (v1 < v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。 '),color0000ff,linethick3;
if barstatus=2 and c<200 and ((cross(avx,1) and (v1 > v2)) and (dslx < dslx1)) then
drawtextabs(20,100,'该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。 '),color0000ff,linethick3;
if barstatus=2 and c<200 and ((cross(avx,1) and (v1 <= v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。 '),color0000ff,linethick3;
if barstatus=2 and c<200 and ((cross(1,avx) and (v1 >= v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((cross(1,avx) and (v1 < v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((cross(1,avx) and (v1 >= v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股放量下跌,走势明显偏弱,离场观望。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((cross(1,avx) and (v1 < v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股缩量下跌,走势偏弱,离场观望。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股形态良好,强势明显,量能充足,可以继续持有。 '),color00ffff,linethick3;
if barstatus=2 and c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股上行趋势不变,强势依然,但量能开始转弱,注意风险。 '),color00ffff,linethick3;
if barstatus=2 and c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。 '),color00ffff,linethick3;
if barstatus=2 and c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股走势趋弱,量能不足,减持大部分筹码。 '),color00ffff,linethick3;
if barstatus=2 and c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股形态不佳,注意成交量的变化,但目前不适合参与。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股有走强迹象,但量能不足,趋势不明,不适合操作。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股走势太弱,没有参与价值。 '),color00ff00,linethick3;
if barstatus=2 and c>200 and (cross(avx,1) and (v1 >= v2)) then
drawtextabs(32,100,'大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右, '),color0000ff,linethick3;
if barstatus=2 and c>200 and (cross(avx,1) and (v1 >= v2)) then
drawtextabs(32,100,'如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。 '),color0000ff,linethick3;
if barstatus=2 and c>200 and (cross(avx,1) and (v1 < v2)) then
drawtextabs(32,100,'大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌, '),color0000ff,linethick3;
if barstatus=2 and c>200 and (cross(avx,1) and (v1 < v2)) then
drawtextabs(32,100,'可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入。 '),color0000ff,linethick3;
if barstatus=2 and c>200 and (cross(1,avx) and (v1 >= v2)) then
drawtextabs(32,100,'大盘形态走坏,重仓者可以减去大部分仓位。 '),color00ff00,linethick3;
if barstatus=2 and c>200 and (cross(1,avx) and (v1 < v2)) then
drawtextabs(32,100,'大盘缩量调整,注意风险,短线清仓观望。 '),color00ff00,linethick3;
if barstatus=2 and c>200 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) then
drawtextabs(32,100,'大盘走势良好,量能理想,可以继续持有强势股。 '),color00ffff,linethick3;
if barstatus=2 and c>200 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) then
drawtextabs(32,100,'大盘形态良好,但量能稍显不足,随时准备减仓。 '),color00ffff,linethick3;
if barstatus=2 and c>200 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) then
drawtextabs(32,100,'大盘趋势不明,注意成交量变化,目前不适宜进场。 '),color00ff00,linethick3;
if barstatus=2 and c>200 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) then
drawtextabs(32,100,'大盘趋势向下,量能萎缩,不适合进场。 '),color00ff00,linethick3;
{量能饱和度}
sat:=if((amount/c)/(hhv(amount,20)/hhv(c,20))*100>100,100,(amount/c)/(hhv(amount,20)/hhv(c,20))*100);
drawtextrel(300,40,'量能饱和度:'+numtostrn(sat,0)),linethick2,color00ffff;
e:=(high+low+open+2*close)/5;
明日阻力:=2*e-low;
明日支撑:=2*e-high;
明日突破:=e+(high-low);
明日反转:=e-(high-low);
今日阻力:=ref(明日阻力 , 1);
今日支撑:=ref(明日支撑 , 1);
drawtextrel(10,0,'今日阻力=:'+numtostrn(今日阻力,2 )+''),color00ffff;
drawtextrel(10,30,'今日支撑=:'+numtostrn(今日支撑,2 )+''),color00ff00;
drawtextrel(10,60,'明日突破=:'+numtostrn(明日突破,2 )),colorff00ff;
drawtextrel(10,90,'明日阻力=:'+numtostrn(明日阻力,2 )),colorffff00;
drawtextrel(10,120,'明日支撑=:'+numtostrn(明日支撑,2 )),colorred;
drawtextrel(10,150,'明日反转=:'+numtostrn(明日反转,2 )),colorgreen;
drawtextrel(820,800,'黄金卖点:'+numtostrn(ema(c+(h-l)*0.618,3),2 )),linethick2,coloryellow;
drawtextrel(820,740,'黄金买点:'+numtostrn(ema((o+h+l)/3,4),2 )),linethick2,coloryellow;
drawtextrel(820,870,'昨测今日买点:'+numtostrn(ref(ema((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4,1),2 )),linethick2,colorwhite;
drawtextrel(820,930,'昨测今日卖点:'+numtostrn(ref(ema(c+(h-l)*0.618,3)+(ema(c+(h-l)*0.618,3)-ema((o+h+l)/3,4))*0.618,1),2 )),linethick2,colorwhite;
ab1:=cost(0.33);
ab2:=cost(5);
ab3:=cost(15);
ab4:=cost(55);
ab5:=cost(97);
获利:=winner(close)*100;
套牢:=100-winner(close)*100;
drawtextabs(520,25,'建仓:'+numtostrn(ab2,2)),color00ffff;
drawtextabs(600,25,'快刀:'+numtostrn(ab3,2)),color00ffff;
drawtextabs(675,25,'升浪:'+numtostrn(ab4,2)),color00ffff;
drawtextabs(520,40,'获利:'+numtostrn(获利,2)+'%'),color00ffff;
drawtextabs(600,40,'套牢:'+numtostrn(套牢,2)+'%'),color00ffff;
drawtextabs(675,40,'预测:'+numtostrn(ab5,2)),color00ffff;
{45度异动}
x1:=(c+l+h)/3;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),
ema8,'∠45上升'),coloryellow;
{老鼠仓}
aa1:=amount/v;
bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l<ma(c,5)*0.921;
ee1:=v<ma(v,5)*1.5;
老鼠仓:bb1 and cc1 and dd1 and ee1,linethick0;
drawtext(老鼠仓,(low* 0.99),'老鼠仓'),color40ccff;
mtm:=c-ref(c,1);
dx1:=100*ema(ema(mtm,n),n)/ema(ema(abs(mtm),n),n);
买1:=if(llv(dx1,2)=llv(dx1,7) and count(dx1<0,2) and cross(dx1,ma(dx1,2)),1,0);
卖1:=if(hhv(dx1,2)=hhv(dx1,7) and count(dx1>50,2) and cross(ma(dx1,2),dx1),1,0);
drawtext(filter(卖1=1,5),high*1.02, ' '),color00ff00,align1;
drawtext(filter(买1=1,5),low*0.99, ' '),colorred,align1;
drawicon(filter(买1=1,5),low*0.99,7),align1;
drawicon(filter(卖1=1,5),high*1.04, 8),align1;
阴阳分界线:ema(c,17),linethick1,colorwhite;
现价:ema(c,1),linethick1,colorwhite;
阴阳卖出带:ema(c,17),linethick1,colorwhite;
阴阳买入带:ema(c,17),linethick1;
阴阳卖出线:ema(c,17),linethick1,colorred;
阴阳买入线:ema(c,17),linethick1,colorff0000;
阳上:阴阳分界线+3*std(c,17),linethick1,colorred;
阳下:阴阳分界线+2*std(c,17),linethick1,colorred;
阴上:阴阳分界线-2*std(c,17),linethick1,colorff0000;
阴下:阴阳分界线-3*std(c,17),linethick1,colorff0000;
drawbmp(cross(阴下,low),阴下*0.96,'红宝石'),align1;
drawbmp(cross(high,阳上),high*1.035,'绿宝石'),align1;
黄金生命线:(ema(close,17) * 1.0);
partline(黄金生命线,close >黄金生命线),linethick2,colorff00ff;
partline(黄金生命线,黄金生命线> close),linethick2,color00ff00;
{黑马线}
a51:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1);
黑马线:=ema(a51,5);
a54:=((c-llv(l,21))/(hhv(h,21)-llv(l,21)))*100;
趋势线:=(ma(3*sma(a54,6,1)-2*sma(sma(a54,5,1),5,1),2));
drawtext(cross(趋势线,0)and 黑马线<40,(high* 0.97),'▲大黑马'),coloryellow;
上一指标公式:趋势为先公式下载 大智慧为先
下一指标公式:进入底部抢钱L2版公式下载 大智慧L2抢钱
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文阴阳乾坤主图公式下载 大智慧乾坤仅供学习研究。