好美主图
drawgbk( ema((ema(close,4)+ema(close,7)+ema(close,14)+ema(close,18))/4,2)>ref(ema((ema(close,4)+ema(close,7)+ema(close,14)+ema(close,18))/4,2),1),strip(rgb(220,0,0) ,rgb(40,0,0),2));
drawgbk( ema((ema(close,4)+ema(close,7)+ema(close,14)+ema(close,18))/4,2)<ref(ema((ema(close,4)+ema(close,7)+ema(close,14)+ema(close,18))/4,2),1),strip(rgb(0,220,100) ,rgb(0,50,20),2));
{操盘手bs}
买线:=ema(c,2);
卖线:=ema(slope(c,21)*20+c,42);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
drawtext(bu,low,'b'),align1,valign0,coloryellow,linethick2;
drawtext(sel,high,'s'),align1,valign2,colorffff00,linethick2;
ma5:ma(c,5),colorred,linethick2;
dd5:=ma5<ref(ma5,1);
partline(ma5,dd5),colorffff00,linethick2;
x:=(3*c+l+o+h)/6;
多空线:(20*x+19*ref(x,1)+18*ref(x,2)+17*ref(x,3)+16*ref(x,4)+15*ref(x,5)+14*ref(x,6)
+13*ref(x,7)+12*ref(x,8)+11*ref(x,9)+10*ref(x,10)+9*ref(x,11)+8*ref(x,12)
+7*ref(x,13)+6*ref(x,14)+5*ref(x,15)+4*ref(x,16)+3*ref(x,17)+2*ref(x,18)+
ref(x,20))/210,coloryellow,linethick2;
dd:=多空线<ref(多空线,1);
partline(多空线,dd),colorblue,linethick5;
a:=(ma5>多空线);
partline(多空线,a),coloryellow,pointdot;
a1:=(ma5<多空线);
partline(多空线,a1),colorwhite;
stickline((c<=o),c,o,3,0),color998855;
stickline((c<=o),c,o,1.5,0),colorbbaa77;
stickline((c<=o),c,o,0.8,0),colorddcc99;
stickline((c>=o),c,o,3,0),colorred;
stickline((c>=o),c,o,1.5,0),colorff00ff;
stickline((c>=o),c,o,0.8,0);
drawtextrel(820,680,'黄金卖点:'+numtostrn(ema(c+(h-l)*0.618,3),2 )),linethick2,coloryellow;
drawtextrel(820,620,'黄金买点:'+numtostrn(ema((o+h+l)/3,4),2 )),linethick2,coloryellow;
drawtextrel(820,750,'昨测今日买点:'+numtostrn(ref(ema((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4,1),2 )),linethick2,colorwhite;
drawtextrel(820,810,'昨测今日卖点:'+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;
cdp:=(ref(h,1)+ref(l,1)+ref(c,1)*2+o)/5;
e:=cdp;
zl:=2*e-ref(l,1);
zc:=2*e-ref(h,1);
fz:=e-(ref(h,1)-ref(l,1));
zz:=cdp+(ref(h,1)-ref(l,1));
drawtextabs(10,80,'低吸:'+ numtostrn(zc,3)),colorffffff;
drawtextabs(10,60,'中价:'+ numtostrn(e,3)),colorffff10;
drawtextabs(10,40,'高抛:'+ numtostrn(zl,3)),colorgreen;
drawtextabs(10,20,'追涨:'+ numtostrn(zz,3)),coloryellow;
drawtextabs(10,100,'杀跌:'+ numtostrn(fz,3)),colorff77ff;
stickline(dispstatus=2 ,zl,zl,50,9991),colorgreen;
stickline(dispstatus=2 ,zc,zc,50,9991),colorffffff;
stickline(dispstatus=2 ,e,e,50,9991),colorffff10;
stickline(dispstatus=2 ,fz,fz,50,9991),colorff77ff;
stickline(dispstatus=2 ,zz,zz,50,9991),coloryellow;
n:=20;
均价:=(3*c+h+l+o)/6;
var1:=(8*均价+7*ref(均价,1)+6*ref(均价,2)+5*ref(均价,3)+4*ref(均价,4)+3*ref(均价,5)+2*ref(均价,6)+ref(均价,8))/36;
var2:=(llv(var1,2)+llv(var1,4)+llv(var1,6))/3;
sz1:=ref(var1,1)=ref(var2,1) and var1>var2 and close>var1;
sz2:=var1>var2 and var1>ref(var1,1) and var2>ref(var2,1) and h/var1<1.1 and l>var2 and close>var1;
sz3:=var1>var2 and var1>ref(var1,1) and var2>=ref(var2,1) and h/var1>1.1;
sz4:=var1>var2 and var1>ref(var1,1) and var2>ref(var2,1) and close>var2 and close<var1;
sz5:=(var1>var2 and var2>ref(var2,1) and var1<>ref(var1,1) and close<var2) or (var1>var2 and var1<ref(var1,1) and var2<ref(var2,1) and close<var2);;
sz6:=ref(var1,1)>ref(var2,1) and var1=var2 and close<var2;
xd1:=var1=var2 and close<var2 or (var1<ref(var1,1) and var2<ref(var2,1) and ref(var1,1)=ref(var2,1) and close<var2);
xd2:=var1=var2 and close>var1;
sat:=(amount/c)/(hhv(amount,n)/hhv(c,n));
量能饱和度:=if(sat>1,1,sat)*100;
if barstatus=2 and sz1 then begin
drawtextabs(320,25,'调整结束短线介入'),colorred;
end
else
if barstatus=2 and sz2 then begin
drawtextabs(320,25,'上升通道走势良好'),colorred;
end
else
if barstatus=2 and sz3 then begin
drawtextabs(320,25,'股价偏离注意调整'),colorred;
end
else
if barstatus=2 and sz4 then begin
drawtextabs(320,25,'上升通道调整洗盘'),colorgreen;
end
else
if barstatus=2 and sz5 then begin
drawtextabs(320,25,'转向特征注意离场'),colorgreen;
end
else
if barstatus=2 and sz6 then begin
drawtextabs(320,25,'通道改变坚决离场'),colorgreen;
end
else
if barstatus=2 and xd1 then begin
drawtextabs(320,25,'下跌通道只宜观望'),colorgreen;
end
else
if barstatus=2 and xd2 then begin
drawtextabs(320,25,'短期底部准备进入'),coloryellow;
end;
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;
明日阻力:=2*e-low;
明日支撑:=2*e-high;
明日突破:=e+(high-low);
明日反转:=e-(high-low);
今日阻力:=ref(明日阻力 , 1);
今日支撑:=ref(明日支撑 , 1);
drawtextrel(10,600,'今日阻力=:'+numtostrn(今日阻力,2 )+''),color00ffff;
drawtextrel(10,650,'今日支撑=:'+numtostrn(今日支撑,2 )+''),color00ff00;
drawtextrel(10,700,'明日突破=:'+numtostrn(明日突破,2 )),colorff00ff;
drawtextrel(10,750,'明日阻力=:'+numtostrn(明日阻力,2 )),colorffff00;
drawtextrel(10,800,'明日支撑=:'+numtostrn(明日支撑,2 )),colorred;
drawtextrel(10,850,'明日反转=:'+numtostrn(明日反转,2 )),colorgreen;
pt:= ref(high,1)-ref(low,1);
重心:=(high + low + close)/3;
压力ⅰ:= 2*重心-low;
压力ⅱ:= 重心 + pt;
支撑ⅰ:= 2*重心-high;
支撑ⅱ:= 重心 - pt;
drawtextabs(100,13,'《逆势操作》'),colorffff00;
drawtextabs(175,13,'重心:'+重心),color208fff;
drawtextabs(100,32,' 支撑'),colorffffff;
drawtextabs(100,49,' '+支撑ⅰ),colorffffff;
drawtextabs(100,67,' '+支撑ⅱ),colorffffff;
drawtextabs(100,32,' 压力'),color00ff00;
drawtextabs(100,49,' '+压力ⅰ),color00ff00;
drawtextabs(100,67,' '+压力ⅱ),color00ff00;
drawtextabs(100,10,'│'),color00ffff;
drawtextabs(100,22,'│'),color00ffff;
drawtextabs(100,34,'│'),color00ffff;
drawtextabs(100,46,'│'),color00ffff;
drawtextabs(100,58,'│'),color00ffff;
drawtextabs(100,70,'│'),color00ffff;
drawtextabs(243,10,'│'),color00ffff;
drawtextabs(243,22,'│'),color00ffff;
drawtextabs(243,34,'│'),color00ffff;
drawtextabs(243,46,'│'),color00ffff;
drawtextabs(243,58,'│'),color00ffff;
drawtextabs(243,70,'│'),color00ffff;
drawtextabs(171,30,'│'),color00ffff;
drawtextabs(171,34,'│'),color00ffff;
drawtextabs(171,46,'│'),color00ffff;
drawtextabs(171,58,'│'),color00ffff;
drawtextabs(171,70,'│'),color00ffff;
drawtextabs(105,5,'────────────'),color00ffff;
drawtextabs(105,25,'────────────'),color00ffff;
drawtextabs(105,42,'────────────'),color00ffff;
drawtextabs(105,59,'────────────'),color00ffff;
drawtextabs(105,76,'────────────'),color00ffff;
{支撑}
var1111:=backset(ref(high,2)=hhv(high,5),3);
var2222:=cross(var1111,0.9);
var3333:=backset(ref(low,2)=llv(low,5),3);
var4444:=cross(var3333,0.9);
压力: ref(high,barslast(var2222)), pointdot,colorea91b5;
stickline(close,ref(high,barslast(var2222)),ref(high,barslast(var2222)),5,0),colorea91b5;
支撑: ref(low,barslast(var4444)), pointdot,color00b4ff,linethick3;
stickline(close,ref(low,barslast(var4444)),ref(low,barslast(var4444)),5,0),color00b4ff;
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*0.99,'←b'),crossdot,linethick1,color00ffff;
drawtext(卖1>0,high*1.02,'←s'),crossdot,linethick1,colorgreen;
var100:=(100 - ((90 * (hhv(high,20) - close)) / (hhv(high,20) - llv(low,20))));
var200:=(100 - ((90 * (hhv(high,20) - close)) / (hhv(high,20) - llv(low,20))));
var300:=(100 - ma(((100 * (hhv(high,5) - close)) / (hhv(high,5) - llv(low,5))),34));
qc8:=zig(3,13);
买:drawtext((ref(qc8,2) > ref(qc8,1)) and (qc8 > ref(qc8,1)),low - (low)*(0.05),'买'),colorred;
卖:drawtext((ref(qc8,2) < ref(qc8,1)) and (qc8 < ref(qc8,1)),h*1.03{low - (low)*(0.03)},'卖'),color66ff00;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文好美主图公式下载 大智慧好美仅供学习研究。