UZ百分比线是怎么样的?如下图所示,通过股票的上涨幅度,画出显影的角度线,这样我们就可以看清股票走势的压力与支撑,它与我们赢家江恩的软件江恩角度线是相似的。但是又是不同的。如下图所示。
【UZ百分比线公式源码】
M:=(SYSPARAM(4)-SYSPARAM(5))/(SYSPARAM(3)-SYSPARAM(2));
QD:=SYSPARAM(2);
CCC:=IF(BARPOS=SYSPARAM(1),CLOSE,0);
KXS:=QD+2=BARSCOUNT(CLOSE);
DDD:=SYSPARAM(5);
HD:=SYSPARAM(4);
VAR1:=HD-DDD;
HH:HD,LINETHICK2,colorFF;
B2:HH-VAR1*0.25,POINTDOT,LINETHICK2,color8000;
B4:HH-VAR1*0.375,POINTDOT,LINETHICK2,color8000;
B5:HH-VAR1*0.5,POINTDOT,LINETHICK2,colorFF;
B6:HH-VAR1*0.625,POINTDOT,LINETHICK2,color8000;
B8:HH-VAR1*0.75,POINTDOT,LINETHICK2,color8000;
LL:DDD,LINETHICK2,colorFF;
DRAWNUMBER(ISLASTBAR,B2,B2,2),SHIFT1,color8000;
DRAWNUMBER(ISLASTBAR,B4,B4,2),SHIFT1,color8000;
DRAWNUMBER(ISLASTBAR,B5,B5,2),SHIFT1,colorFF;
DRAWNUMBER(ISLASTBAR,B6,B6,2),SHIFT1,color8000;
DRAWNUMBER(ISLASTBAR,B8,B8,2),SHIFT1,color8000;
DRAWTEXT(KXS,B2,'+75.0 -25.0'),color8000;
DRAWTEXT(KXS,B4,'+62.5 -37.5'),color8000;
DRAWTEXT(KXS,B5,'+ -50.0 %'),colorFF;
DRAWTEXT(KXS,B6,'+37.5 -62.5'),color8000;
DRAWTEXT(KXS,B8,'+25.0 -75.0'),color8000;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),HD,-80*M/50,0,0),LINETHICK1,colorFFFF;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),LOW,26*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),LOW,47*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),LOW,80*M/50,0,0),LINETHICK1,colorFFFF;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),LOW,135*M/50,0,0),LINETHICK1,colorFFFF;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),LOW,240*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),HIGH,-240*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),HIGH,-135*M/50,0,0),LINETHICK1,colorFF0000;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),HIGH,-80*M/50,0,0),LINETHICK1,colorFF0000;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),HIGH,-47*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),HIGH,-26*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),DDD,80*M/50,0,0),LINETHICK1,colorFF0000;
A:=SYSPARAM(1);
VERTLINE(BARPOS=A),POINTDOT,SHIFT13,color8000;
VERTLINE(BARPOS=A),POINTDOT,SHIFT21,color8000;
VERTLINE(BARPOS=A),POINTDOT,SHIFT34,color8000;
VERTLINE(BARPOS=A),POINTDOT,SHIFT55,color8000;
VERTLINE(BARPOS=A),POINTDOT,SHIFT89,color8000;
VERTLINE(BARPOS=A),POINTDOT,SHIFT144,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'天数'),ALIGN2,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'13'),SHIFT13,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'21'),SHIFT21,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'34'),SHIFT34,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'55'),SHIFT55,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'89'),SHIFT89,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'144'),SHIFT144,color8000;
以上就是UZ百分比线股票公式源码,相信大家通过一些软件的编辑,能够很好的运用软件,如若您想要了解股票开盘时间可点击进入,最后预祝大家投资愉快。
上一篇:股票乾坤三牛指标的源码解析
下一篇:股票一箭三雕指标用法及公式
服务中心:郑州市金水区农业路经三路
邮编:450002 网址:www.yingjia360.com
销售热线:0371-65350319
技术支持:13333833889