赢在起点主图中长线趋势指标
{赢在起点}
{主图中长线趋势指标}
drawgbk(c>0,rgb(0,0,0),rgb(0,0,0),0,'03',0);
{当日买卖量}
现手买:=buyvol*dynainfo(7)*100/10000 color0000ff,nodraw;
现手卖:=sellvol*dynainfo(7)*100/10000 color00ff00,nodraw;
合:=abs(现手买)+abs(现手卖)color80ffff,nodraw;
差:=abs(现手买)-abs(现手卖)color80ffff,nodraw;
mpb1:=abs(现手买)/合*100;
mpb2:=abs(现手卖)/合*100;
testskip(not(现手买 or 现手卖 or 合 or 差 or mpb1 or mpb2)!=0);
{好公式网-最好的股票公式网站 www.goodgongshi.com}
n:=c;
a:=n;
s:=5;
b:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)
+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210,colorred,linethick1;
d07:=ema(b,1*s),colorred,linethick1;
d14:=ema(b,2*s),colorred,linethick1;
d21:=ema(b,3*s),colorred,linethick1;
d28:=ema(b,4*s),colorred,linethick1;
大值:=max(b,max(d07,max(d14,max(d21,d28))));
小值:=min(b,min(d07,min(d14,min(d21,d28))));
ub:=ema(大值*1.09,5);
lb:=ema(小值*0.91,5);
x1:=if(b>小值,小值,drawnull);
x2:=if(b<大值,大值,drawnull);
stickline(b=大值,ub,lb,5,0),colorff0000;
stickline(b=小值,ub,lb,5,0),colorlicyan;
stickline(b<大值 and b>小值,ub,lb,5,0),color888888;
drawband(x1,rgb(80,180,80),b,rgb(200,0,128));
drawband(x2,rgb(80,180,80),b,rgb(200,0,128));
drawkline(high,open,low,close);
{显示买卖量};
drawrectrel(100,1000,400,940,rgb(190,190,190));
drawrectrel(100,995,400,945,rgb(200,200,200));
drawrectrel(100,990,400,950,rgb(210,210,210));
drawrectrel(100,985,400,955,rgb(220,220,220));
drawrectrel(100,980,400,960,rgb(230,230,230));
drawrectrel(100,975,400,965,rgb(240,240,240));
drawrectrel(100,970,400,970,rgb(250,250,250));
drawrectrel(250-现手卖*200/合,1000,250,940,rgb(0,128,0));
drawrectrel(250-现手卖*200/合,995,250,945,rgb(0,148,0));
drawrectrel(250-现手卖*200/合,990,250,950,rgb(0,168,0));
drawrectrel(250-现手卖*200/合,985,250,955,rgb(0,188,0));
drawrectrel(250-现手卖*200/合,980,250,960,rgb(0,208,0));
drawrectrel(250-现手卖*200/合,975,250,965,rgb(0,228,0));
drawrectrel(250-现手卖*200/合,970,250,970,rgb(0,248,0));
drawrectrel(250,1000,250+现手买*200/合,940,rgb(128,0,0));
drawrectrel(250,995,250+现手买*200/合,945,rgb(148,0,0));
drawrectrel(250,990,250+现手买*200/合,950,rgb(168,0,0));
drawrectrel(250,985,250+现手买*200/合,955,rgb(188,0,0));
drawrectrel(250,980,250+现手买*200/合,960,rgb(208,0,0));
drawrectrel(250,975,250+现手买*200/合,965,rgb(228,0,0));
drawrectrel(99.8,1000.2,99.8,939.8,rgb(250,250,0));{左}
drawrectrel(400.2,939.8,400.2,1000.2,rgb(250,250,0));{右}
drawrectrel(99.8,939.8,400.2,939.8,rgb(250,250,0));{上}
drawrectrel(250,1000,250,940,rgb(250,250,0));{中}
drawtext_fix(1,0.38,0.9,0,strcat(strcat('',con2str(现手买,1)),'万')),colorff00ff;
drawtext_fix(1,0.08,0.9,0,strcat(strcat('',con2str(现手卖,1)),'万')),colorffff00;
drawtext_fix(currbarscount=1 and(差)>0,0.21,0.9,0,strcat(' ',strcat(con2str(差,1),'万'))) colorff00ff;
drawtext_fix(currbarscount=1 and(差)<0,0.21,0.9,0,strcat(' ',strcat(con2str(差,1),'万'))) color00ffff;
drawtext_fix(currbarscount=1 and(差)=0,0.21,0.9,0,strcat(' ',strcat(con2str(差,1),'万'))) colorffff00;
drawtext_fix(1,0.048,0.95,0,strcat(strcat(' ',con2str(mpb2,1)),'%%')),colorffff00;
drawtext_fix(1,0.408,0.95,0,strcat(strcat('',con2str(mpb1,1)),'%%')),colorff00ff;
{显示日期};
d1:=year and month and day;
aa1:=strcat(con2str(year,0),'年');
aa2:=strcat(con2str(month,0),'月');
aa3:=strcat(con2str(day,0),'日');
aa4:=strcat('【',if(weekday=1,'一',if(weekday=2,'二',if(weekday=3,'三',if(weekday=4,'四',if(weekday=5,'五',if(weekday=6,'六','日')))))));
aa5:=strcat(strcat(strcat(aa1,aa2),strcat(aa3,aa4)),'】');
drawtext_fix(d1,0.7,0.95,0,aa5),colorffff00;
上一指标公式:金牛能量下载
下一指标公式:PL多空趋势PL庄家吸筹副图下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文赢在起点主图中长线趋势指标下载仅供学习研究。