input:n(13,1,999),n1(2,1,3),上角(11,0,500),下角(11,0,500);
drawgbk(close,colorrgb(50,100,120),0,1);
dd0:=ref(day,(barscount(close) - 1));
■上市日期:ref(year,(barscount(close) - 1)),linethick0,colorc0c0c0;
年:ref(month,(barscount(close) - 1)),linethick0,colorc0c0c0;
月:ref(day,(barscount(close) - 1)),linethick0,colorc0c0c0;
日:0,linethick0,colorc0c0c0;
drawtext(sysparam(2)=barpos,close,'板块:'+blkname),color0095bc,align4;
u1:=sysparam(3);
u:=u1-sysparam(2)+1;
hh:=hhv(high,u);
ll:=llv(low,u);
最高:hh[u1],coloryellow,colorc0c0c0;
最低:ll[u1],colorred,colorc0c0c0;
partline(close and n1<>3,最低),colorred;
partline(close and n1=1,最低+(最高-最低)*0.191),linedot,colorwhite;
partline(close and n1=1,最低+(最高-最低)*0.382),linedot,colorwhite;
partline(close and n1<>3,最低+(最高-最低)*0.5),colorff8200;
partline(close and n1=1,最低+(最高-最低)*0.618),linedot,colorwhite;
partline(close and n1=1,最低+(最高-最低)*0.809),linedot,colorwhite;
drawtext(barscount(close)=sysparam(3) and n1<>3,ref(最低,barslast(barscount(close)=sysparam(2))),'最低↓'),align2,colorred;
drawtext(barscount(close)=sysparam(3) and n1<>3,ref(最高,barslast(barscount(close)=sysparam(2))),'最高↑'),align2,coloryellow;
drawtext(barpos=sysparam(2) and n1=1,ref((最低+(最高-最低)*0.191)*0.996,barslast(barscount(close)=sysparam(2))),'黄金 0.191↑'+numtostr(最低+(最高-最低)*0.191,2)),colorwhite;
drawtext(barpos=sysparam(2) and n1=1,ref((最低+(最高-最低)*0.382)*0.996,barslast(barscount(close)=sysparam(2))),'黄金 0.382↑'+numtostr(最低+(最高-最低)*0.382,2)),colorwhite;
drawtext(barpos=sysparam(2) and n1<>3,ref((最低+(最高-最低)*0.5)*0.996,barslast(barscount(close)=sysparam (2))),' 50% ↑'+numtostr(最低+(最高-最低)*0.5,2)),colorff8200;
drawtext(barpos=sysparam(2) and n1=1,ref((最低+(最高-最低)*0.618)*0.996,barslast(barscount(close)=sysparam(2))),'黄金 0.618↑'+numtostr(最低+(最高-最低)*0.618,2)),colorwhite;
drawtext(barpos=sysparam(2) and n1=1,ref((最低+(最高-最低)*0.809)*0.996,barslast(barscount(close)=sysparam(2))),'黄金 0.809↑'+numtostr(最低+(最高-最低)*0.809,2)),colorwhite;
partline(close and n1=2,最低+(最高-最低)*1/8),linedot,color0095bc;
partline(close and n1=2,最低+(最高-最低)*1/4),linedot,color0095bc;
partline(close and n1=2,最低+(最高-最低)*3/8),linedot,color0095bc;
partline(close and n1=2,最低+(最高-最低)*5/8),linedot,color0095bc;
partline(close and n1=2,最低+(最高-最低)*7/8),linedot,color0095bc;
partline(close and n1=2,最低+(最高-最低)*3/4),linedot,color0095bc;
k3:=close>open or close=open and close>ref(close,1);
stickline(k3,high,low,0.1,0),colorred;
stickline(k3,open,close,7,1),colorred;
stickline(not(k3),high,low,0.1,0),colorcyan;
stickline(not(k3),close,open,7,0),colorcyan;
drawtext(barpos=sysparam(2) and n1=2,ref((最低+(最高-最低)*1/8)*0.996,barslast(barscount(close)=sysparam(2))),'江恩 1/8↑'+numtostr(最低+(最高-最低)*1/8,2)),color0095bc;
drawtext(barpos=sysparam(2) and n1=2,ref((最低+(最高-最低)*1/4)*0.996,barslast(barscount(close)=sysparam(2))),'江恩 1/4↑'+numtostr(最低+(最高-最低)*1/4,2)),color0095bc;
drawtext(barpos=sysparam(2) and n1=2,ref((最低+(最高-最低)*3/8)*0.996,barslast(barscount(close)=sysparam(2))),'江恩 3/8↑'+numtostr(最低+(最高-最低)*3/8,2)),color0095bc;
drawtext(barpos=sysparam(2) and n1=2,ref((最低+(最高-最低)*5/8)*0.996,barslast(barscount(close)=sysparam(2))),'江恩 5/8↑'+numtostr(最低+(最高-最低)*5/8,2)),color0095bc;
drawtext(barpos=sysparam(2) and n1=2,ref((最低+(最高-最低)*7/8)*0.996,barslast(barscount(close)=sysparam(2))),'江恩 7/8↑'+numtostr(最低+(最高-最低)*7/8,2)),color0095bc;
drawtext(barpos=sysparam(2) and n1=2,ref((最低+(最高-最低)*3/4)*0.996,barslast(barscount(close)=sysparam(2))),'江恩 3/4↑'+numtostr(最低+(最高-最低)*3/4,2)),color0095bc;
yb:=sysparam(2);
a:=sysparam(3);
p:=(a - yb);
s4:=sysparam(4);
s5:=sysparam(5);
hh:=hhvbars(high,(p + 1));
ll:=llvbars(low,(p + 1));
z:=(barpos = (a - hh[a]));
y:=(barpos = (a - ll[a]));
k:=((s4 - s5) / (a - yb));
drawsl(z,high,(0 - ((15 * k) / 60)),0,0),pointdot,colorffff00;
drawsl(z,high,(0 - ((30 * k) / 60)),0,0),pointdot,colorffff00;
drawsl(z,high,(0 - ((45 * k) / 60)),0,0),pointdot,colorffff00;
drawsl(z,high,(0 - ((60 * k) / 60)),0,0),colorffff00;
drawsl(z,high,(0 - ((85 * k) / 60)),0,0),pointdot,colorffff00;
drawsl(z,high,(0 - ((120 * k) / 60)),0,0),pointdot,colorffff00;
drawsl(z,high,(0 - ((165 * k) / 60)),0,0),pointdot,colorffff00;
drawsl(z,high,(0 - ((240 * k) / 60)),0,0),pointdot,colorffff00;
drawsl(z,high,(0 - ((360 * k) / 60)),0,0),pointdot,colorffff00;
drawsl(z,high,(0 - ((600 * k) / 60)),0,0),pointdot,colorffff00;
drawsl(y,low,((10 * k) / 60),0,0),pointdot,colorff00ff;
drawsl(y,low,((30 * k) / 60),0,0),pointdot,colorff00ff;
drawsl(y,low,((60 * k) / 60),0,0),pointdot,colorff00ff;
drawsl(y,low,((90 * k) / 60),0,0),pointdot,colorff00ff;
drawsl(y,low,((120 * k) / 60),0,0),colorff00ff;
drawsl(y,low,((180 * k) / 60),0,0),pointdot,colorff00ff;
drawsl(y,low,((300 * k) / 60),0,0),pointdot,colorff00ff;
drawsl(y,low,((540 * k) / 60),0,0),pointdot,colorff00ff;
drawsl(y,low,((1020 * k) / 60),0,0),pointdot,colorff00ff;
a:=sysparam(1);
vertline(barpos=a),pointdot,color0095bc,shift13;
vertline(barpos=a),pointdot,color0095bc,shift21;
vertline(barpos=a),pointdot,color0095bc,shift34;
vertline(barpos=a),pointdot,color0095bc,shift55;
vertline(barpos=a),pointdot,color0095bc,shift89;
vertline(barpos=a),pointdot,color0095bc,shift144;
drawtext(barpos=a,sysparam(5),'天数'),color0095bc,align2;
drawtext(barpos=a,sysparam(5),'13'),color0095bc,shift13;
drawtext(barpos=a,sysparam(5),'21'),color0095bc,shift21;
drawtext(barpos=a,sysparam(5),'34'),color0095bc,shift34;
drawtext(barpos=a,sysparam(5),'55'),color0095bc,shift55;
drawtext(barpos=a,sysparam(5),'89'),color0095bc,shift89;
drawtext(barpos=a,sysparam(5),'144'),color0095bc,shift144;
上一指标公式:千钧茶社公式 飞狐茶社指标 源码
下一指标公式:分割角度①公式 飞狐分割指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分割角度②公式 飞狐分割指标 源码仅供学习研究。