百分等比尺
{高点 1 999 22
低点 1 999 1}
gd:=const(findhigh(h,0,高点*10,1));
dd:=const(findlow(l,0,低点*10,1));
gt:=const(barslast(gd=h))+1;
dt:=const(barslast(dd=l))+1;
sh:=const(if(gt=1,h,ref(h,gt-1)));
sl:=const(if(dt=1,l,ref(l,dt-1)));
下跌周期:barslast(gd=h),colorwhite,nodraw;
下跌幅:if(currbarscount<=gt,c/sh*100-100,drawnull),nodraw,colorgreen;
下跌均价:if(currbarscount<=gt,sum(amount,gt)/sum(v,gt)/100,drawnull),nodraw,colorligray;
跌换手%:if(currbarscount<=gt,sum(hsl.hsl,gt),drawnull),colorcyan,nodraw;
上涨周期:if(currbarscount<=dt,barslast(dd=l),drawnull),colorwhite,nodraw;
上涨幅:if(currbarscount<=dt,c/sl*100-100,drawnull),nodraw,colorred;
上涨均价:if(currbarscount<=dt,sum(amount,dt)/sum(v,dt)/100,drawnull),nodraw,colorligray;
涨换手%:if(currbarscount<=dt,sum(hsl.hsl,dt),drawnull),colorlimagenta,nodraw;
星期:=varcat(varcat('(',if(weekday=1,'一',if(weekday=2,'二',if(weekday=3,'三',if(weekday=4,'四',if(weekday=5,'五','')))))),')');
日期:=varcat(varcat(varcat(varcat(varcat(varcat(var2str(year,0),'年'),var2str(month,0)),'月'),var2str(day,0)),'日'),星期);
{黄金分割 普通 等系坐标}
drawrectrel(990,2,998,188,rgb(0,150,180)),noframe;
drawrectrel(990,188,998,375,rgb(200,200,0)),noframe;
drawrectrel(990,375,998,491,rgb(100,200,0)),noframe;
drawrectrel(990,491,998,607,rgb(200,10,80)),noframe;
drawrectrel(990,607,998,794,rgb(150,0,0)),noframe;
drawrectrel(990,794,998,982,rgb(150,150,150)),noframe;
drawkline(h,o,l,c);{好公式网-最好的股票公式网站 www.goodgongshi.com}
drawtext_fix(1,0.005,0.01,0,'云枫添外 2016/05/09'),colorligray;
{斐波那契周期}
drawtext(currbarscount=gt-2 ,l,'3'),color00ff00;
drawtext(currbarscount=gt-4 ,l,'5'),color00ff00;
drawtext(currbarscount=gt-7 ,l,'8'),color00ff00;
drawtext(currbarscount=gt-12 ,l,'13'),color00ff00;
drawtext(currbarscount=gt-20 ,l,'21'),color00ff00;
drawtext(currbarscount=gt-33 ,l,'34 '),color00ff00;
drawtext(currbarscount=gt-54 ,l,'55'),color00ff00;
drawtext(currbarscount=gt-88 ,l,'89'),color00ff00;
drawtext(currbarscount=gt-143 ,l,'144'),color00ff00;
drawtext(currbarscount=gt-232 ,l,'233'),color00ff00;
drawtext(currbarscount=gt-376 ,l,'377'),color00ff00;
drawtext(currbarscount=dt-2,h,'3'),drawabove,colorred;
drawtext(currbarscount=dt-4,h,'5'),drawabove,colorred;
drawtext(currbarscount=dt-7,h,'8'),drawabove,colorred;
drawtext(currbarscount=dt-12,h,'13'),drawabove,colorred;
drawtext(currbarscount=dt-20,h,'21'),drawabove,colorred;
drawtext(currbarscount=dt-33,h,'34'),drawabove,colorred;
drawtext(currbarscount=dt-54,h,'55'),drawabove,colorred;
drawtext(currbarscount=dt-88,h,'89'),drawabove,colorred;
drawtext(currbarscount=dt-143,h,'144'),drawabove,colorred;
drawtext(currbarscount=dt-232,h,'233'),drawabove,colorred;
drawtext(currbarscount=dt-376,h,'377'),drawabove,colorred;
{幅度尺}
a1:=ztprice(ref(sl,1),0.1);
a2:=ztprice(ref(a1,1),0.1);
a3:=ztprice(ref(a2,1),0.1);
a4:=ztprice(ref(a3,1),0.1);
a5:=ztprice(ref(a4,1),0.1);
a6:=ztprice(ref(a5,1),0.1);
a7:=ztprice(ref(a6,1),0.1);
a8:=ztprice(ref(a7,1),0.1);
a9:=ztprice(ref(a8,1),0.1);
a10:=ztprice(ref(a9,1),0.1);
a11:=ztprice(ref(a10,1),0.1);
a12:=ztprice(ref(a11,1),0.1);
a13:=ztprice(ref(a12,1),0.1);
a14:=ztprice(ref(a13,1),0.1);
a15:=ztprice(ref(a14,1),0.1);
a16:=ztprice(ref(a15,1),0.1);
a17:=ztprice(ref(a16,1),0.1);
a18:=ztprice(ref(a17,1),0.1);
a19:=ztprice(ref(a18,1),0.1);
a20:=ztprice(ref(a19,1),0.1);
a21:=ztprice(ref(a20,1),0.1);
a22:=ztprice(ref(a21,1),0.1);
a23:=ztprice(ref(a22,1),0.1);
a24:=ztprice(ref(a23,1),0.1);
a25:=ztprice(ref(a24,1),0.1);
a26:=ztprice(ref(a25,1),0.1);
a27:=ztprice(ref(a26,1),0.1);
a28:=ztprice(ref(a27,1),0.1);
a29:=ztprice(ref(a28,1),0.1);
a30:=ztprice(ref(a29,1),0.1);
a31:=ztprice(ref(a30,1),0.1);
a32:=ztprice(ref(a31,1),0.1);
stickline(currbarscount=dt,sh,sl,0,-1),colorred;
stickline(currbarscount=gt,sh,sl,0,-1),colorgreen;
drawtext(currbarscount=dt ,(sl+a1)/2,日期),coloryellow;
drawtext(currbarscount=gt ,gd*0.97,日期),coloryellow;
drawtext(currbarscount=gt,sh-sh*0.1,'一10%'),colorblue;
drawtext(currbarscount=gt,sh-sh*0.15,'一15%'),colorcyan;
drawtext(currbarscount=gt,sh-sh*0.2,'一20%'),colorgreen;
drawtext(currbarscount=gt,sh-sh*0.3,'一30%'),colorwhite;
drawtext(currbarscount=gt,sh-sh*0.4,'一40%'),coloryellow;
drawtext(currbarscount=gt,sh-sh*0.5,'一50%'),colorred;
drawtext(currbarscount=gt,sh-sh*0.6,'一60%'),colorlimagenta;
drawtext(currbarscount=gt,sh-sh*0.7,'一70%'),colormagenta;
drawtext(currbarscount=gt,sh-sh*0.8,'一80%'),colorwhite;
drawtext(currbarscount=gt,sh-sh*0.9,'一90%'),colorgreen;
drawtext(currbarscount=dt,a1,strcat('一 ',con2str(a1,2)));
drawtext(currbarscount=dt,a2,strcat('一 ',con2str(a2,2)));
drawtext(currbarscount=dt,a3,strcat('一 ',con2str(a3,2)));
drawtext(currbarscount=dt,a4,strcat('一 ',con2str(a4,2)));
drawtext(currbarscount=dt,a5,strcat('一 ',con2str(a5,2)));
drawtext(currbarscount=dt,a6,strcat('一 ',con2str(a6,2)));
drawtext(currbarscount=dt,a7,strcat('一 ',con2str(a7,2)));
drawtext(currbarscount=dt,a8,strcat('一 ',con2str(a8,2)));
drawtext(currbarscount=dt,a9,strcat('一 ',con2str(a9,2))),colorred;
drawtext(currbarscount=dt,a10,strcat('一 ',con2str(a10,2))),colorred;
drawtext(currbarscount=dt,a11,strcat('一 ',con2str(a11,2))),colorred;
drawtext(currbarscount=dt,a12,strcat('一 ',con2str(a12,2))),colorred;
drawtext(currbarscount=dt,a13,strcat('一 ',con2str(a13,2))),colorred;
drawtext(currbarscount=dt,a14,strcat('一 ',con2str(a14,2))),colorred;
drawtext(currbarscount=dt,a15,strcat('一 ',con2str(a15,2))),colorred;
drawtext(currbarscount=dt,a16,strcat('一 ',con2str(a16,2))),colorred;
drawtext(currbarscount=dt,a17,strcat('一 ',con2str(a17,2))),coloryellow;
drawtext(currbarscount=dt,a18,strcat('一 ',con2str(a18,2))),coloryellow;
drawtext(currbarscount=dt,a19,strcat('一 ',con2str(a19,2))),coloryellow;
drawtext(currbarscount=dt,a20,strcat('一 ',con2str(a20,2))),coloryellow;
drawtext(currbarscount=dt,a21,strcat('一 ',con2str(a21,2))),coloryellow;
drawtext(currbarscount=dt,a22,strcat('一 ',con2str(a22,2))),coloryellow;
drawtext(currbarscount=dt,a23,strcat('一 ',con2str(a23,2))),coloryellow;
drawtext(currbarscount=dt,a24,strcat('一 ',con2str(a24,2))),coloryellow;
drawtext(currbarscount=dt,a25,strcat('一 ',con2str(a25,2))),colorgreen;
drawtext(currbarscount=dt,a26,strcat('一 ',con2str(a26,2))),colorgreen;
drawtext(currbarscount=dt,a27,strcat('一 ',con2str(a27,2))),colorgreen;
drawtext(currbarscount=dt,a28,strcat('一 ',con2str(a28,2))),colorgreen;
drawtext(currbarscount=dt,a29,strcat('一 ',con2str(a29,2))),colorgreen;
drawtext(currbarscount=dt,a30,strcat('一 ',con2str(a30,2))),colorgreen;
drawtext(currbarscount=dt,a31,strcat('一 ',con2str(a31,2))),colorgreen;
drawtext(currbarscount=dt,a32,strcat('一 ',con2str(a32,2))),colorgreen;
上一指标公式:操盘手的操盘思路和方法指标下载 通达信操盘
下一指标公式:rsi压力支撑指标副图版下载 通达信指标支撑
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文百分等比尺(主图指标源码)下载 通达信等比尺源码仅供学习研究。