集成各家大师的主图
drawgbklast(date>900101,strip(rgb(25,25,25),rgb(0,0,0),0));
{dzh2 数字均线第二板}
{日期、星期、基本信息}
wwj:='';
wyy1:=weekday;
if c>0 then begin;
wwj:=' 星期';
if wyy1=5 then wwj:= wwj+'五';
if wyy1=4 then wwj:= wwj+'四';
if wyy1=3 then wwj:= wwj+'三';
if wyy1=2 then wwj:= wwj+'二';
if wyy1=1 then wwj:= wwj+'一';
end;
wwl:='';
wwh:='';
wyy2:=lmonth;
wyy3:=lday;
if barstatus=2 then www:=' 农历 '+numtostrn(wyy2,0)+'月 '+numtostrn(wyy3,0)+'日';
if barstatus=2 then wwh:=numtostrn(date+1000000,0);
if barstatus=2 then wwl:=wwj;
drawtextrel(170,88 ,''+wwh+wwl+www),linethick1,colorred;
drawtextrel(23,130,stklabel+' '+stkname),linethick2,colorffff80;
{支撑压力线}
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;
{获利盘}
if barstatus=2 then
获利盘:=winner(close)*100;
if barstatus=2 then
平均成本:=cost(50);
日换手率:=vol/capital*100;
zg:=finance2(35);{总股}
lta:=finance2(37);{流通a}
sy:=finance2(3);{收益}
sl:=dynainfo(39);{市盈率}
wf:=finance2(8);{未分}
gj:=finance2(7);{公积};
jz:=finance2(4);{净资}
cw:='总股:'+zg+' 流通a:'+lta+' 收益:'+sy+' 市盈率:'+sl+' 未分:'+wf+' 公积:'+gj+' 净资:'+jz;
if category<>0 and barstatus=2 then
drawtextrel(5,20,bkname),color0055ff;
drawtextrel(20,960,cw),color0055ff;
均价:=(close+high+low+low)/4;
p:=ema(均价,9);
q:=ema(ref(p,1),3);
换手1:=500*vol/capital;
换手:=ema(换手1,3);
close3:=ref(close,3);
close5:=ref(close,5);
close7:=ref(close,7);
close8:=ref(close,8);
close13:=ref(close,13);
close21:=ref(close,21);
jc:=(ref(c,3)+ref(c,5)+ref(c,7)+ref(c,8)+ref(c,13)+ref(c,21))/6;
参考:=sma(jc,5,1);
参考价:=if(参考=0,c,参考);
aa:=if(c>=ref(c,3),1,0);
bb:=if(c>=ref(c,5),1,0);
cc:=if(c>=ref(c,7),1,0);
dd:=if(c>=ref(c,8),1,0);
ee:=if(c>=ref(c,13),1,0);
ff:=if(c>=ref(c,21),1,0);
gz2:=aa+bb+cc+dd+ee+ff;
kk:=0;
for i=1 to 4do
kk:=kk+ref(gz2,i);
kkk:=kk/4;
aaaa:=v>=ref(v,3);
bbbb:=v>=ref(v,5);
cccc:=v>=ref(v,7);
dddd:=v>=ref(v,8);
eeee:=v>=ref(v,13);
ffff:=v>=ref(v,21);
价涨:=aa+bb+cc+dd+ee+ff>=4;
量涨:=aaaa+bbbb+cccc+dddd+eeee+ffff>=5;
持有:aa and 价涨 and 量涨,colorwhite,linethick0;
拉升:aa and 价涨 and 量涨 and c>ma(c,30)and ma(v,30)>ref(ma(v,30),1) and ma(c,30)>ref(ma(c,30),1),colorwhite,linethick0;
可能转强:stickline(价涨 and p>q,p,q,换手,0),color444444,layer7;
stickline(价涨 and p>q,p,q,换手/5,1),color444444,layer7;
有价有量:stickline(价涨 and 量涨 and p>q ,p,q,换手,0),color006600,layer7;
量价不一:stickline(价涨 and 量涨 and p>q and c<ref(c,1),p,q,换手/3,1),color006600,layer7;
可以持有:stickline(持有 and p>q,p,q,6,0),color006666,layer7;
可能拉升:stickline(拉升 and p>q,p,q,换手,0),color660066,layer7;
stickline(拉升 and p>q,p,q,换手/5,1),color660066,layer7;
m5: ema(close,5);
m10: ema(close,10);
m30: ema(close,30);
m60: ema(close,60),colorgreen;
var11:=ema(close,3)-ema(close,6)-(ema(close,6)-ema(close,12))*(-100);
var12:=ema(var11,3);
var5:=cross(var11,var12);
var6:=cross(var12,var11);
stickline(c>=o,l,h,0,0),color0000ff,layer2;
stickline(c<o,l,h,0,0),colorffff00,layer2;
stickline(c>=o,o,c,8,1),color0000ff,layer2;
stickline(c<o,o,c,8,0),colorffff00,layer2;
stickline(var6,open,close,10,0),colorblue,layer0;{兰色熊k}
stickline(var5,open,close,10,0),coloryellow,layer0;{彩色牛k}
stickline(var5,open,close-(close-open)*0.33,10,0), coloraaccdd,layer0;{彩色牛k}
stickline(var5,open,close-(close-open)*0.66,10,0),colorred,layer0;{彩色牛k}
drawtext(c>0,(o+c)/2,numtostrn(gz2 ,0 )),color888888,layer0,align1,valign1;{彩色牛k}
乖离5:=(c-m5)/m5*100;
斜率5:=atan((m5/ref(m5,1)-1)*100)*57.29583;
速度5:=sma(ema((m5-ref(m5,1))/ref(m5,1),3)*100,3,1);
加速度5:=wma((速度5-ref(速度5,1)),3);
斜率10:=atan((m10/ref(m10,1)-1)*100)*57.29583;
乖离30:=(c-m30)/m30*100;
斜率30:=atan((m30/ref(m30,1)-1)*100)*57.29583;
强势狙击:=filter(斜率30>30 and 斜率10>45 and cross(斜率5,60),10);
加仓:=filter(count(cross(斜率5,30),5)>=1 and m5>ref(m5,1)and 乖离30>ref(乖离30,1) and m10>ref(m10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1),10) ;
drawtext(加仓 and 持有 ,low*0.98,'加'),color00ffff,align1;
jc:=cross(0,乖离5) and 乖离30<ref(乖离30,1) and m10>ref(m10,1) ;
减仓:=filter(jc,10);
mr:=count(cross(乖离5,0),3)>=1 and 乖离30>ref(乖离30,1) and m5>ref(m5,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<m30;
买入:=filter(mr,10) or filter(kkk=0 and gz2>0 and c>ref(c,1),10);
清仓:=filter(count(cross(30,斜率5),5)>=1 and (c>m30 or o>m30)
and m5<ref(m5,1)and 乖离30<ref(乖离30,1) and m10<ref(m10,1),10)
or filter((kkk=6 and gz2<6),10);
drawtext(减仓,high*1.02,'减'),colorcyan,layer0,align1;
drawtext(买入,low*0.98,'买'),colorred,layer0,align1;
drawtext(清仓 ,high*1.02,'卖'),colorgreen,layer0,align1;
drawtext(强势狙击,low*0.98,'狙击'),coloryellow,layer0,align1;
n:=20;
sat:=(amount/c)/(hhv(amount,n)/hhv(c,n));
量能饱和度:=if(sat>1,1,sat)*100;
drawtextabs(20,27,'量能饱和度:'+numtostrn(量能饱和度,2)+'%'),color00ffff;
drawrectrel(1,83,18,382,rgb(30,30,30)),colorwhite;
aaa:=量能饱和度<=10;
bbb:=量能饱和度>10 and 量能饱和度<=20;
ccc:=量能饱和度>20 and 量能饱和度<=30;
ddd:=量能饱和度>30 and 量能饱和度<=50;
eee:=量能饱和度>50 and 量能饱和度<=70;
fff:=量能饱和度>70 and 量能饱和度<=80;
ggg:=量能饱和度>80 and 量能饱和度<=90;
hhh:=量能饱和度>90;
if barstatus=2 and aaa then begin drawrectrel(3,350,16,380,rgb(255,0,0));
end
else
if barstatus=2 and bbb then begin drawrectrel(3,320,16,380,rgb(255,0,0));
end
else
if barstatus=2 and ccc then begin drawrectrel(3,290,16,380,rgb(255,0,0));
end
else
if barstatus=2 and ddd then begin drawrectrel(3,230,16,380,rgb(255,0,0));
end
else
if barstatus=2 and eee then begin drawrectrel(3,170,16,380,rgb(255,0,0));
end
else
if barstatus=2 and fff then begin drawrectrel(3,140,16,380,rgb(255,0,0));
end
else
if barstatus=2 and ggg then begin drawrectrel(3,110,16,380,rgb(255,0,0));
end
else
if barstatus=2 and hhh then begin drawrectrel(3,85,16,380,rgb(255,0,0));
end;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文集成各家大师的DZH主图公式下载 大智慧指标源码集成大师仅供学习研究。