{安全投机}
drawtextex(c,1,5,5,'所属板块:' + blkname),align4,colorred;
dd:=finance( 1);
ss:=finance( 7);
bl:=ss/dd*100;
gg:=finance(33);
th:=dynainfo(39);
jz:=finance(34);
drawtextex(c,1,5,55,'总股本:'+numtostr(dd,0)+'万股' +' 流通a股:'
+numtostr(ss,0)+'万股'+' 流通比例:'+numtostr(bl,3)+'%'+' 市盈率:'
+numtostr(th,2)+' 倍'+' 收益:'+numtostr(gg,3)+' 元'+' 净资产:'
+numtostr(jz,3)+' 元'),colorgreen;
生命线:sum(vol*(o+c)/2,88)/sum(vol,88),colorff80ff,linethick2;
分离线:ma(close,17)+abs(ma(close,17)-ref(ma(close,17),1)),colorf4e202,linethick2;
ma17:ma(close,17)+ma(close,17)-ref(ma(close,17),1),linethick2,colorf4e202;
持股线:if(ma(close,17)<ma17,ma17,ma(close,17)),color00d500;
partline(持股线=ma17,持股线),color80ffff,linethick2;
stickline(c>=ref(c,1),o,c,8,1),color000000;
stickline(c<ref(c,1),o,c,8,1),color000000;
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)));
stickline((((((((((((var1 or var2) or var3) or var4) or var5) or var6) or var7) or var8) or var9) or vara) or varb) or varc),c,ref(c,1),7,0),color0000dd;
stickline((((((((((((var1 or var2) or var3) or var4) or var5) or var6) or var7) or var8) or var9) or vara) or varb) or varc),l,h,0.5,0),color0000dd;
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)));
stickline((((((((((((vard or vare) or varf) or var10) or var11) or var12) or var13) or var14) or var15) or var16) or var17) or var18),c,ref(c,1),7 ,0 ),color00dd00;
stickline((((((((((((vard or vare) or varf) or var10) or var11) or var12) or var13) or var14) or var15) or var16) or var17) or var18),h,l,0.5 ,0 ),color00dd00;
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);
stickline(var19,ref(close,1),ref(close,2),7 ,0 ),colordddddd;
stickline(var1a,ref(close,1),ref(close,2),7,0),colordd8800;
{买卖指标}
aa05:ma(c,5),linethick0;
mm5:=(c-aa05)/aa05*100;
bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
nn5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1);
nnnn5:ema((nn5-ref(nn5,1)),3),linethick0;
aa10:ma(c,10),linethick0;
aa20:=ma(c,20);
bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
aa30:ma(c,30),linethick0;
mm30:(c-aa30)/aa30*100,linethick0;
var1:=(aa20-aa30)>ref((aa20-aa30),1) and aa20>ref(aa20,1) and aa30>ref(aa30,1);
var2:=(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;
强势:=filter(bb30>30 and bb10>45 and cross(bb05,60),10);
加仓:=filter(count(cross(bb05,30),5)>=1 and aa05>ref(aa05,1) and mm30>ref(mm30,1) and aa10>ref(aa10,1)
and nnnn5>ref(nn5,1) and nn5>ref(nn5,1) ,10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>aa30 or o>aa30) and aa05<ref(aa05,1) and mm30<ref(mm30,1) and aa10<ref(aa10,1),10);
jc:=cross(0,mm5) and mm30<ref(mm30,1) and aa10>ref(aa10,1) ;
减仓:=filter(jc,10);
mr:=count(cross(mm30,0),3)>=1 and mm30>ref(mm30,1) and aa05>ref(aa05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<aa30;
买入:=filter(mr,10);
drawtext((买入),low*0.945,'⊙'),linethick2,align1,coloryellow;
drawtext((买入),low*0.965,'⊙'),linethick2,align1,coloryellow;
drawtext((买入),low*0.985,'⊙'),linethick2,align1,coloryellow;
drawtext(减仓,high*1.06,'◇'),align2,linethick3,colorcyan;
drawtext(减仓,high*1.05,'◇'),align1,linethick3,colorcyan;
drawtext(减仓,high*1.059,'◇'),align0,linethick3,colorcyan;
drawtext((加仓),low*0.985,'⊙'),linethick2,align1,colorwhite;
drawtext((加仓),low*0.965,'⊙'),linethick2,align1,colorwhite;
drawtext((加仓),low*0.945,'⊙'),linethick2,align1,colorwhite;
drawtext((强势),low*0.985,'⊙'),linethick2,align1,colorred;
drawtext((强势),low*0.965,'⊙'),linethick2,align1,colorred;
{短线强势}
流通:=(amount / vol);
资金流量:=(close-ref(close,1))*流通;
var111:=sma(资金流量,10,1);
mid111:=ma(var111,26);
upper111:=mid111 + 2*std(var111,26);
短线强势:=cross(var111,upper111) and c>=o;
stickline(短线强势,close ,open,7,0),color00aaff;
大盘:=ema(indexc,500)/ema(c,500);
大盘线:indexc/大盘,linethick1,coloryellow;
{绝对强势}
aa_q:=(c/ref(c,1)-1)*100;
bb_q:=(indexc/ref(indexc,1)-1)*100;
dd_q:=aa_q>2.8 and aa_q-bb_q>2;
diff_q := ema(close,12) - ema(close,26);
dea_q := ema(diff_q,9);
macd_q := 2*(diff_q-dea_q);
ee_q:=macd_q>0 and macd_q>=ref(macd_q,1);
ma10_q:=ma(c,10);
ma20_q:=ma(c,20);
角度ma10_q:=atan((ma10_q/ref(ma10_q,1)-1)*100)*180/3.1416;
角度ma20_q:=atan((ma20_q/ref(ma20_q,1)-1)*100)*180/3.1416;
xg_q:=c>=ma(c,10) and 角度ma10_q>40 and 角度ma20_q>35
and ma(c,120)>ref(ma(c,120),1);
a5_q:=count(ma(close,21)>ma(close,34) and ma(close,34)>ma(close,55) and ma(close,55)>ma(close,89),3)=3 and isup;
条件成立:=xg_q and dd_q and ee_q and c>=o;
partline(条件成立,l*0.96),crossdot,linethick6,colorff33ff;
partline(条件成立,l*0.96),circledot,linethick1,color00ccff;
上一指标公式:新版KDJ飞升马公式下载 飞狐飞升新版指标 源码
下一指标公式:主力路径图副图公式下载 飞狐源码主力指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文安全投机公式下载 飞狐指标 源码仅供学习研究。