好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式自动画线主图压力与支撑缺口明短线赢利振幅公式下载 飞狐缺口赢利指标 源码

自动画线主图压力与支撑缺口明短线赢利振幅公式下载 飞狐缺口赢利指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-11-15 07:21:47
  • 指标公式标签:赢利 缺口 振幅
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:自动画线主图压力与支撑缺口明短线赢利振幅公式下载 飞狐缺口赢利指标 源码

自动画线主图压力与支撑(缺口、明短线赢利、振幅)
//自动画线主图压力与支撑
input:n(8,0,10),p(0,0,255),p1(0,0,255),p2(0,0,255);
tja:=close>open or close=open and close>ref(close,1);
stickline(tja,low,high,0,0),colore9;
stickline(tja,o,close,8,0),color80;
stickline(tja,o,close,6,0),colora5;
stickline(tja,o,close,4,0),colorc0;
stickline(tja,o,close,2,0),colore6;
stickline(not(tja),high,low,0,0),colorff00;
stickline(not(tja),close,open,8,0),color5000;
stickline(not(tja),close,open,6,0),color6600;
stickline(not(tja),close,open,4,0),color8000;
stickline(not(tja),close,open,2,0),colora000;
bq:=if((sysparam(1) = (barssince((c > 0)) + 1)),1,0);
bq1:=(h<ref(l,1));
bq2:=(l>ref(h,1));
stickline(bq1,o+(c-o)*0.25,o,5,0),colorcc0000;
stickline(bq1,o+(c-o)*0.25,o,3,0),colordd0000;
stickline(bq1,o+(c-o)*0.25,o,1,0),coloree0000;
stickline(bq2,o,o+(c-o)*0.25,6,0),color208aaa;
stickline(bq2,o,o+(c-o)*0.25,4,0),color208ddd;
stickline(bq2 ,o,o+(c-o)*0.25,2,0),color208fff;
drawtext(((bq > 0) and bq1),h,'↓缺口'),colorffffee,pxdn10,align2;
drawtext(((bq > 0) and bq2),l,'↑缺口'),color00ffee,pxup20,align1;
qc:=ref(c,1);qo:=ref(o,1);qh:=ref(h,1);ql:=ref(l,1);
fuz:=l+((h-l)/2);fus:=o+((c-o)/2); fusy:=c+((o-c)/2);ssfu:=(fuz+if(c>o,fus,fusy))/2;
fuz1:=l+((h-l)*0.333);fus1:=o+((c-o)*0.333);fus1y:=c+((o-c)*0.333);ssfu1:=(fuz1+if(c>o,fus1,fus1y))/2;
fuz2:=l+((h-l)*0.667);fus2:=o+((c-o)*0.677);fus2y:=c+((o-c)*0.667);ssfu2:=(fuz2+if(c>o,fus2,fus2y))/2;
bs1:=ql+((qh-ql)/2);bs2:=qo+((qc-qo)/2);bs3:=qc+((qo-qc)/2);
db1:=ql+((qh-ql)*0.333);db2:=qo+((qc-qo)*0.333);db3:=qc+((qo-qc)*0.333);
eb1:=ql+((qh-ql)*0.667);eb2:=qo+((qc-qo)*0.667);eb3:=qc+((qo-qc)*0.667);
syb1:=qh-((qh-qc)/2);syb2:=qh-((qh-qo)/2);
syb3:=if(qc>qo,syb1,syb2);
xyb1:=ql+((qc-ql)/2);xyb2:=ql+((qo-ql)/2);
xyb3:=if(qc<qo,xyb1,xyb2);
qfu:=(bs1+if(qc>qo,bs2,bs3))/2;
qdfu:=(db1+if(qc>qo,db2,db3))/2;
qefu:=(eb1+if(qc>qo,eb2,eb3))/2;
stickline(c=c,ssfu2,ssfu2,4,0),color00ff00,linethick1;
stickline(c=c,ssfu1,ssfu1,4,0),color00ff00,linethick1;
stickline(c=c,ssfu,ssfu,6,0),color00ffff,linethick1;
stickline(c=c,if(c>o,h-((h-c)/2),h-((h-o)/2)),if(c>o,h-((h-c)/2),h-((h-o)/2)),1.3,0),coloryellow,linethick1;
stickline(c=c,if(c<o,l+((c-l)/2),l+((o-l)/2)),if(c<o,l+((c-l)/2),l+((o-l)/2)),1.3,0),coloryellow,linethick1;
a3:=c=hhv(c,6);
a9:=c=llv(c,6);
a4:=barslast(a3);
a5:=barslast(a9);
a6:=if(a4,ref(c,a4),ref(c,a4))*1.005;
a7:=if(a5,ref(c,a5),ref(c,a5))*0.995;
partline(a6=ref(a6,1),a6),color00ff00,linedot;
partline(a7=ref(a7,1),a7),color00ffff,linedot;
a1:=ref(h,n)=hhv(h,2*n+1); b1:=filter(a1,n);
c1:=backset(b1,n+1); d1:=filter(c1,n);
a2:=ref(l,n)=llv(l,2*n+1); b2:=filter(a2,n);
c2:=backset(b2,n+1); d2:=filter(c2,n);
e1:=(ref(llv(l,2*n),1)+ref(hhv(h,2*n),1))/2;
e2:=(h+l)/2;
h1:=(d1 and not(d2 and e1>=e2)) or barstatus=2 or barscount(c)=1;
l1:=(d2 and not(d1 and e1<e2));h2:=d1 and not(d2 and e1>=e2);
x1:=ref(barslast(h1),1)+1; f1:=backset(h1 and count(l1,x1)>0,llvbars(if(l1,l,10000),x1));
g1:=f1>ref(f1,1); i1:=backset(g1,2); ld:=i1>ref(i1,1);
l2:=ld or barstatus=2 or barscount(c)=1;x2:=ref(barslast(l2),1)+1;
f2:=backset(l2 and count(h2,x2)>0,hhvbars(if(h2,h,0),x2));
g2:=f2>ref(f2,1); i2:=backset(g2,2); hd:=i2>ref(i2,1);
r1:=backset(barstatus=2,barslast(hd)+1); s1:=r1>ref(r1,1);
t1:=backset(barstatus=2,barslast(ld)+1); u1:=t1>ref(t1,1);
r2:=backset(s1,ref(barslast(hd),1)+2); s2:=r2>ref(r2,1);
t2:=backset(u1,ref(barslast(ld),1)+2); u2:=t2>ref(t2,1);
t3:=backset(u2,ref(barslast(ld),1)+2); u3:=t3>ref(t3,1);
t4:=backset(u3,ref(barslast(ld),1)+2); u4:=t4>ref(t4,1);
r3:=backset(s2,ref(barslast(hd),1)+2); s3:=r3>ref(r3,1);
r4:=backset(s3,ref(barslast(hd),1)+2); s4:=r4>ref(r4,1);
drawline(s2,h,s1,h,1),color009999;
drawline(u2,l,u1,l,1),pointdot,color009999;
drawline(s3,h,s2,h,1),color999900;
drawline(u3,l,u2,l,1),pointdot,color999900;
drawline(s4,h,s3,h,1),coloreeaaee;
drawline(u4,l,u3,l,1),pointdot,coloreeaaee;
drawsl(sysparam(1)=barpos,ref(l,sysparam(1)=sum(1,0)-1),0,0,1),colorgreen;
drawsl(sysparam(1)=barpos,ref(h,sysparam(1)=sum(1,0)-1),0,0,1),colorred;
ttt:=islastbar=1;
as1:=((h-l)/l)*100;
as2:=h-l;
mai:=c*1.015;
maii:=c*1.03;
drawtextex(ttt,0,310,1,'▼明短线赢利[1.5%--3%:]'+'/'+numtostr(mai[sysparam(1)],2)+'--'+numtostr(maii [sysparam(1)],2)),color00dd00;
drawtextex(ttt,0,176,1,'【振幅:'+numtostr(as1[sysparam(1)],2)+'% '+numtostr(as2[sysparam(1)],2)+'元 】'+''),colordddd00;
drawtextex(ttt,0,1,1,'【代码:'+stklabel+' 名称:'+stkname+'】'),colorffffff;
as:=(o+h+l+c)/4;
bl: ema(as,p),linethick1,color208fff;
bl1: ma(c,p1),linethick1,colorffffff;
bl2: ma(c,p2),linethick1,color00ffff;
blt:=barstatus=2;
drawtext(blt and bl>ref(bl,1),bl,'ena↑'+numtostr(p,0)+':'+numtostr(bl,2)),color208fff;
drawtext(blt and bl<ref(bl,1),bl,'↓'+numtostr(p,0)+':'+numtostr(bl,2)),color208fff;
drawtext(blt and bl1>ref(bl1,1),bl1,'↑'+numtostr(p1,0)+':'+numtostr(bl1,2)),colorffffff;
drawtext(blt and bl1<ref(bl1,1),bl1,'↓'+numtostr(p1,0)+':'+numtostr(bl1,2)),colorfffded;

drawtext(blt and bl2>ref(bl2,1),bl2,'↑'+numtostr(p2,0)+':'+numtostr(bl2,2)),color00cccc;
drawtext(blt and bl2<ref(bl2,1),bl2,'↓'+numtostr(p2,0)+':'+numtostr(bl2,2)),color00cccc;


自动画线主图压力与支撑(缺口、明短线赢利、振幅)

  >>>使用本站搜索工具可以找到更多自动画线主图压力与支撑缺口明短线赢利振幅公式下载 飞狐缺口赢利指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文自动画线主图压力与支撑缺口明短线赢利振幅公式下载 飞狐缺口赢利指标 源码仅供学习研究。

猜你喜欢

学了又学