漂亮的短线主图
漂亮的短线主图源码:
ts:=130;
n:=99;
m:=3;
mt:=3;
m1:=5;
m2:=7;
m3:=21;
m4:=12;
m5:=50;
da1:=if(ts>totalbarscount,totalbarscount,ts);
da:=if(currbarscount>da1,0,da1);
hi:=refdate(hhv(h,da),date);
lo:=refdate(llv(l,da),date);
c1:=if(currbarscount<=da,c,drawnull);
gz:=exp(ln(hi/lo)/10);
lh1:=sum(if(c1>=(hi/gz),v,0),da);
lh2:=sum(if(c1>=(hi/pow(gz,2)) and c1<(hi/gz),v,0),da);
lh3:=sum(if(c1>=(hi/pow(gz,3)) and c1<(hi/pow(gz,2)),v,0),da);
lh4:=sum(if(c1>=(hi/pow(gz,4)) and c1<(hi/pow(gz,3)),v,0),da);
lh5:=sum(if(c1>=(hi/pow(gz,5)) and c1<(hi/pow(gz,4)),v,0),da);
lh6:=sum(if(c1>=(hi/pow(gz,6)) and c1<(hi/pow(gz,5)),v,0),da);
lh7:=sum(if(c1>=(hi/pow(gz,7)) and c1<(hi/pow(gz,6)),v,0),da);
lh8:=sum(if(c1>=(hi/pow(gz,8)) and c1<(hi/pow(gz,7)),v,0),da);
lh9:=sum(if(c1>=(lo*gz) and c1<lo*pow(gz,2),v,0),da);
lh10:=sum(if(c1>=lo and c1<lo*gz,v,0),da);
l1:=refdate(hhv(lh1,da),date),linethick0;
l2:=refdate(hhv(lh2,da),date),linethick0;
l3:=refdate(hhv(lh3,da),date),linethick0;
l4:=refdate(hhv(lh4,da),date);
l5:=refdate(hhv(lh5,da),date);
l6:=refdate(hhv(lh6,da),date);
l7:=refdate(hhv(lh7,da),date);
l8:=refdate(hhv(lh8,da),date);
l9:=refdate(hhv(lh9,da),date);
l10:=refdate(hhv(lh10,da),date);
ss:=(l1+l2+l3+l4+l5+l6+l7+l8+l9+l10);
stickline(ceiling(da*l1/ss)*3>=currbarscount,hi*n/100,(hi/gz),1,1),color454545,linethick1;
stickline(ceiling(da*l2/ss)*3>=currbarscount,hi/pow(gz,1)*n/100,hi/pow(gz,2),1,1),color454545,linethick1;
stickline(ceiling(da*l3/ss)*3>=currbarscount,hi/pow(gz,2)*n/100,hi/pow(gz,3),1,1),color454545,linethick1;
stickline(ceiling(da*l4/ss)*3>=currbarscount,hi/pow(gz,3)*n/100,hi/pow(gz,4),1,1),color454545,linethick1;
stickline(ceiling(da*l5/ss)*3>=currbarscount,hi/pow(gz,4)*n/100,hi/pow(gz,5),1,1),color454545,linethick1;
stickline(ceiling(da*l6/ss)*3>=currbarscount,hi/pow(gz,5)*n/100,hi/pow(gz,6),1,1),color454545,linethick1;
stickline(ceiling(da*l7/ss)*3>=currbarscount,hi/pow(gz,6)*n/100,hi/pow(gz,7),1,1),color454545,linethick1;
stickline(ceiling(da*l8/ss)*3>=currbarscount,lo*pow(gz,2),lo*pow(gz,3)*n/100,1,1),color454545,linethick1;
stickline(ceiling(da*l9/ss)*3>=currbarscount,lo*pow(gz,1),lo*pow(gz,2)*n/100,1,1),color454545,linethick1;
stickline(ceiling(da*l10/ss)*3>=currbarscount,lo,lo*pow(gz,1)*n/100,1,1),color454545,linethick1;
drawkline(h,o,l,c);jj:=(close+high+low)/3;
drawband(ma(c,2),rgb(108,0,1),ma(c,7),rgb(28,134,238));
今日保护价:(ref(c,2)+ref(c,1)+o)/3 ,color8080ff,nodraw;
aa05:ma(c,3),linethick3,color00ccff;
五日乖离率:=(c-aa05)/aa05*100;
bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1);
加速度5:ema((速度5-ref(速度5,1)),3),nodraw;
if(bb05>30 and aa05>ref(aa05,1), aa05,drawnull),linethick6,color5959ff;
aa10:ma(c,10),color4080ff;aa20:=ma(c,20);
bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
if(bb05<0 and aa05<ref(aa05,1), aa05,drawnull),linethick3,colorgreen;
aa30:ma(c,30),color515100,linethick3;
三拾日乖离率:(c-aa30)/aa30*100,nodraw;
var111:=(aa20-aa30)>ref((aa20-aa30),1) and aa20>ref(aa20,1) and aa30>ref(aa30,1);
var122:=(aa30-aa20)<ref((aa30-aa20),1) and aa20<ref(aa20,1) and aa30<ref(aa30,1);
bb30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;
if(bb30>15 and aa30>ref(aa30,1), aa30,drawnull),linethick3,colorff00ff;
强势狙击:=filter(bb30>30 and bb10>45 and cross(bb05,60),10);
加仓:=filter(count(cross(bb05,30),5)>=1 and aa05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and aa10>ref(aa10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>aa30 or o>aa30) and aa05<ref(aa05,1) and 三拾日乖离率<ref(三拾日乖离率,1) and aa10<ref(aa10,1),10);
drawtext(加仓 ,low*0.96,'加仓'),colorffffff;
jc:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) and aa10>ref(aa10,1) ;
减仓:=filter(jc,10);
mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and aa05>ref(aa05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<aa30;
买入:=filter(mr,10);
drawtext(减仓,high*1.02,'减仓'),colorcyan;
drawtext(买入,low*0.98,'买'),colorffffff;
drawtext(清仓 ,high*1.02,'清仓'),colorgreen;
drawtext(强势狙击,low*0.98,'强势狙击'),coloryellow;
var1:=close>ref(close,1) and close>ref(close,2);
var2:=ref(var1,1) and close<=ref(close,1) and close>=ref(close,2);
var3:=ref(var2,1) and close>=ref(close,1) and close<=ref(close,2);
var4:=ref(var3,1) and close<=ref(close,1) and close>=ref(close,2);
var5:=ref(var4,1) and close>=ref(close,1) and close<=ref(close,2);
var6:=ref(var5,1) and close<=ref(close,1) and close>=ref(close,2);
var7:=ref(var6,1) and close>=ref(close,1) and close<=ref(close,2);
var8:=ref(var7,1) and close<=ref(close,1) and close>=ref(close,2);
var9:=ref(var8,1) and close>=ref(close,1) and close<=ref(close,2);
vara:=ref(var9,1) and close<=ref(close,1) and close>=ref(close,2);
varb:=ref(vara,1) and close>=ref(close,1) and close<=ref(close,2);
varc:=ref(varb,1) and close<=ref(close,1) and close>=ref(close,2);
vard:=close<ref(close,1) and close<ref(close,2);vare:=ref(vard,1) and close>=ref(close,1) and close<=ref(close,2);
varf:=ref(vare,1) and close<=ref(close,1) and close>=ref(close,2);
var10:=ref(varf,1) and close>=ref(close,1) and close<=ref(close,2);
var11:=ref(var10,1) and close<=ref(close,1) and close>=ref(close,2);
var12:=ref(var11,1) and close>=ref(close,1) and close<=ref(close,2);
var13:=ref(var12,1) and close<=ref(close,1) and close>=ref(close,2);
var14:=ref(var13,1) and close>=ref(close,1) and close<=ref(close,2);
var15:=ref(var14,1) and close<=ref(close,1) and close>=ref(close,2);
var16:=ref(var15,1) and close>=ref(close,1) and close<=ref(close,2);
var17:=ref(var16,1) and close<=ref(close,1) and close>=ref(close,2);
var18:=ref(var17,1) and close>=ref(close,1) and close<=ref(close,2);
var19:=ref(vard or vare or varf or var10 or var11 or var12 or var13 or
var14 or var15 or var16 or var17 or var18,1) and var1;
var1a:=ref(var1 or var2 or var3 or var4 or var5 or var6 or var7 or
var8 or var9 or vara or varb or varc,1) and vard;
drawicon(var19,ref(close,1)*0.98,34);
drawicon(var1a,ref(close,1)*1.02,35);
短线成本:ema(close,17),colorwhite,dotline;
a:=(3*c+l+o+h)/6;
x:=(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;{好公式网-最好的股票公式网站 www.goodgongshi.com}
中线成本:ema(x,13),colorff00ff,dotline;
kka:=ema(c,5);
kkb:=ema(kka,8);
kkc:=ema(kkb,13);
长线成本:ema(kkc,50), colorgreen,dotline;
stickline(c>=o,c,o,3.4,0),color0000aa;
stickline(c>=o,c,o,3.0,0),color0000bb ;
stickline(c>=o,c,o,2.4,0),color0000cc;
stickline(c>=o,c,o,2.0,0),color0000dd ;
stickline(c>=o,c,o,1.6,0),color0000ee;
stickline(c>=o,c,o,1.2,0),color0000ff;
stickline(c>=o,c,o,0.6,0),color0000ff;
stickline(c>=o,h,l,0,0),colorred;
stickline(c<=o,c,o,3.4,0),coloraaaa00;
stickline(c<=o,c,o,3.0,0),colorbbbb00;
stickline(c<=o,c,o,2.4,0),colorcccc00;
stickline(c<=o,c,o,2.0,0),colordddd00;
stickline(c<=o,c,o,1.6,0),coloreeee00;
stickline(c<=o,c,o,1.2,0),colorffff00;
stickline(c<=o,c,o,0.6,0),colorffff00;
stickline(c<=o,h,l,0,0),colorffff00;
drawrectrel(0,500,147,999.4,if(120,rgb(10,0,0),0));
超b:=l2_amo(0,2)/10000.0;
大b:=l2_amo(1,2)/10000.0;
中b:=l2_amo(2,2)/10000.0;
小b:=l2_amo(3,2)/10000.0;
超s:=l2_amo(0,3)/10000.0;
大s:=l2_amo(1,3)/10000.0;
中s:=l2_amo(2,3)/10000.0;
小s:=l2_amo(3,3)/10000.0;
testskip(not(超b or 大b or 中b or 小b or 超s or 大s or 中s or 小s)!=0);
大宗进:=(超b)+(大b),nodraw;
大宗出:=(超s)+(大s),nodraw;
非大宗进:=(中b)+(小b),nodraw;
非大宗出:=(中s)+(小s),nodraw;
大宗进限制:=if((超b+大b)=0,0,大宗进);
大宗出限制:=if((超s+大s)=0,0,大宗出);
非大宗进限制:=if(中b+小b=0,0,非大宗进);
非大宗出限制:=if(中s+小s=0,0,非大宗出);
主力净流入:=(超b+大b)-(超s+大s),colorred,nodraw;
散户净流入:=(中b+小b)-(中s+小s),colorred,nodraw;
净流入:=(超b+大b+中b+小b)-(超s+大s+中s+小s),colorred,nodraw;
大单流入:=(超b+大b)/(超b+大b+超s+大s)*100,nodraw;
大单流入限制:=if((超b+大b+超s+大s)=0,0,大单流入);
大单流出比:=(超s+大s)/(超b+大b+超s+大s)*100,nodraw;
大单流出限制:=if((超b+大b+超s+大s)=0,0,大单流出比);
总流入比:=(超b+大b+中b+小b)/(超b+大b+中b+小b+超s+大s+中s+小s)*100,nodraw;
总流出比:=(超s+大s+中s+小s)/(超b+大b+中b+小b+超s+大s+中s+小s)*100,nodraw;
成交总量:=(超b+大b+中b+小b+超s+大s+中s+小s),nodraw;
机构参与度:=(超b+超s+大b+大s)/成交总量*100,coloryellow,nodraw;
大单强度:=(超b+大b-超s-大s)/成交总量*100,coloryellow,nodraw;
大单强度限制:=if(大单强度=0,-100,大单强度);
大单强度比:=if(大单强度>=0,(大单强度限制+100)/2,100-abs((大单强度限制-100)/2)),nodraw;
超单强度:=(超b-超s)/(超b+超s)*100,coloryellow,nodraw;
超单强度限制:=if(超单强度=0,-100,超单强度);
超单强度比:=if(超单强度>0,(超单强度限制+100)/2,if(超单强度<0,100-abs((超单强度限制-100)/2),0)),nodraw;
dazhiv:=const(max(abs(大宗进),max(abs(大宗出),max(abs(非大宗进),abs(非大宗出))))),nodraw;
drawrectrel(0,const(930-(abs(大宗进)*250/dazhiv)),35,950,if(const(大宗进>0),rgb(255,0,0),rgb(23,125,255)));
drawrectrel(37,const(930-(abs(大宗出)*250/dazhiv)),72,950,if(const(大宗出>0),rgb(23,125,255),rgb(255,0,0)));
drawrectrel(75,const(930-(abs(非大宗进)*250/dazhiv)),110,950,if(const(非大宗进>0),rgb(255,0,0),rgb(23,125,255)));
drawrectrel(112,const(930-(abs(非大宗出)*250/dazhiv)),147,950,if(const(非大宗出>0),rgb(23,125,255),rgb(255,0,0)));
drawrectrel(150,const(940-(abs(净流入)*250/dazhiv))-20,190,950,if(const(净流入>0),rgb(200,0,0),rgb(0,125,50)));
drawtext_fix(currbarscount=1,0.0001,0.9,0,strcat('',con2str(大宗进/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.036,0.9,0,strcat('',con2str(大宗出/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.074,0.9,0,strcat('',con2str(非大宗进/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.111,0.9,0,strcat('',con2str(非大宗出/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.150,0.9,0,strcat('',con2str(净流入/1,0))),coloryellow;
drawtext_fix(1,0.000,0.99,0,strcat(strcat('主力 ',con2str(主力净流入,0)),'万')),colormagenta;
drawtext_fix(1,0.078,0.99,0,strcat(strcat('散户 ',con2str(散户净流入,0)),'万')),colorcyan;
drawtext_fix(currbarscount=1,0.145,0.99,0,'净流入:(万)'),coloryellow;
主力买力度:=largeintrdvol*1000/vol;
主力卖力度:=largeouttrdvol*1000/vol;
aad:=const(max(abs(主力买力度),abs(主力卖力度)))*4,nodraw;
drawrectrel(0,515,const(abs(主力买力度)*560/aad),568,if(const(主力买力度)>0,rgb(255,0,0),rgb(0,50,0)));
drawrectrel(0,570,const(abs(主力卖力度)*560/aad),623,if(const(主力卖力度)>0,rgb(0,50,0),rgb(255,0,0)));
drawtext_fix(1,0,0.524,0,strcat('主买力度:',con2str(主力买力度,0))),coloryellow;
drawtext_fix(1,0,0.576,0,strcat('主卖力度:',con2str(主力卖力度,0))),coloryellow;
towerc:=forcast(ema((3*close+2*open+high+low)/7,3),6);
directionmax:=max(ref(towerc,1),ref(towerc,1));
directionmin:=min(ref(towerc,1),ref(towerc,1));
stickline(towerc>=ref(towerc,1),towerc,directionmax,3.5,1),colorlired;
stickline(towerc<ref(towerc,1),towerc,directionmin,3.5,1),colorblue;
上一指标公式:分析家免费炒股软件主图点位指标下载
下一指标公式:股市风向标必抓黑马指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文漂亮的短线主图下载仅供学习研究。